Skip to content

Commit 703af74

Browse files
- Remove InstAliases for the LSUI instructions
1 parent f68a415 commit 703af74

File tree

4 files changed

+21
-178
lines changed

4 files changed

+21
-178
lines changed

llvm/lib/Target/AArch64/AArch64InstrFormats.td

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12529,26 +12529,19 @@ multiclass STOPregister<string asm, string instr> {
1252912529
!cast<Instruction>(instr # "X")>;
1253012530
}
1253112531

12532+
let Predicates = [HasLSUI] in
1253212533
class BaseSTOPregisterLSUI<string asm, RegisterClass OP, Register Reg,
1253312534
Instruction inst> :
12534-
InstAlias<asm # "\t$Rs, [$Rn]", (inst Reg, OP:$Rs, GPR64sp:$Rn)>;
12535+
InstAlias<asm # "\t$Rs, [$Rn]", (inst Reg, OP:$Rs, GPR64sp:$Rn), 0>;
1253512536

1253612537
multiclass STOPregisterLSUI<string asm, string instr> {
12537-
def : BaseSTOPregisterLSUI<asm # "a", GPR32, WZR,
12538-
!cast<Instruction>(instr # "W")>;
12539-
def : BaseSTOPregisterLSUI<asm # "a", GPR64, XZR,
12540-
!cast<Instruction>(instr # "X")>;
12541-
def : BaseSTOPregisterLSUI<asm # "l", GPR32, WZR,
12542-
!cast<Instruction>(instr # "W")>;
12543-
def : BaseSTOPregisterLSUI<asm # "l", GPR64, XZR,
12544-
!cast<Instruction>(instr # "X")>;
12545-
def : BaseSTOPregisterLSUI<asm # "al", GPR32, WZR,
12546-
!cast<Instruction>(instr # "W")>;
12547-
def : BaseSTOPregisterLSUI<asm # "al", GPR64, XZR,
12548-
!cast<Instruction>(instr # "X")>;
12549-
def : BaseSTOPregisterLSUI<asm, GPR32, WZR,
12538+
def : BaseSTOPregisterLSUI<asm # "l", GPR32, WZR,
12539+
!cast<Instruction>(instr # "LW")>;
12540+
def : BaseSTOPregisterLSUI<asm # "l", GPR64, XZR,
12541+
!cast<Instruction>(instr # "LX")>;
12542+
def : BaseSTOPregisterLSUI<asm, GPR32, WZR,
1255012543
!cast<Instruction>(instr # "W")>;
12551-
def : BaseSTOPregisterLSUI<asm, GPR64, XZR,
12544+
def : BaseSTOPregisterLSUI<asm, GPR64, XZR,
1255212545
!cast<Instruction>(instr # "X")>;
1255312546
}
1255412547

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2665,25 +2665,11 @@ defm CASLT : CompareAndSwapUnprivileged<0b11, 0, 1, "l">;
26652665
defm CASAT : CompareAndSwapUnprivileged<0b11, 1, 0, "a">;
26662666
defm CASALT : CompareAndSwapUnprivileged<0b11, 1, 1, "al">;
26672667

2668-
def : InstAlias<"cast $Rs, $Rt, [$Rn]", (CASX GPR64:$Rs, GPR64:$Rt, GPR64sp0:$Rn)>;
2669-
def : InstAlias<"caslt $Rs, $Rt, [$Rn]", (CASLX GPR64:$Rs, GPR64:$Rt, GPR64sp0:$Rn)>;
2670-
def : InstAlias<"casat $Rs, $Rt, [$Rn]", (CASAX GPR64:$Rs, GPR64:$Rt, GPR64sp0:$Rn)>;
2671-
def : InstAlias<"casalt $Rs, $Rt, [$Rn]", (CASALX GPR64:$Rs, GPR64:$Rt, GPR64sp0:$Rn)>;
2672-
26732668
// v9.6-a atomic CASPT
26742669
defm CASPT : CompareAndSwapPairUnprivileged<0b01, 0, 0, "">;
26752670
defm CASPLT : CompareAndSwapPairUnprivileged<0b01, 0, 1, "l">;
26762671
defm CASPAT : CompareAndSwapPairUnprivileged<0b01, 1, 0, "a">;
26772672
defm CASPALT : CompareAndSwapPairUnprivileged<0b01, 1, 1, "al">;
2678-
2679-
def : InstAlias<"caspt $Rs, $Rt, [$Rn]",
2680-
(CASPX XSeqPairClassOperand:$Rs, XSeqPairClassOperand:$Rt, GPR64sp0:$Rn)>;
2681-
def : InstAlias<"casplt $Rs, $Rt, [$Rn]",
2682-
(CASPLX XSeqPairClassOperand:$Rs, XSeqPairClassOperand:$Rt, GPR64sp0:$Rn)>;
2683-
def : InstAlias<"caspat $Rs, $Rt, [$Rn]",
2684-
(CASPAX XSeqPairClassOperand:$Rs, XSeqPairClassOperand:$Rt, GPR64sp0:$Rn)>;
2685-
def : InstAlias<"caspalt $Rs, $Rt, [$Rn]",
2686-
(CASPALX XSeqPairClassOperand:$Rs, XSeqPairClassOperand:$Rt, GPR64sp0:$Rn)>;
26872673
}
26882674

26892675
// v8.1 atomic SWP
@@ -2698,11 +2684,6 @@ let Predicates = [HasLSUI] in {
26982684
defm SWPTA : SwapLSUI<1, 0, "a">;
26992685
defm SWPTL : SwapLSUI<0, 1, "l">;
27002686
defm SWPTAL : SwapLSUI<1, 1, "al">;
2701-
2702-
def : MnemonicAlias<"swp", "swpt">;
2703-
def : MnemonicAlias<"swpa", "swpta">;
2704-
def : MnemonicAlias<"swpl", "swptl">;
2705-
def : MnemonicAlias<"swpal", "swptal">;
27062687
}
27072688

27082689
// v9.6-a unprivileged atomic LD<OP> (FEAT_LSUI)
@@ -4867,22 +4848,14 @@ let Predicates = [HasLSUI] in {
48674848
defm LDTXRW : LoadUnprivilegedLSUI<0b10, GPR32, "ldtxr">;
48684849
defm LDTXRX : LoadUnprivilegedLSUI<0b11, GPR64, "ldtxr">;
48694850

4870-
def : MnemonicAlias<"ldxr", "ldtxr">;
4871-
48724851
def LDATXRW : LoadExclusiveLSUI <0b10, 1, 1, GPR32, "ldatxr">;
48734852
def LDATXRX : LoadExclusiveLSUI <0b11, 1, 1, GPR64, "ldatxr">;
48744853

4875-
def : MnemonicAlias<"ldaxr", "ldatxr">;
4876-
48774854
defm STTXRW : StoreUnprivilegedLSUI<0b10, GPR32, "sttxr">;
48784855
defm STTXRX : StoreUnprivilegedLSUI<0b11, GPR64, "sttxr">;
48794856

4880-
def : MnemonicAlias<"stxr", "sttxr">;
4881-
48824857
def STLTXRW : StoreExclusiveLSUI<0b10, 0, 1, GPR32, "stltxr">;
48834858
def STLTXRX : StoreExclusiveLSUI<0b11, 0, 1, GPR64, "stltxr">;
4884-
4885-
def : MnemonicAlias<"stlxr", "stltxr">;
48864859
}
48874860

48884861
//===----------------------------------------------------------------------===//

llvm/test/MC/AArch64/armv8.1a-lse.s

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: FileCheck -check-prefix=CHECK-ERROR < %t %s
99
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8r -show-encoding < %s 2> %t | FileCheck %s
1010
// RUN: FileCheck -check-prefix=CHECK-ERROR < %t %s
11-
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a,+lse,+lsui -show-encoding < %s 2> %t | FileCheck %s -check-prefix=CHECK-FEAT-LSUI
11+
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a,+lse,+lsui -show-encoding < %s 2> %t | FileCheck %s
1212
// RUN: FileCheck -check-prefix=CHECK-ERROR < %t %s
1313
.text
1414

@@ -80,15 +80,6 @@
8080
// CHECK: casal x0, x1, [x2] // encoding: [0x41,0xfc,0xe0,0xc8]
8181
// CHECK: casal x2, x3, [sp] // encoding: [0xe3,0xff,0xe2,0xc8]
8282

83-
// CHECK-FEAT-LSUI: cast x0, x1, [x2] // encoding: [0x41,0x7c,0xa0,0xc8]
84-
// CHECK-FEAT-LSUI: cast x2, x3, [sp] // encoding: [0xe3,0x7f,0xa2,0xc8]
85-
// CHECK-FEAT-LSUI: casat x0, x1, [x2] // encoding: [0x41,0x7c,0xe0,0xc8]
86-
// CHECK-FEAT-LSUI: casat x2, x3, [sp] // encoding: [0xe3,0x7f,0xe2,0xc8]
87-
// CHECK-FEAT-LSUI: caslt x0, x1, [x2] // encoding: [0x41,0xfc,0xa0,0xc8]
88-
// CHECK-FEAT-LSUI: caslt x2, x3, [sp] // encoding: [0xe3,0xff,0xa2,0xc8]
89-
// CHECK-FEAT-LSUI: casalt x0, x1, [x2] // encoding: [0x41,0xfc,0xe0,0xc8]
90-
// CHECK-FEAT-LSUI: casalt x2, x3, [sp] // encoding: [0xe3,0xff,0xe2,0xc8]
91-
9283
swp w0, w1, [x2]
9384
swp w2, w3, [sp]
9485
swpa w0, w1, [x2]
@@ -106,15 +97,6 @@
10697
// CHECK: swpal w0, w1, [x2] // encoding: [0x41,0x80,0xe0,0xb8]
10798
// CHECK: swpal w2, w3, [sp] // encoding: [0xe3,0x83,0xe2,0xb8]
10899

109-
// CHECK-FEAT-LSUI: swpt w0, w1, [x2] // encoding: [0x41,0x84,0x20,0x19]
110-
// CHECK-FEAT-LSUI: swpt w2, w3, [sp] // encoding: [0xe3,0x87,0x22,0x19]
111-
// CHECK-FEAT-LSUI: swpta w0, w1, [x2] // encoding: [0x41,0x84,0xa0,0x19]
112-
// CHECK-FEAT-LSUI: swpta w2, w3, [sp] // encoding: [0xe3,0x87,0xa2,0x19]
113-
// CHECK-FEAT-LSUI: swptl w0, w1, [x2] // encoding: [0x41,0x84,0x60,0x19]
114-
// CHECK-FEAT-LSUI: swptl w2, w3, [sp] // encoding: [0xe3,0x87,0x62,0x19]
115-
// CHECK-FEAT-LSUI: swptal w0, w1, [x2] // encoding: [0x41,0x84,0xe0,0x19]
116-
// CHECK-FEAT-LSUI: swptal w2, w3, [sp] // encoding: [0xe3,0x87,0xe2,0x19]
117-
118100
swpb w0, w1, [x2]
119101
swpb w2, w3, [sp]
120102
swph w0, w1, [x2]
@@ -132,15 +114,6 @@
132114
// CHECK: swplb w0, w1, [x2] // encoding: [0x41,0x80,0x60,0x38]
133115
// CHECK: swplb w2, w3, [sp] // encoding: [0xe3,0x83,0x62,0x38]
134116

135-
// CHECK-FEAT-LSUI: swpt x0, x1, [x2] // encoding: [0x41,0x84,0x20,0x59]
136-
// CHECK-FEAT-LSUI: swpt x2, x3, [sp] // encoding: [0xe3,0x87,0x22,0x59]
137-
// CHECK-FEAT-LSUI: swpta x0, x1, [x2] // encoding: [0x41,0x84,0xa0,0x59]
138-
// CHECK-FEAT-LSUI: swpta x2, x3, [sp] // encoding: [0xe3,0x87,0xa2,0x59]
139-
// CHECK-FEAT-LSUI: swptl x0, x1, [x2] // encoding: [0x41,0x84,0x60,0x59]
140-
// CHECK-FEAT-LSUI: swptl x2, x3, [sp] // encoding: [0xe3,0x87,0x62,0x59]
141-
// CHECK-FEAT-LSUI: swptal x0, x1, [x2] // encoding: [0x41,0x84,0xe0,0x59]
142-
// CHECK-FEAT-LSUI: swptal x2, x3, [sp] // encoding: [0xe3,0x87,0xe2,0x59]
143-
144117
swpalb w0, w1, [x2]
145118
swpalb w2, w3, [sp]
146119
swpah w0, w1, [x2]
@@ -192,15 +165,6 @@
192165
// CHECK: caspa x0, x1, x2, x3, [x2] // encoding: [0x42,0x7c,0x60,0x48]
193166
// CHECK: caspa x4, x5, x6, x7, [sp] // encoding: [0xe6,0x7f,0x64,0x48]
194167

195-
// CHECK-FEAT-LSUI: casp w0, w1, w2, w3, [x5] // encoding: [0xa2,0x7c,0x20,0x08]
196-
// CHECK-FEAT-LSUI: casp w4, w5, w6, w7, [sp] // encoding: [0xe6,0x7f,0x24,0x08]
197-
// CHECK-FEAT-LSUI: caspt x0, x1, x2, x3, [x2] // encoding: [0x42,0x7c,0x20,0x48]
198-
// CHECK-FEAT-LSUI: caspt x4, x5, x6, x7, [sp] // encoding: [0xe6,0x7f,0x24,0x48]
199-
// CHECK-FEAT-LSUI: caspa w0, w1, w2, w3, [x5] // encoding: [0xa2,0x7c,0x60,0x08]
200-
// CHECK-FEAT-LSUI: caspa w4, w5, w6, w7, [sp] // encoding: [0xe6,0x7f,0x64,0x08]
201-
// CHECK-FEAT-LSUI: caspat x0, x1, x2, x3, [x2] // encoding: [0x42,0x7c,0x60,0x48]
202-
// CHECK-FEAT-LSUI: caspat x4, x5, x6, x7, [sp] // encoding: [0xe6,0x7f,0x64,0x48]
203-
204168
caspl w0, w1, w2, w3, [x5]
205169
caspl w4, w5, w6, w7, [sp]
206170
caspl x0, x1, x2, x3, [x2]
@@ -218,15 +182,6 @@
218182
// CHECK: caspal x0, x1, x2, x3, [x2] // encoding: [0x42,0xfc,0x60,0x48]
219183
// CHECK: caspal x4, x5, x6, x7, [sp] // encoding: [0xe6,0xff,0x64,0x48]
220184

221-
// CHECK-FEAT-LSUI: caspl w0, w1, w2, w3, [x5] // encoding: [0xa2,0xfc,0x20,0x08]
222-
// CHECK-FEAT-LSUI: caspl w4, w5, w6, w7, [sp] // encoding: [0xe6,0xff,0x24,0x08]
223-
// CHECK-FEAT-LSUI: casplt x0, x1, x2, x3, [x2] // encoding: [0x42,0xfc,0x20,0x48]
224-
// CHECK-FEAT-LSUI: casplt x4, x5, x6, x7, [sp] // encoding: [0xe6,0xff,0x24,0x48]
225-
// CHECK-FEAT-LSUI: caspal w0, w1, w2, w3, [x5] // encoding: [0xa2,0xfc,0x60,0x08]
226-
// CHECK-FEAT-LSUI: caspal w4, w5, w6, w7, [sp] // encoding: [0xe6,0xff,0x64,0x08]
227-
// CHECK-FEAT-LSUI: caspalt x0, x1, x2, x3, [x2] // encoding: [0x42,0xfc,0x60,0x48]
228-
// CHECK-FEAT-LSUI: caspalt x4, x5, x6, x7, [sp] // encoding: [0xe6,0xff,0x64,0x48]
229-
230185
ldadd w0, w1, [x2]
231186
ldadd w2, w3, [sp]
232187
ldadda w0, w1, [x2]

llvm/test/MC/AArch64/armv9.6a-lsui.s

Lines changed: 12 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -313,42 +313,16 @@ _func:
313313
// ERROR: instruction requires: lsui
314314

315315
sttaddl w0, [x2]
316-
// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
316+
// CHECK: ldtaddl w0, wzr, [x2] // encoding: [0x5f,0x04,0x60,0x19]
317317
// ERROR: instruction requires: lsui
318318
sttaddl w2, [sp]
319-
// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
319+
// CHECK: ldtaddl w2, wzr, [sp] // encoding: [0xff,0x07,0x62,0x19]
320320
// ERROR: instruction requires: lsui
321321
sttaddl x0, [x2]
322-
// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
322+
// CHECK: ldtaddl x0, xzr, [x2] // encoding: [0x5f,0x04,0x60,0x59]
323323
// ERROR: instruction requires: lsui
324324
sttaddl x2, [sp]
325-
// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
326-
// ERROR: instruction requires: lsui
327-
328-
sttadda w0, [x2]
329-
// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
330-
// ERROR: instruction requires: lsui
331-
sttadda w2, [sp]
332-
// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
333-
// ERROR: instruction requires: lsui
334-
sttadda x0, [x2]
335-
// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
336-
// ERROR: instruction requires: lsui
337-
sttadda x2, [sp]
338-
// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
339-
// ERROR: instruction requires: lsui
340-
341-
sttaddal w0, [x2]
342-
// CHECK: ldtadd w0, wzr, [x2] // encoding: [0x5f,0x04,0x20,0x19]
343-
// ERROR: instruction requires: lsui
344-
sttaddal w2, [sp]
345-
// CHECK: ldtadd w2, wzr, [sp] // encoding: [0xff,0x07,0x22,0x19]
346-
// ERROR: instruction requires: lsui
347-
sttaddal x0, [x2]
348-
// CHECK: ldtadd x0, xzr, [x2] // encoding: [0x5f,0x04,0x20,0x59]
349-
// ERROR: instruction requires: lsui
350-
sttaddal x2, [sp]
351-
// CHECK: ldtadd x2, xzr, [sp] // encoding: [0xff,0x07,0x22,0x59]
325+
// CHECK: ldtaddl x2, xzr, [sp] // encoding: [0xff,0x07,0x62,0x59]
352326
// ERROR: instruction requires: lsui
353327

354328
sttclr w0, [x2]
@@ -362,45 +336,19 @@ _func:
362336
// ERROR: instruction requires: lsui
363337
sttclr x2, [sp]
364338
// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
365-
// ERROR: instruction requires: lsui
366-
367-
sttclra w0, [x2]
368-
// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
369-
// ERROR: instruction requires: lsui
370-
sttclra w2, [sp]
371-
// CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]
372-
// ERROR: instruction requires: lsui
373-
sttclra x0, [x2]
374-
// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
375-
// ERROR: instruction requires: lsui
376-
sttclra x2, [sp]
377-
// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
378339
// ERROR: instruction requires: lsui
379340

380341
sttclrl w0, [x2]
381-
// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
342+
// CHECK: ldtclrl w0, wzr, [x2] // encoding: [0x5f,0x14,0x60,0x19]
382343
// ERROR: instruction requires: lsui
383344
sttclrl w2, [sp]
384-
// CHECK: ldtclr w2, wzr, [sp] // encoding: [0xff,0x17,0x22,0x19]
345+
// CHECK: ldtclrl w2, wzr, [sp] // encoding: [0xff,0x17,0x62,0x19]
385346
// ERROR: instruction requires: lsui
386347
sttclrl x0, [x2]
387-
// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
348+
// CHECK: ldtclrl x0, xzr, [x2] // encoding: [0x5f,0x14,0x60,0x59]
388349
// ERROR: instruction requires: lsui
389350
sttclrl x2, [sp]
390-
// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
391-
// ERROR: instruction requires: lsui
392-
393-
sttclral w0, [x2]
394-
// CHECK: ldtclr w0, wzr, [x2] // encoding: [0x5f,0x14,0x20,0x19]
395-
// ERROR: instruction requires: lsui
396-
sttclral x2, [sp]
397-
// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
398-
// ERROR: instruction requires: lsui
399-
sttclral x0, [x2]
400-
// CHECK: ldtclr x0, xzr, [x2] // encoding: [0x5f,0x14,0x20,0x59]
401-
// ERROR: instruction requires: lsui
402-
sttclral x2, [sp]
403-
// CHECK: ldtclr x2, xzr, [sp] // encoding: [0xff,0x17,0x22,0x59]
351+
// CHECK: ldtclrl x2, xzr, [sp] // encoding: [0xff,0x17,0x62,0x59]
404352
// ERROR: instruction requires: lsui
405353

406354
sttset w0, [x2]
@@ -414,45 +362,19 @@ _func:
414362
// ERROR: instruction requires: lsui
415363
sttset x2, [sp]
416364
// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
417-
// ERROR: instruction requires: lsui
418-
419-
sttseta w0, [x2]
420-
// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
421-
// ERROR: instruction requires: lsui
422-
sttseta w2, [sp]
423-
// CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]
424-
// ERROR: instruction requires: lsui
425-
sttseta x0, [x2]
426-
// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
427-
// ERROR: instruction requires: lsui
428-
sttseta x2, [sp]
429-
// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
430365
// ERROR: instruction requires: lsui
431366

432367
sttsetl w0, [x2]
433-
// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
368+
// CHECK: ldtsetl w0, wzr, [x2] // encoding: [0x5f,0x34,0x60,0x19]
434369
// ERROR: instruction requires: lsui
435370
sttsetl w2, [sp]
436-
// CHECK: ldtset w2, wzr, [sp] // encoding: [0xff,0x37,0x22,0x19]
371+
// CHECK: ldtsetl w2, wzr, [sp] // encoding: [0xff,0x37,0x62,0x19]
437372
// ERROR: instruction requires: lsui
438373
sttsetl x0, [x2]
439-
// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
374+
// CHECK: ldtsetl x0, xzr, [x2] // encoding: [0x5f,0x34,0x60,0x59]
440375
// ERROR: instruction requires: lsui
441376
sttsetl x2, [sp]
442-
// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
443-
// ERROR: instruction requires: lsui
444-
445-
sttsetal w0, [x2]
446-
// CHECK: ldtset w0, wzr, [x2] // encoding: [0x5f,0x34,0x20,0x19]
447-
// ERROR: instruction requires: lsui
448-
sttsetal x2, [sp]
449-
// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
450-
// ERROR: instruction requires: lsui
451-
sttsetal x0, [x2]
452-
// CHECK: ldtset x0, xzr, [x2] // encoding: [0x5f,0x34,0x20,0x59]
453-
// ERROR: instruction requires: lsui
454-
sttsetal x2, [sp]
455-
// CHECK: ldtset x2, xzr, [sp] // encoding: [0xff,0x37,0x22,0x59]
377+
// CHECK: ldtsetl x2, xzr, [sp] // encoding: [0xff,0x37,0x62,0x59]
456378
// ERROR: instruction requires: lsui
457379

458380
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)