Skip to content

Commit da137bc

Browse files
committed
test msl
1 parent 538337c commit da137bc

File tree

2 files changed

+11
-1
lines changed
  • util/fipstools/delocate/testdata/aarch64-Basic

2 files changed

+11
-1
lines changed

util/fipstools/delocate/testdata/aarch64-Basic/in.s

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ foo:
9999
ld1d { z1.d }, p0/z, [x13, x11, lsl #3]
100100
ld1b { z11.b }, p15/z, [x10, #1, mul vl]
101101

102+
// Test msl special argument handling
103+
movi v0.2d, #0xff, msl #8
104+
movi v1.2d, #0x42, msl #16
105+
movi v2.2d, #0x1, msl #0
106+
102107
local_function:
103108

104109
// BSS data

util/fipstools/delocate/testdata/aarch64-Basic/out.s

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ foo:
127127
adr x10, .Llocal_data2
128128
// WAS ldr q0, [x10, :lo12:.Llocal_data2]
129129
ldr q0, [x10]
130-
130+
131131
// Load from local symbol with sign extension
132132
// WAS adrp x10, .Llocal_data2
133133
adr x10, .Llocal_data2
@@ -204,6 +204,11 @@ foo:
204204
ld1d { z1.d }, p0/z, [x13, x11, lsl #3]
205205
ld1b { z11.b }, p15/z, [x10, #1, mul vl]
206206

207+
// Test msl special argument handling - should remain unchanged
208+
movi v0.2d, #0xff, msl #8
209+
movi v1.2d, #0x42, msl #16
210+
movi v2.2d, #0x1, msl #0
211+
207212
.Llocal_function_local_target:
208213
local_function:
209214

0 commit comments

Comments
 (0)