1 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
+lse128
%s
2>%t | FileCheck
%s
2 // RUN
: FileCheck
%s
--input-file
=%t --check-prefix
=ERROR-INVALID-OP
3 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
%s
2>&1 | FileCheck
--check-prefix
=ERROR-NO-LSE128
%s
6 // CHECK
: ldclrp x1
, x2
, [x11
] // encoding
: [0x61,0x11,0x22,0x19]
7 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
9 // CHECK
: ldclrp x21
, x22
, [sp
] // encoding
: [0xf5,0x13,0x36,0x19]
10 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
12 // CHECK
: ldclrpa x1
, x2
, [x11
] // encoding
: [0x61,0x11,0xa2,0x19]
13 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
14 ldclrpa x21
, x22
, [sp
]
15 // CHECK
: ldclrpa x21
, x22
, [sp
] // encoding
: [0xf5,0x13,0xb6,0x19]
16 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
17 ldclrpal x1
, x2
, [x11
]
18 // CHECK
: ldclrpal x1
, x2
, [x11
] // encoding
: [0x61,0x11,0xe2,0x19]
19 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
20 ldclrpal x21
, x22
, [sp
]
21 // CHECK
: ldclrpal x21
, x22
, [sp
] // encoding
: [0xf5,0x13,0xf6,0x19]
22 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
24 // CHECK
: ldclrpl x1
, x2
, [x11
] // encoding
: [0x61,0x11,0x62,0x19]
25 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
26 ldclrpl x21
, x22
, [sp
]
27 // CHECK
: ldclrpl x21
, x22
, [sp
] // encoding
: [0xf5,0x13,0x76,0x19]
28 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
29 ldclrpl x22
, xzr
, [sp
]
30 // ERROR-INVALID-OP
: [[@LINE-
1]]:15: error
: invalid operand for instruction
31 // ERROR-NO-LSE128
: error
: invalid operand for instruction
32 ldclrpl xzr
, x22
, [sp
]
33 // ERROR-INVALID-OP
: [[@LINE-
1]]:10: error
: invalid operand for instruction
34 // ERROR-NO-LSE128
: error
: invalid operand for instruction
37 // CHECK
: ldsetp x1
, x2
, [x11
] // encoding
: [0x61,0x31,0x22,0x19]
38 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
40 // CHECK
: ldsetp x21
, x22
, [sp
] // encoding
: [0xf5,0x33,0x36,0x19]
41 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
43 // CHECK
: ldsetpa x1
, x2
, [x11
] // encoding
: [0x61,0x31,0xa2,0x19]
44 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
45 ldsetpa x21
, x22
, [sp
]
46 // CHECK
: ldsetpa x21
, x22
, [sp
] // encoding
: [0xf5,0x33,0xb6,0x19]
47 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
48 ldsetpal x1
, x2
, [x11
]
49 // CHECK
: ldsetpal x1
, x2
, [x11
] // encoding
: [0x61,0x31,0xe2,0x19]
50 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
51 ldsetpal x21
, x22
, [sp
]
52 // CHECK
: ldsetpal x21
, x22
, [sp
] // encoding
: [0xf5,0x33,0xf6,0x19]
53 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
55 // CHECK
: ldsetpl x1
, x2
, [x11
] // encoding
: [0x61,0x31,0x62,0x19]
56 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
57 ldsetpl x21
, x22
, [sp
]
58 // CHECK
: ldsetpl x21
, x22
, [sp
] // encoding
: [0xf5,0x33,0x76,0x19]
59 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
60 ldsetpl x22
, xzr
, [sp
]
61 // ERROR-INVALID-OP
: [[@LINE-
1]]:15: error
: invalid operand for instruction
62 // ERROR-NO-LSE128
: error
: invalid operand for instruction
63 ldsetpl xzr
, x22
, [sp
]
64 // ERROR-INVALID-OP
: [[@LINE-
1]]:10: error
: invalid operand for instruction
65 // ERROR-NO-LSE128
: error
: invalid operand for instruction
69 // CHECK
: swpp x1
, x2
, [x11
] // encoding
: [0x61,0x81,0x22,0x19]
70 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
72 // CHECK
: swpp x21
, x22
, [sp
] // encoding
: [0xf5,0x83,0x36,0x19]
73 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
75 // CHECK
: swppa x1
, x2
, [x11
] // encoding
: [0x61,0x81,0xa2,0x19]
76 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
78 // CHECK
: swppa x21
, x22
, [sp
] // encoding
: [0xf5,0x83,0xb6,0x19]
79 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
81 // CHECK
: swppal x1
, x2
, [x11
] // encoding
: [0x61,0x81,0xe2,0x19]
82 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
84 // CHECK
: swppal x21
, x22
, [sp
] // encoding
: [0xf5,0x83,0xf6,0x19]
85 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
87 // CHECK
: swppl x1
, x2
, [x11
] // encoding
: [0x61,0x81,0x62,0x19]
88 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
90 // CHECK
: swppl x21
, x22
, [sp
] // encoding
: [0xf5,0x83,0x76,0x19]
91 // ERROR-NO-LSE128
: [[@LINE-
2]]:1: error
: instruction requires
: lse128
93 // ERROR-INVALID-OP
: [[@LINE-
1]]:15: error
: invalid operand for instruction
94 // ERROR-NO-LSE128
: error
: invalid operand for instruction
96 // ERROR-INVALID-OP
: [[@LINE-
1]]:10: error
: invalid operand for instruction
97 // ERROR-NO-LSE128
: error
: invalid operand for instruction