1 // Tests for transactional memory extension instructions
2 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
=+tme
< %s
2>&1 | FileCheck
%s
5 // CHECK
: error
: too few operands for instruction
8 // CHECK
: error
: invalid operand for instruction
9 // CHECK-NEXT
: tstart x4
, x5
11 // CHECK
: error
: invalid operand for instruction
12 // CHECK-NEXT
: tstart x4
, #1
14 // CHECK
: error
: invalid operand for instruction
15 // CHECK-NEXT
: tstart sp
18 // CHECK
: error
: too few operands for instruction
21 // CHECK
: error
: invalid operand for instruction
22 // CHECK-NEXT
: ttest x4
, x5
24 // CHECK
: error
: invalid operand for instruction
25 // CHECK-NEXT
: ttest x4
, #1
27 // CHECK
: error
: invalid operand for instruction
28 // CHECK-NEXT
: ttest sp
31 // CHECK
: error
: invalid operand for instruction
32 // CHECK-NEXT
: tcommit x4
34 // CHECK
: error
: invalid operand for instruction
35 // CHECK-NEXT
: tcommit sp
39 // CHECK
: error
: too few operands for instruction
42 // CHECK
: error
: immediate must
be an integer in range
[0, 65535]
45 // CHECK
: error
: immediate must
be an integer in range
[0, 65535]
46 // CHECK-NEXT
: tcancel
#65536