llvm.org GIT mirror llvm / 8580e79
[SystemZ] Consolidate assembler tests into 4 big tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181878 91177308-0d34-0410-b5e6-96231b3b80d8 Richard Sandiford 7 years ago
609 changed file(s) with 9176 addition(s) and 10038 deletion(s). Raw diff Collapse all Expand all
+0
-17
test/MC/SystemZ/insn-a-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: a %r0, 0 # encoding: [0x5a,0x00,0x00,0x00]
3 #CHECK: a %r0, 4095 # encoding: [0x5a,0x00,0x0f,0xff]
4 #CHECK: a %r0, 0(%r1) # encoding: [0x5a,0x00,0x10,0x00]
5 #CHECK: a %r0, 0(%r15) # encoding: [0x5a,0x00,0xf0,0x00]
6 #CHECK: a %r0, 4095(%r1,%r15) # encoding: [0x5a,0x01,0xff,0xff]
7 #CHECK: a %r0, 4095(%r15,%r1) # encoding: [0x5a,0x0f,0x1f,0xff]
8 #CHECK: a %r15, 0 # encoding: [0x5a,0xf0,0x00,0x00]
9
10 a %r0, 0
11 a %r0, 4095
12 a %r0, 0(%r1)
13 a %r0, 0(%r15)
14 a %r0, 4095(%r1,%r15)
15 a %r0, 4095(%r15,%r1)
16 a %r15, 0
+0
-10
test/MC/SystemZ/insn-a-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: a %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: a %r0, 4096
7
8 a %r0, -1
9 a %r0, 4096
+0
-17
test/MC/SystemZ/insn-adb-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: adb %f0, 0 # encoding: [0xed,0x00,0x00,0x00,0x00,0x1a]
3 #CHECK: adb %f0, 4095 # encoding: [0xed,0x00,0x0f,0xff,0x00,0x1a]
4 #CHECK: adb %f0, 0(%r1) # encoding: [0xed,0x00,0x10,0x00,0x00,0x1a]
5 #CHECK: adb %f0, 0(%r15) # encoding: [0xed,0x00,0xf0,0x00,0x00,0x1a]
6 #CHECK: adb %f0, 4095(%r1,%r15) # encoding: [0xed,0x01,0xff,0xff,0x00,0x1a]
7 #CHECK: adb %f0, 4095(%r15,%r1) # encoding: [0xed,0x0f,0x1f,0xff,0x00,0x1a]
8 #CHECK: adb %f15, 0 # encoding: [0xed,0xf0,0x00,0x00,0x00,0x1a]
9
10 adb %f0, 0
11 adb %f0, 4095
12 adb %f0, 0(%r1)
13 adb %f0, 0(%r15)
14 adb %f0, 4095(%r1,%r15)
15 adb %f0, 4095(%r15,%r1)
16 adb %f15, 0
+0
-10
test/MC/SystemZ/insn-adb-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: adb %f0, -1
5 #CHECK: error: invalid operand
6 #CHECK: adb %f0, 4096
7
8 adb %f0, -1
9 adb %f0, 4096
+0
-11
test/MC/SystemZ/insn-adbr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: adbr %f0, %f0 # encoding: [0xb3,0x1a,0x00,0x00]
3 #CHECK: adbr %f0, %f15 # encoding: [0xb3,0x1a,0x00,0x0f]
4 #CHECK: adbr %f7, %f8 # encoding: [0xb3,0x1a,0x00,0x78]
5 #CHECK: adbr %f15, %f0 # encoding: [0xb3,0x1a,0x00,0xf0]
6
7 adbr %f0, %f0
8 adbr %f0, %f15
9 adbr %f7, %f8
10 adbr %f15, %f0
+0
-17
test/MC/SystemZ/insn-aeb-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: aeb %f0, 0 # encoding: [0xed,0x00,0x00,0x00,0x00,0x0a]
3 #CHECK: aeb %f0, 4095 # encoding: [0xed,0x00,0x0f,0xff,0x00,0x0a]
4 #CHECK: aeb %f0, 0(%r1) # encoding: [0xed,0x00,0x10,0x00,0x00,0x0a]
5 #CHECK: aeb %f0, 0(%r15) # encoding: [0xed,0x00,0xf0,0x00,0x00,0x0a]
6 #CHECK: aeb %f0, 4095(%r1,%r15) # encoding: [0xed,0x01,0xff,0xff,0x00,0x0a]
7 #CHECK: aeb %f0, 4095(%r15,%r1) # encoding: [0xed,0x0f,0x1f,0xff,0x00,0x0a]
8 #CHECK: aeb %f15, 0 # encoding: [0xed,0xf0,0x00,0x00,0x00,0x0a]
9
10 aeb %f0, 0
11 aeb %f0, 4095
12 aeb %f0, 0(%r1)
13 aeb %f0, 0(%r15)
14 aeb %f0, 4095(%r1,%r15)
15 aeb %f0, 4095(%r15,%r1)
16 aeb %f15, 0
+0
-10
test/MC/SystemZ/insn-aeb-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: aeb %f0, -1
5 #CHECK: error: invalid operand
6 #CHECK: aeb %f0, 4096
7
8 aeb %f0, -1
9 aeb %f0, 4096
+0
-11
test/MC/SystemZ/insn-aebr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: aebr %f0, %f0 # encoding: [0xb3,0x0a,0x00,0x00]
3 #CHECK: aebr %f0, %f15 # encoding: [0xb3,0x0a,0x00,0x0f]
4 #CHECK: aebr %f7, %f8 # encoding: [0xb3,0x0a,0x00,0x78]
5 #CHECK: aebr %f15, %f0 # encoding: [0xb3,0x0a,0x00,0xf0]
6
7 aebr %f0, %f0
8 aebr %f0, %f15
9 aebr %f7, %f8
10 aebr %f15, %f0
+0
-15
test/MC/SystemZ/insn-afi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: afi %r0, -2147483648 # encoding: [0xc2,0x09,0x80,0x00,0x00,0x00]
3 #CHECK: afi %r0, -1 # encoding: [0xc2,0x09,0xff,0xff,0xff,0xff]
4 #CHECK: afi %r0, 0 # encoding: [0xc2,0x09,0x00,0x00,0x00,0x00]
5 #CHECK: afi %r0, 1 # encoding: [0xc2,0x09,0x00,0x00,0x00,0x01]
6 #CHECK: afi %r0, 2147483647 # encoding: [0xc2,0x09,0x7f,0xff,0xff,0xff]
7 #CHECK: afi %r15, 0 # encoding: [0xc2,0xf9,0x00,0x00,0x00,0x00]
8
9 afi %r0, -1 << 31
10 afi %r0, -1
11 afi %r0, 0
12 afi %r0, 1
13 afi %r0, (1 << 31) - 1
14 afi %r15, 0
+0
-10
test/MC/SystemZ/insn-afi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: afi %r0, (-1 << 31) - 1
5 #CHECK: error: invalid operand
6 #CHECK: afi %r0, (1 << 31)
7
8 afi %r0, (-1 << 31) - 1
9 afi %r0, (1 << 31)
+0
-23
test/MC/SystemZ/insn-ag-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ag %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x08]
3 #CHECK: ag %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x08]
4 #CHECK: ag %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x08]
5 #CHECK: ag %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x08]
6 #CHECK: ag %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x08]
7 #CHECK: ag %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x08]
8 #CHECK: ag %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x08]
9 #CHECK: ag %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x08]
10 #CHECK: ag %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x08]
11 #CHECK: ag %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x08]
12
13 ag %r0, -524288
14 ag %r0, -1
15 ag %r0, 0
16 ag %r0, 1
17 ag %r0, 524287
18 ag %r0, 0(%r1)
19 ag %r0, 0(%r15)
20 ag %r0, 524287(%r1,%r15)
21 ag %r0, 524287(%r15,%r1)
22 ag %r15, 0
+0
-10
test/MC/SystemZ/insn-ag-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: ag %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: ag %r0, 524288
7
8 ag %r0, -524289
9 ag %r0, 524288
+0
-23
test/MC/SystemZ/insn-agf-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: agf %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x18]
3 #CHECK: agf %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x18]
4 #CHECK: agf %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x18]
5 #CHECK: agf %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x18]
6 #CHECK: agf %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x18]
7 #CHECK: agf %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x18]
8 #CHECK: agf %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x18]
9 #CHECK: agf %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x18]
10 #CHECK: agf %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x18]
11 #CHECK: agf %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x18]
12
13 agf %r0, -524288
14 agf %r0, -1
15 agf %r0, 0
16 agf %r0, 1
17 agf %r0, 524287
18 agf %r0, 0(%r1)
19 agf %r0, 0(%r15)
20 agf %r0, 524287(%r1,%r15)
21 agf %r0, 524287(%r15,%r1)
22 agf %r15, 0
+0
-10
test/MC/SystemZ/insn-agf-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: agf %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: agf %r0, 524288
7
8 agf %r0, -524289
9 agf %r0, 524288
+0
-15
test/MC/SystemZ/insn-agfi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: agfi %r0, -2147483648 # encoding: [0xc2,0x08,0x80,0x00,0x00,0x00]
3 #CHECK: agfi %r0, -1 # encoding: [0xc2,0x08,0xff,0xff,0xff,0xff]
4 #CHECK: agfi %r0, 0 # encoding: [0xc2,0x08,0x00,0x00,0x00,0x00]
5 #CHECK: agfi %r0, 1 # encoding: [0xc2,0x08,0x00,0x00,0x00,0x01]
6 #CHECK: agfi %r0, 2147483647 # encoding: [0xc2,0x08,0x7f,0xff,0xff,0xff]
7 #CHECK: agfi %r15, 0 # encoding: [0xc2,0xf8,0x00,0x00,0x00,0x00]
8
9 agfi %r0, -1 << 31
10 agfi %r0, -1
11 agfi %r0, 0
12 agfi %r0, 1
13 agfi %r0, (1 << 31) - 1
14 agfi %r15, 0
+0
-10
test/MC/SystemZ/insn-agfi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: agfi %r0, (-1 << 31) - 1
5 #CHECK: error: invalid operand
6 #CHECK: agfi %r0, (1 << 31)
7
8 agfi %r0, (-1 << 31) - 1
9 agfi %r0, (1 << 31)
+0
-11
test/MC/SystemZ/insn-agfr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: agfr %r0, %r0 # encoding: [0xb9,0x18,0x00,0x00]
3 #CHECK: agfr %r0, %r15 # encoding: [0xb9,0x18,0x00,0x0f]
4 #CHECK: agfr %r15, %r0 # encoding: [0xb9,0x18,0x00,0xf0]
5 #CHECK: agfr %r7, %r8 # encoding: [0xb9,0x18,0x00,0x78]
6
7 agfr %r0,%r0
8 agfr %r0,%r15
9 agfr %r15,%r0
10 agfr %r7,%r8
+0
-15
test/MC/SystemZ/insn-aghi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: aghi %r0, -32768 # encoding: [0xa7,0x0b,0x80,0x00]
3 #CHECK: aghi %r0, -1 # encoding: [0xa7,0x0b,0xff,0xff]
4 #CHECK: aghi %r0, 0 # encoding: [0xa7,0x0b,0x00,0x00]
5 #CHECK: aghi %r0, 1 # encoding: [0xa7,0x0b,0x00,0x01]
6 #CHECK: aghi %r0, 32767 # encoding: [0xa7,0x0b,0x7f,0xff]
7 #CHECK: aghi %r15, 0 # encoding: [0xa7,0xfb,0x00,0x00]
8
9 aghi %r0, -32768
10 aghi %r0, -1
11 aghi %r0, 0
12 aghi %r0, 1
13 aghi %r0, 32767
14 aghi %r15, 0
+0
-13
test/MC/SystemZ/insn-aghi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: aghi %r0, -32769
5 #CHECK: error: invalid operand
6 #CHECK: aghi %r0, 32768
7 #CHECK: error: invalid operand
8 #CHECK: aghi %r0, foo
9
10 aghi %r0, -32769
11 aghi %r0, 32768
12 aghi %r0, foo
+0
-11
test/MC/SystemZ/insn-agr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: agr %r0, %r0 # encoding: [0xb9,0x08,0x00,0x00]
3 #CHECK: agr %r0, %r15 # encoding: [0xb9,0x08,0x00,0x0f]
4 #CHECK: agr %r15, %r0 # encoding: [0xb9,0x08,0x00,0xf0]
5 #CHECK: agr %r7, %r8 # encoding: [0xb9,0x08,0x00,0x78]
6
7 agr %r0,%r0
8 agr %r0,%r15
9 agr %r15,%r0
10 agr %r7,%r8
+0
-29
test/MC/SystemZ/insn-agsi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: agsi -524288, 0 # encoding: [0xeb,0x00,0x00,0x00,0x80,0x7a]
3 #CHECK: agsi -1, 0 # encoding: [0xeb,0x00,0x0f,0xff,0xff,0x7a]
4 #CHECK: agsi 0, 0 # encoding: [0xeb,0x00,0x00,0x00,0x00,0x7a]
5 #CHECK: agsi 1, 0 # encoding: [0xeb,0x00,0x00,0x01,0x00,0x7a]
6 #CHECK: agsi 524287, 0 # encoding: [0xeb,0x00,0x0f,0xff,0x7f,0x7a]
7 #CHECK: agsi 0, -128 # encoding: [0xeb,0x80,0x00,0x00,0x00,0x7a]
8 #CHECK: agsi 0, -1 # encoding: [0xeb,0xff,0x00,0x00,0x00,0x7a]
9 #CHECK: agsi 0, 1 # encoding: [0xeb,0x01,0x00,0x00,0x00,0x7a]
10 #CHECK: agsi 0, 127 # encoding: [0xeb,0x7f,0x00,0x00,0x00,0x7a]
11 #CHECK: agsi 0(%r1), 42 # encoding: [0xeb,0x2a,0x10,0x00,0x00,0x7a]
12 #CHECK: agsi 0(%r15), 42 # encoding: [0xeb,0x2a,0xf0,0x00,0x00,0x7a]
13 #CHECK: agsi 524287(%r1), 42 # encoding: [0xeb,0x2a,0x1f,0xff,0x7f,0x7a]
14 #CHECK: agsi 524287(%r15), 42 # encoding: [0xeb,0x2a,0xff,0xff,0x7f,0x7a]
15
16 agsi -524288, 0
17 agsi -1, 0
18 agsi 0, 0
19 agsi 1, 0
20 agsi 524287, 0
21 agsi 0, -128
22 agsi 0, -1
23 agsi 0, 1
24 agsi 0, 127
25 agsi 0(%r1), 42
26 agsi 0(%r15), 42
27 agsi 524287(%r1), 42
28 agsi 524287(%r15), 42
+0
-19
test/MC/SystemZ/insn-agsi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: agsi -524289, 0
5 #CHECK: error: invalid operand
6 #CHECK: agsi 524288, 0
7 #CHECK: error: invalid use of indexed addressing
8 #CHECK: agsi 0(%r1,%r2), 0
9 #CHECK: error: invalid operand
10 #CHECK: agsi 0, -129
11 #CHECK: error: invalid operand
12 #CHECK: agsi 0, 128
13
14 agsi -524289, 0
15 agsi 524288, 0
16 agsi 0(%r1,%r2), 0
17 agsi 0, -129
18 agsi 0, 128
+0
-17
test/MC/SystemZ/insn-ah-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ah %r0, 0 # encoding: [0x4a,0x00,0x00,0x00]
3 #CHECK: ah %r0, 4095 # encoding: [0x4a,0x00,0x0f,0xff]
4 #CHECK: ah %r0, 0(%r1) # encoding: [0x4a,0x00,0x10,0x00]
5 #CHECK: ah %r0, 0(%r15) # encoding: [0x4a,0x00,0xf0,0x00]
6 #CHECK: ah %r0, 4095(%r1,%r15) # encoding: [0x4a,0x01,0xff,0xff]
7 #CHECK: ah %r0, 4095(%r15,%r1) # encoding: [0x4a,0x0f,0x1f,0xff]
8 #CHECK: ah %r15, 0 # encoding: [0x4a,0xf0,0x00,0x00]
9
10 ah %r0, 0
11 ah %r0, 4095
12 ah %r0, 0(%r1)
13 ah %r0, 0(%r15)
14 ah %r0, 4095(%r1,%r15)
15 ah %r0, 4095(%r15,%r1)
16 ah %r15, 0
+0
-10
test/MC/SystemZ/insn-ah-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: ah %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: ah %r0, 4096
7
8 ah %r0, -1
9 ah %r0, 4096
+0
-15
test/MC/SystemZ/insn-ahi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ahi %r0, -32768 # encoding: [0xa7,0x0a,0x80,0x00]
3 #CHECK: ahi %r0, -1 # encoding: [0xa7,0x0a,0xff,0xff]
4 #CHECK: ahi %r0, 0 # encoding: [0xa7,0x0a,0x00,0x00]
5 #CHECK: ahi %r0, 1 # encoding: [0xa7,0x0a,0x00,0x01]
6 #CHECK: ahi %r0, 32767 # encoding: [0xa7,0x0a,0x7f,0xff]
7 #CHECK: ahi %r15, 0 # encoding: [0xa7,0xfa,0x00,0x00]
8
9 ahi %r0, -32768
10 ahi %r0, -1
11 ahi %r0, 0
12 ahi %r0, 1
13 ahi %r0, 32767
14 ahi %r15, 0
+0
-13
test/MC/SystemZ/insn-ahi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: ahi %r0, -32769
5 #CHECK: error: invalid operand
6 #CHECK: ahi %r0, 32768
7 #CHECK: error: invalid operand
8 #CHECK: ahi %r0, foo
9
10 ahi %r0, -32769
11 ahi %r0, 32768
12 ahi %r0, foo
+0
-23
test/MC/SystemZ/insn-ahy-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ahy %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x7a]
3 #CHECK: ahy %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x7a]
4 #CHECK: ahy %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x7a]
5 #CHECK: ahy %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x7a]
6 #CHECK: ahy %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x7a]
7 #CHECK: ahy %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x7a]
8 #CHECK: ahy %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x7a]
9 #CHECK: ahy %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x7a]
10 #CHECK: ahy %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x7a]
11 #CHECK: ahy %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x7a]
12
13 ahy %r0, -524288
14 ahy %r0, -1
15 ahy %r0, 0
16 ahy %r0, 1
17 ahy %r0, 524287
18 ahy %r0, 0(%r1)
19 ahy %r0, 0(%r15)
20 ahy %r0, 524287(%r1,%r15)
21 ahy %r0, 524287(%r15,%r1)
22 ahy %r15, 0
+0
-10
test/MC/SystemZ/insn-ahy-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: ahy %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: ahy %r0, 524288
7
8 ahy %r0, -524289
9 ahy %r0, 524288
+0
-17
test/MC/SystemZ/insn-al-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: al %r0, 0 # encoding: [0x5e,0x00,0x00,0x00]
3 #CHECK: al %r0, 4095 # encoding: [0x5e,0x00,0x0f,0xff]
4 #CHECK: al %r0, 0(%r1) # encoding: [0x5e,0x00,0x10,0x00]
5 #CHECK: al %r0, 0(%r15) # encoding: [0x5e,0x00,0xf0,0x00]
6 #CHECK: al %r0, 4095(%r1,%r15) # encoding: [0x5e,0x01,0xff,0xff]
7 #CHECK: al %r0, 4095(%r15,%r1) # encoding: [0x5e,0x0f,0x1f,0xff]
8 #CHECK: al %r15, 0 # encoding: [0x5e,0xf0,0x00,0x00]
9
10 al %r0, 0
11 al %r0, 4095
12 al %r0, 0(%r1)
13 al %r0, 0(%r15)
14 al %r0, 4095(%r1,%r15)
15 al %r0, 4095(%r15,%r1)
16 al %r15, 0
+0
-10
test/MC/SystemZ/insn-al-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: al %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: al %r0, 4096
7
8 al %r0, -1
9 al %r0, 4096
+0
-23
test/MC/SystemZ/insn-alc-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alc %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x98]
3 #CHECK: alc %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x98]
4 #CHECK: alc %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x98]
5 #CHECK: alc %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x98]
6 #CHECK: alc %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x98]
7 #CHECK: alc %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x98]
8 #CHECK: alc %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x98]
9 #CHECK: alc %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x98]
10 #CHECK: alc %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x98]
11 #CHECK: alc %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x98]
12
13 alc %r0, -524288
14 alc %r0, -1
15 alc %r0, 0
16 alc %r0, 1
17 alc %r0, 524287
18 alc %r0, 0(%r1)
19 alc %r0, 0(%r15)
20 alc %r0, 524287(%r1,%r15)
21 alc %r0, 524287(%r15,%r1)
22 alc %r15, 0
+0
-10
test/MC/SystemZ/insn-alc-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: alc %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: alc %r0, 524288
7
8 alc %r0, -524289
9 alc %r0, 524288
+0
-23
test/MC/SystemZ/insn-alcg-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alcg %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x88]
3 #CHECK: alcg %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x88]
4 #CHECK: alcg %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x88]
5 #CHECK: alcg %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x88]
6 #CHECK: alcg %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x88]
7 #CHECK: alcg %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x88]
8 #CHECK: alcg %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x88]
9 #CHECK: alcg %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x88]
10 #CHECK: alcg %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x88]
11 #CHECK: alcg %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x88]
12
13 alcg %r0, -524288
14 alcg %r0, -1
15 alcg %r0, 0
16 alcg %r0, 1
17 alcg %r0, 524287
18 alcg %r0, 0(%r1)
19 alcg %r0, 0(%r15)
20 alcg %r0, 524287(%r1,%r15)
21 alcg %r0, 524287(%r15,%r1)
22 alcg %r15, 0
+0
-10
test/MC/SystemZ/insn-alcg-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: alcg %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: alcg %r0, 524288
7
8 alcg %r0, -524289
9 alcg %r0, 524288
+0
-11
test/MC/SystemZ/insn-alcgr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alcgr %r0, %r0 # encoding: [0xb9,0x88,0x00,0x00]
3 #CHECK: alcgr %r0, %r15 # encoding: [0xb9,0x88,0x00,0x0f]
4 #CHECK: alcgr %r15, %r0 # encoding: [0xb9,0x88,0x00,0xf0]
5 #CHECK: alcgr %r7, %r8 # encoding: [0xb9,0x88,0x00,0x78]
6
7 alcgr %r0,%r0
8 alcgr %r0,%r15
9 alcgr %r15,%r0
10 alcgr %r7,%r8
+0
-11
test/MC/SystemZ/insn-alcr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alcr %r0, %r0 # encoding: [0xb9,0x98,0x00,0x00]
3 #CHECK: alcr %r0, %r15 # encoding: [0xb9,0x98,0x00,0x0f]
4 #CHECK: alcr %r15, %r0 # encoding: [0xb9,0x98,0x00,0xf0]
5 #CHECK: alcr %r7, %r8 # encoding: [0xb9,0x98,0x00,0x78]
6
7 alcr %r0,%r0
8 alcr %r0,%r15
9 alcr %r15,%r0
10 alcr %r7,%r8
+0
-9
test/MC/SystemZ/insn-alfi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alfi %r0, 0 # encoding: [0xc2,0x0b,0x00,0x00,0x00,0x00]
3 #CHECK: alfi %r0, 4294967295 # encoding: [0xc2,0x0b,0xff,0xff,0xff,0xff]
4 #CHECK: alfi %r15, 0 # encoding: [0xc2,0xfb,0x00,0x00,0x00,0x00]
5
6 alfi %r0, 0
7 alfi %r0, (1 << 32) - 1
8 alfi %r15, 0
+0
-10
test/MC/SystemZ/insn-alfi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: alfi %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: alfi %r0, (1 << 32)
7
8 alfi %r0, -1
9 alfi %r0, (1 << 32)
+0
-23
test/MC/SystemZ/insn-alg-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alg %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x0a]
3 #CHECK: alg %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x0a]
4 #CHECK: alg %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x0a]
5 #CHECK: alg %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x0a]
6 #CHECK: alg %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x0a]
7 #CHECK: alg %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x0a]
8 #CHECK: alg %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x0a]
9 #CHECK: alg %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x0a]
10 #CHECK: alg %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x0a]
11 #CHECK: alg %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x0a]
12
13 alg %r0, -524288
14 alg %r0, -1
15 alg %r0, 0
16 alg %r0, 1
17 alg %r0, 524287
18 alg %r0, 0(%r1)
19 alg %r0, 0(%r15)
20 alg %r0, 524287(%r1,%r15)
21 alg %r0, 524287(%r15,%r1)
22 alg %r15, 0
+0
-10
test/MC/SystemZ/insn-alg-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: alg %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: alg %r0, 524288
7
8 alg %r0, -524289
9 alg %r0, 524288
+0
-23
test/MC/SystemZ/insn-algf-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: algf %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x1a]
3 #CHECK: algf %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x1a]
4 #CHECK: algf %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x1a]
5 #CHECK: algf %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x1a]
6 #CHECK: algf %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x1a]
7 #CHECK: algf %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x1a]
8 #CHECK: algf %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x1a]
9 #CHECK: algf %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x1a]
10 #CHECK: algf %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x1a]
11 #CHECK: algf %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x1a]
12
13 algf %r0, -524288
14 algf %r0, -1
15 algf %r0, 0
16 algf %r0, 1
17 algf %r0, 524287
18 algf %r0, 0(%r1)
19 algf %r0, 0(%r15)
20 algf %r0, 524287(%r1,%r15)
21 algf %r0, 524287(%r15,%r1)
22 algf %r15, 0
+0
-10
test/MC/SystemZ/insn-algf-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: algf %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: algf %r0, 524288
7
8 algf %r0, -524289
9 algf %r0, 524288
+0
-9
test/MC/SystemZ/insn-algfi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: algfi %r0, 0 # encoding: [0xc2,0x0a,0x00,0x00,0x00,0x00]
3 #CHECK: algfi %r0, 4294967295 # encoding: [0xc2,0x0a,0xff,0xff,0xff,0xff]
4 #CHECK: algfi %r15, 0 # encoding: [0xc2,0xfa,0x00,0x00,0x00,0x00]
5
6 algfi %r0, 0
7 algfi %r0, (1 << 32) - 1
8 algfi %r15, 0
+0
-10
test/MC/SystemZ/insn-algfi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: algfi %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: algfi %r0, (1 << 32)
7
8 algfi %r0, -1
9 algfi %r0, (1 << 32)
+0
-11
test/MC/SystemZ/insn-algfr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: algfr %r0, %r0 # encoding: [0xb9,0x1a,0x00,0x00]
3 #CHECK: algfr %r0, %r15 # encoding: [0xb9,0x1a,0x00,0x0f]
4 #CHECK: algfr %r15, %r0 # encoding: [0xb9,0x1a,0x00,0xf0]
5 #CHECK: algfr %r7, %r8 # encoding: [0xb9,0x1a,0x00,0x78]
6
7 algfr %r0,%r0
8 algfr %r0,%r15
9 algfr %r15,%r0
10 algfr %r7,%r8
+0
-11
test/MC/SystemZ/insn-algr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: algr %r0, %r0 # encoding: [0xb9,0x0a,0x00,0x00]
3 #CHECK: algr %r0, %r15 # encoding: [0xb9,0x0a,0x00,0x0f]
4 #CHECK: algr %r15, %r0 # encoding: [0xb9,0x0a,0x00,0xf0]
5 #CHECK: algr %r7, %r8 # encoding: [0xb9,0x0a,0x00,0x78]
6
7 algr %r0,%r0
8 algr %r0,%r15
9 algr %r15,%r0
10 algr %r7,%r8
+0
-11
test/MC/SystemZ/insn-alr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: alr %r0, %r0 # encoding: [0x1e,0x00]
3 #CHECK: alr %r0, %r15 # encoding: [0x1e,0x0f]
4 #CHECK: alr %r15, %r0 # encoding: [0x1e,0xf0]
5 #CHECK: alr %r7, %r8 # encoding: [0x1e,0x78]
6
7 alr %r0,%r0
8 alr %r0,%r15
9 alr %r15,%r0
10 alr %r7,%r8
+0
-23
test/MC/SystemZ/insn-aly-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: aly %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x5e]
3 #CHECK: aly %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x5e]
4 #CHECK: aly %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x5e]
5 #CHECK: aly %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x5e]
6 #CHECK: aly %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x5e]
7 #CHECK: aly %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x5e]
8 #CHECK: aly %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x5e]
9 #CHECK: aly %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x5e]
10 #CHECK: aly %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x5e]
11 #CHECK: aly %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x5e]
12
13 aly %r0, -524288
14 aly %r0, -1
15 aly %r0, 0
16 aly %r0, 1
17 aly %r0, 524287
18 aly %r0, 0(%r1)
19 aly %r0, 0(%r15)
20 aly %r0, 524287(%r1,%r15)
21 aly %r0, 524287(%r15,%r1)
22 aly %r15, 0
+0
-10
test/MC/SystemZ/insn-aly-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: aly %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: aly %r0, 524288
7
8 aly %r0, -524289
9 aly %r0, 524288
+0
-11
test/MC/SystemZ/insn-ar-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ar %r0, %r0 # encoding: [0x1a,0x00]
3 #CHECK: ar %r0, %r15 # encoding: [0x1a,0x0f]
4 #CHECK: ar %r15, %r0 # encoding: [0x1a,0xf0]
5 #CHECK: ar %r7, %r8 # encoding: [0x1a,0x78]
6
7 ar %r0,%r0
8 ar %r0,%r15
9 ar %r15,%r0
10 ar %r7,%r8
+0
-29
test/MC/SystemZ/insn-asi-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: asi -524288, 0 # encoding: [0xeb,0x00,0x00,0x00,0x80,0x6a]
3 #CHECK: asi -1, 0 # encoding: [0xeb,0x00,0x0f,0xff,0xff,0x6a]
4 #CHECK: asi 0, 0 # encoding: [0xeb,0x00,0x00,0x00,0x00,0x6a]
5 #CHECK: asi 1, 0 # encoding: [0xeb,0x00,0x00,0x01,0x00,0x6a]
6 #CHECK: asi 524287, 0 # encoding: [0xeb,0x00,0x0f,0xff,0x7f,0x6a]
7 #CHECK: asi 0, -128 # encoding: [0xeb,0x80,0x00,0x00,0x00,0x6a]
8 #CHECK: asi 0, -1 # encoding: [0xeb,0xff,0x00,0x00,0x00,0x6a]
9 #CHECK: asi 0, 1 # encoding: [0xeb,0x01,0x00,0x00,0x00,0x6a]
10 #CHECK: asi 0, 127 # encoding: [0xeb,0x7f,0x00,0x00,0x00,0x6a]
11 #CHECK: asi 0(%r1), 42 # encoding: [0xeb,0x2a,0x10,0x00,0x00,0x6a]
12 #CHECK: asi 0(%r15), 42 # encoding: [0xeb,0x2a,0xf0,0x00,0x00,0x6a]
13 #CHECK: asi 524287(%r1), 42 # encoding: [0xeb,0x2a,0x1f,0xff,0x7f,0x6a]
14 #CHECK: asi 524287(%r15), 42 # encoding: [0xeb,0x2a,0xff,0xff,0x7f,0x6a]
15
16 asi -524288, 0
17 asi -1, 0
18 asi 0, 0
19 asi 1, 0
20 asi 524287, 0
21 asi 0, -128
22 asi 0, -1
23 asi 0, 1
24 asi 0, 127
25 asi 0(%r1), 42
26 asi 0(%r15), 42
27 asi 524287(%r1), 42
28 asi 524287(%r15), 42
+0
-19
test/MC/SystemZ/insn-asi-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: asi -524289, 0
5 #CHECK: error: invalid operand
6 #CHECK: asi 524288, 0
7 #CHECK: error: invalid use of indexed addressing
8 #CHECK: asi 0(%r1,%r2), 0
9 #CHECK: error: invalid operand
10 #CHECK: asi 0, -129
11 #CHECK: error: invalid operand
12 #CHECK: asi 0, 128
13
14 asi -524289, 0
15 asi 524288, 0
16 asi 0(%r1,%r2), 0
17 asi 0, -129
18 asi 0, 128
+0
-11
test/MC/SystemZ/insn-axbr-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: axbr %f0, %f0 # encoding: [0xb3,0x4a,0x00,0x00]
3 #CHECK: axbr %f0, %f13 # encoding: [0xb3,0x4a,0x00,0x0d]
4 #CHECK: axbr %f8, %f8 # encoding: [0xb3,0x4a,0x00,0x88]
5 #CHECK: axbr %f13, %f0 # encoding: [0xb3,0x4a,0x00,0xd0]
6
7 axbr %f0, %f0
8 axbr %f0, %f13
9 axbr %f8, %f8
10 axbr %f13, %f0
+0
-17
test/MC/SystemZ/insn-axbr-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid register
4 #CHECK: axbr %f0, %f2
5 #CHECK: error: invalid register
6 #CHECK: axbr %f0, %f14
7 #CHECK: error: invalid register
8 #CHECK: axbr %f2, %f0
9 #CHECK: error: invalid register
10 #CHECK: axbr %f14, %f0
11
12 axbr %f0, %f2
13 axbr %f0, %f14
14 axbr %f2, %f0
15 axbr %f14, %f0
16
+0
-23
test/MC/SystemZ/insn-ay-01.s less more
None # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
1
2 #CHECK: ay %r0, -524288 # encoding: [0xe3,0x00,0x00,0x00,0x80,0x5a]
3 #CHECK: ay %r0, -1 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x5a]
4 #CHECK: ay %r0, 0 # encoding: [0xe3,0x00,0x00,0x00,0x00,0x5a]
5 #CHECK: ay %r0, 1 # encoding: [0xe3,0x00,0x00,0x01,0x00,0x5a]
6 #CHECK: ay %r0, 524287 # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x5a]
7 #CHECK: ay %r0, 0(%r1) # encoding: [0xe3,0x00,0x10,0x00,0x00,0x5a]
8 #CHECK: ay %r0, 0(%r15) # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x5a]
9 #CHECK: ay %r0, 524287(%r1,%r15) # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x5a]
10 #CHECK: ay %r0, 524287(%r15,%r1) # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x5a]
11 #CHECK: ay %r15, 0 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x5a]
12
13 ay %r0, -524288
14 ay %r0, -1
15 ay %r0, 0
16 ay %r0, 1
17 ay %r0, 524287
18 ay %r0, 0(%r1)
19 ay %r0, 0(%r15)
20 ay %r0, 524287(%r1,%r15)
21 ay %r0, 524287(%r15,%r1)
22 ay %r15, 0
+0
-10
test/MC/SystemZ/insn-ay-02.s less more
None # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: ay %r0, -524289
5 #CHECK: error: invalid operand
6 #CHECK: ay %r0, 524288
7
8 ay %r0, -524289
9 ay %r0, 524288
0 # RUN: not llvm-mc -triple s390x-linux-gnu < %s 2> %t
1 # RUN: FileCheck < %t %s
2
3 #CHECK: error: invalid operand
4 #CHECK: a %r0, -1
5 #CHECK: error: invalid operand
6 #CHECK: a %r0, 4096
7
8 a %r0, -1
9 a %r0, 4096
10
11 #CHECK: error: invalid operand
12 #CHECK: adb %f0, -1
13 #CHECK: error: invalid operand
14 #CHECK: adb %f0, 4096
15
16 adb %f0, -1
17 adb %f0, 4096
18
19 #CHECK: error: invalid operand
20 #CHECK: aeb %f0, -1
21 #CHECK: error: invalid operand
22 #CHECK: aeb %f0, 4096
23
24 aeb %f0, -1
25 aeb %f0, 4096
26
27 #CHECK: error: invalid operand
28 #CHECK: afi %r0, (-1 << 31) - 1
29 #CHECK: error: invalid operand
30 #CHECK: afi %r0, (1 << 31)
31
32 afi %r0, (-1 << 31) - 1
33 afi %r0, (1 << 31)
34
35 #CHECK: error: invalid operand
36 #CHECK: ag %r0, -524289
37 #CHECK: error: invalid operand
38 #CHECK: ag %r0, 524288
39
40 ag %r0, -524289
41 ag %r0, 524288
42
43 #CHECK: error: invalid operand
44 #CHECK: agf %r0, -524289
45 #CHECK: error: invalid operand
46 #CHECK: agf %r0, 524288
47
48 agf %r0, -524289
49 agf %r0, 524288
50
51 #CHECK: error: invalid operand
52 #CHECK: agfi %r0, (-1 << 31) - 1
53 #CHECK: error: invalid operand
54 #CHECK: agfi %r0, (1 << 31)
55
56 agfi %r0, (-1 << 31) - 1
57 agfi %r0, (1 << 31)
58
59 #CHECK: error: invalid operand
60 #CHECK: aghi %r0, -32769
61 #CHECK: error: invalid operand
62 #CHECK: aghi %r0, 32768
63 #CHECK: error: invalid operand
64 #CHECK: aghi %r0, foo
65
66 aghi %r0, -32769
67 aghi %r0, 32768
68 aghi %r0, foo
69
70 #CHECK: error: invalid operand
71 #CHECK: agsi -524289, 0
72 #CHECK: error: invalid operand
73 #CHECK: agsi 524288, 0
74 #CHECK: error: invalid use of indexed addressing
75 #CHECK: agsi 0(%r1,%r2), 0
76 #CHECK: error: invalid operand
77 #CHECK: agsi 0, -129
78 #CHECK: error: invalid operand
79 #CHECK: agsi 0, 128
80
81 agsi -524289, 0
82 agsi 524288, 0
83 agsi 0(%r1,%r2), 0
84 agsi 0, -129
85 agsi 0, 128
86
87 #CHECK: error: invalid operand
88 #CHECK: ah %r0, -1
89 #CHECK: error: invalid operand
90 #CHECK: ah %r0, 4096
91
92 ah %r0, -1
93 ah %r0, 4096
94
95 #CHECK: error: invalid operand
96 #CHECK: ahi %r0, -32769
97 #CHECK: error: invalid operand
98 #CHECK: ahi %r0, 32768
99 #CHECK: error: invalid operand
100 #CHECK: ahi %r0, foo
101
102 ahi %r0, -32769
103 ahi %r0, 32768
104 ahi %r0, foo
105
106 #CHECK: error: invalid operand
107 #CHECK: ahy %r0, -524289
108 #CHECK: error: invalid operand
109 #CHECK: ahy %r0, 524288
110
111 ahy %r0, -524289
112 ahy %r0, 524288
113
114 #CHECK: error: invalid operand
115 #CHECK: al %r0, -1
116 #CHECK: error: invalid operand
117 #CHECK: al %r0, 4096
118
119 al %r0, -1
120 al %r0, 4096
121
122 #CHECK: error: invalid operand
123 #CHECK: alc %r0, -524289
124 #CHECK: error: invalid operand
125 #CHECK: alc %r0, 524288
126
127 alc %r0, -524289
128 alc %r0, 524288
129
130 #CHECK: error: invalid operand
131 #CHECK: alcg %r0, -524289
132 #CHECK: error: invalid operand
133 #CHECK: alcg %r0, 524288
134
135 alcg %r0, -524289
136 alcg %r0, 524288
137
138 #CHECK: error: invalid operand
139 #CHECK: alfi %r0, -1
140 #CHECK: error: invalid operand
141 #CHECK: alfi %r0, (1 << 32)
142
143 alfi %r0, -1
144 alfi %r0, (1 << 32)
145
146 #CHECK: error: invalid operand
147 #CHECK: alg %r0, -524289
148 #CHECK: error: invalid operand
149 #CHECK: alg %r0, 524288
150
151 alg %r0, -524289
152 alg %r0, 524288
153
154 #CHECK: error: invalid operand
155 #CHECK: algf %r0, -524289
156 #CHECK: error: invalid operand
157 #CHECK: algf %r0, 524288
158
159 algf %r0, -524289
160 algf %r0, 524288
161
162 #CHECK: error: invalid operand
163 #CHECK: algfi %r0, -1
164 #CHECK: error: invalid operand
165 #CHECK: algfi %r0, (1 << 32)
166
167 algfi %r0, -1
168 algfi %r0, (1 << 32)
169
170 #CHECK: error: invalid operand
171 #CHECK: aly %r0, -524289
172 #CHECK: error: invalid operand
173 #CHECK: aly %r0, 524288
174
175 aly %r0, -524289
176 aly %r0, 524288
177
178 #CHECK: error: invalid operand
179 #CHECK: asi -524289, 0
180 #CHECK: error: invalid operand
181 #CHECK: asi 524288, 0
182 #CHECK: error: invalid use of indexed addressing
183 #CHECK: asi 0(%r1,%r2), 0
184 #CHECK: error: invalid operand
185 #CHECK: asi 0, -129
186 #CHECK: error: invalid operand
187 #CHECK: asi 0, 128
188
189 asi -524289, 0
190 asi 524288, 0
191 asi 0(%r1,%r2), 0
192 asi 0, -129
193 asi 0, 128
194
195 #CHECK: error: invalid register
196 #CHECK: axbr %f0, %f2
197 #CHECK: error: invalid register
198 #CHECK: axbr %f0, %f14
199 #CHECK: error: invalid register
200 #CHECK: axbr %f2, %f0
201 #CHECK: error: invalid register
202 #CHECK: axbr %f14, %f0
203
204 axbr %f0, %f2
205 axbr %f0, %f14
206 axbr %f2, %f0
207 axbr %f14, %f0
208
209
210 #CHECK: error: invalid operand
211 #CHECK: ay %r0, -524289
212 #CHECK: error: invalid operand
213 #CHECK: ay %r0, 524288
214
215 ay %r0, -524289
216 ay %r0, 524288
217
218 #CHECK: error: offset out of range
219 #CHECK: bras %r0, -0x100002
220 #CHECK: error: offset out of range
221 #CHECK: bras %r0, -1
222 #CHECK: error: offset out of range
223 #CHECK: bras %r0, 1
224 #CHECK: error: offset out of range
225 #CHECK: bras %r0, 0x10000
226
227 bras %r0, -0x100002
228 bras %r0, -1
229 bras %r0, 1
230 bras %r0, 0x10000
231
232 #CHECK: error: offset out of range
233 #CHECK: brasl %r0, -0x1000000002
234 #CHECK: error: offset out of range
235 #CHECK: brasl %r0, -1
236 #CHECK: error: offset out of range
237 #CHECK: brasl %r0, 1
238 #CHECK: error: offset out of range
239 #CHECK: brasl %r0, 0x100000000
240
241 brasl %r0, -0x1000000002
242 brasl %r0, -1
243 brasl %r0, 1
244 brasl %r0, 0x100000000
245
246 #CHECK: error: offset out of range
247 #CHECK: brc 0, -0x100002
248 #CHECK: error: offset out of range
249 #CHECK: brc 0, -1
250 #CHECK: error: offset out of range
251 #CHECK: brc 0, 1
252 #CHECK: error: offset out of range
253 #CHECK: brc 0, 0x10000
254
255 brc 0, -0x100002
256 brc 0, -1
257 brc 0, 1
258 brc 0, 0x10000
259
260 #CHECK: error: invalid operand
261 #CHECK: brc foo, bar
262 #CHECK: error: invalid operand
263 #CHECK: brc -1, bar
264 #CHECK: error: invalid operand
265 #CHECK: brc 16, bar
266
267 brc foo, bar
268 brc -1, bar
269 brc 16, bar
270
271 #CHECK: error: offset out of range
272 #CHECK: brcl 0, -0x1000000002
273 #CHECK: error: offset out of range
274 #CHECK: brcl 0, -1
275 #CHECK: error: offset out of range
276 #CHECK: brcl 0, 1
277 #CHECK: error: offset out of range
278 #CHECK: brcl 0, 0x100000000
279
280 brcl 0, -0x1000000002
281 brcl 0, -1
282 brcl 0, 1
283 brcl 0, 0x100000000
284
285 #CHECK: error: invalid operand
286 #CHECK: brcl foo, bar
287 #CHECK: error: invalid operand
288 #CHECK: brcl -1, bar
289 #CHECK: error: invalid operand
290 #CHECK: brcl 16, bar
291
292 brcl foo, bar
293 brcl -1, bar
294 brcl 16, bar
295
296 #CHECK: error: invalid operand
297 #CHECK: c %r0, -1
298 #CHECK: error: invalid operand
299 #CHECK: c %r0, 4096
300
301 c %r0, -1
302 c %r0, 4096
303
304 #CHECK: error: invalid operand
305 #CHECK: cdb %f0, -1
306 #CHECK: error: invalid operand
307 #CHECK: cdb %f0, 4096
308
309 cdb %f0, -1
310 cdb %f0, 4096
311
312 #CHECK: error: invalid register
313 #CHECK: cdfbr %r0, %r0
314 #CHECK: error: invalid register
315 #CHECK: cdfbr %f0, %f0
316 #CHECK: error: invalid register
317 #CHECK: cdfbr %f0, %a0
318 #CHECK: error: invalid register
319 #CHECK: cdfbr %a0, %r0
320
321 cdfbr %r0, %r0
322 cdfbr %f0, %f0
323 cdfbr %f0, %a0
324 cdfbr %a0, %r0
325
326 #CHECK: error: invalid register
327 #CHECK: cdgbr %r0, %r0
328 #CHECK: error: invalid register
329 #CHECK: cdgbr %f0, %f0
330 #CHECK: error: invalid register
331 #CHECK: cdgbr %f0, %a0
332 #CHECK: error: invalid register
333 #CHECK: cdgbr %a0, %r0
334
335 cdgbr %r0, %r0
336 cdgbr %f0, %f0
337 cdgbr %f0, %a0
338 cdgbr %a0, %r0
339
340 #CHECK: error: invalid operand
341 #CHECK: ceb %f0, -1
342 #CHECK: error: invalid operand
343 #CHECK: ceb %f0, 4096
344
345 ceb %f0, -1
346 ceb %f0, 4096
347
348 #CHECK: error: invalid register
349 #CHECK: cefbr %r0, %r0
350 #CHECK: error: invalid register
351 #CHECK: cefbr %f0, %f0
352 #CHECK: error: invalid register
353 #CHECK: cefbr %f0, %a0
354 #CHECK: error: invalid register
355 #CHECK: cefbr %a0, %r0
356
357 cefbr %r0, %r0
358 cefbr %f0, %f0
359 cefbr %f0, %a0
360 cefbr %a0, %r0
361
362 #CHECK: error: invalid register
363 #CHECK: cegbr %r0, %r0
364 #CHECK: error: invalid register
365 #CHECK: cegbr %f0, %f0
366 #CHECK: error: invalid register
367 #CHECK: cegbr %f0, %a0
368 #CHECK: error: invalid register
369 #CHECK: cegbr %a0, %r0
370
371 cegbr %r0, %r0
372 cegbr %f0, %f0
373 cegbr %f0, %a0
374 cegbr %a0, %r0
375
376 #CHECK: error: invalid register
377 #CHECK: cfdbr %r0, 0, %r0
378 #CHECK: error: invalid register
379 #CHECK: cfdbr %f0, 0, %f0
380 #CHECK: error: invalid operand
381 #CHECK: cfdbr %r0, -1, %f0
382 #CHECK: error: invalid operand
383 #CHECK: cfdbr %r0, 16, %f0
384
385 cfdbr %r0, 0, %r0
386 cfdbr %f0, 0, %f0
387 cfdbr %r0, -1, %f0
388 cfdbr %r0, 16, %f0
389
390 #CHECK: error: invalid register
391 #CHECK: cfebr %r0, 0, %r0
392 #CHECK: error: invalid register
393 #CHECK: cfebr %f0, 0, %f0
394 #CHECK: error: invalid operand
395 #CHECK: cfebr %r0, -1, %f0
396 #CHECK: error: invalid operand
397 #CHECK: cfebr %r0, 16, %f0
398
399 cfebr %r0, 0, %r0
400 cfebr %f0, 0, %f0
401 cfebr %r0, -1, %f0
402 cfebr %r0, 16, %f0
403
404 #CHECK: error: invalid operand
405 #CHECK: cfi %r0, (-1 << 31) - 1
406 #CHECK: error: invalid operand
407 #CHECK: cfi %r0, (1 << 31)
408
409 cfi %r0, (-1 << 31) - 1
410 cfi %r0, (1 << 31)
411
412 #CHECK: error: invalid register
413 #CHECK: cfxbr %r0, 0, %r0
414 #CHECK: error: invalid register
415 #CHECK: cfxbr %f0, 0, %f0
416 #CHECK: error: invalid operand
417 #CHECK: cfxbr %r0, -1, %f0
418 #CHECK: error: invalid operand
419 #CHECK: cfxbr %r0, 16, %f0
420 #CHECK: error: invalid register
421 #CHECK: cfxbr %r0, 0, %f2
422 #CHECK: error: invalid register
423 #CHECK: cfxbr %r0, 0, %f14
424
425 cfxbr %r0, 0, %r0
426 cfxbr %f0, 0, %f0
427 cfxbr %r0, -1, %f0
428 cfxbr %r0, 16, %f0
429 cfxbr %r0, 0, %f2
430 cfxbr %r0, 0, %f14
431
432
433 #CHECK: error: invalid operand
434 #CHECK: cg %r0, -524289
435 #CHECK: error: invalid operand
436 #CHECK: cg %r0, 524288
437
438 cg %r0, -524289
439 cg %r0, 524288
440
441 #CHECK: error: invalid register
442 #CHECK: cgdbr %r0, 0, %r0
443 #CHECK: error: invalid register
444 #CHECK: cgdbr %f0, 0, %f0
445 #CHECK: error: invalid operand
446 #CHECK: cgdbr %r0, -1, %f0
447 #CHECK: error: invalid operand
448 #CHECK: cgdbr %r0, 16, %f0
449
450 cgdbr %r0, 0, %r0
451 cgdbr %f0, 0, %f0
452 cgdbr %r0, -1, %f0
453 cgdbr %r0, 16, %f0
454
455 #CHECK: error: invalid register
456 #CHECK: cgebr %r0, 0, %r0
457 #CHECK: error: invalid register
458 #CHECK: cgebr %f0, 0, %f0
459 #CHECK: error: invalid operand
460 #CHECK: cgebr %r0, -1, %f0
461 #CHECK: error: invalid operand
462 #CHECK: cgebr %r0, 16, %f0
463
464 cgebr %r0, 0, %r0
465 cgebr %f0, 0, %f0
466 cgebr %r0, -1, %f0
467 cgebr %r0, 16, %f0
468
469 #CHECK: error: invalid operand
470 #CHECK: cgf %r0, -524289
471 #CHECK: error: invalid operand
472 #CHECK: cgf %r0, 524288
473
474 cgf %r0, -524289
475 cgf %r0, 524288
476
477 #CHECK: error: invalid operand
478 #CHECK: cgfi %r0, (-1 << 31) - 1
479 #CHECK: error: invalid operand
480 #CHECK: cgfi %r0, (1 << 31)
481
482 cgfi %r0, (-1 << 31) - 1
483 cgfi %r0, (1 << 31)
484
485 #CHECK: error: offset out of range
486 #CHECK: cgfrl %r0, -0x1000000002
487 #CHECK: error: offset out of range
488 #CHECK: cgfrl %r0, -1
489 #CHECK: error: offset out of range
490 #CHECK: cgfrl %r0, 1
491 #CHECK: error: offset out of range
492 #CHECK: cgfrl %r0, 0x100000000
493
494 cgfrl %r0, -0x1000000002
495 cgfrl %r0, -1
496 cgfrl %r0, 1
497 cgfrl %r0, 0x100000000
498
499 #CHECK: error: invalid operand
500 #CHECK: cgh %r0, -524289
501 #CHECK: error: invalid operand
502 #CHECK: cgh %r0, 524288
503
504 cgh %r0, -524289
505 cgh %r0, 524288
506
507 #CHECK: error: invalid operand
508 #CHECK: cghi %r0, -32769
509 #CHECK: error: invalid operand
510 #CHECK: cghi %r0, 32768
511 #CHECK: error: invalid operand
512 #CHECK: cghi %r0, foo
513
514 cghi %r0, -32769
515 cghi %r0, 32768
516 cghi %r0, foo
517
518 #CHECK: error: offset out of range
519 #CHECK: cghrl %r0, -0x1000000002
520 #CHECK: error: offset out of range
521 #CHECK: cghrl %r0, -1
522 #CHECK: error: offset out of range
523 #CHECK: cghrl %r0, 1
524 #CHECK: error: offset out of range
525 #CHECK: cghrl %r0, 0x100000000
526
527 cghrl %r0, -0x1000000002
528 cghrl %r0, -1
529 cghrl %r0, 1
530 cghrl %r0, 0x100000000
531
532 #CHECK: error: invalid operand
533 #CHECK: cghsi -1, 0
534 #CHECK: error: invalid operand
535 #CHECK: cghsi 4096, 0
536 #CHECK: error: invalid use of indexed addressing
537 #CHECK: cghsi 0(%r1,%r2), 0
538 #CHECK: error: invalid operand
539 #CHECK: cghsi 0, -32769
540 #CHECK: error: invalid operand
541 #CHECK: cghsi 0, 32768
542
543 cghsi -1, 0
544 cghsi 4096, 0
545 cghsi 0(%r1,%r2), 0
546 cghsi 0, -32769
547 cghsi 0, 32768
548
549 #CHECK: error: offset out of range
550 #CHECK: cgrl %r0, -0x1000000002
551 #CHECK: error: offset out of range
552 #CHECK: cgrl %r0, -1
553 #CHECK: error: offset out of range
554 #CHECK: cgrl %r0, 1
555 #CHECK: error: offset out of range
556 #CHECK: cgrl %r0, 0x100000000
557
558 cgrl %r0, -0x1000000002
559 cgrl %r0, -1
560 cgrl %r0, 1
561 cgrl %r0, 0x100000000
562
563 #CHECK: error: invalid register
564 #CHECK: cgxbr %r0, 0, %r0
565 #CHECK: error: invalid register
566 #CHECK: cgxbr %f0, 0, %f0
567 #CHECK: error: invalid operand
568 #CHECK: cgxbr %r0, -1, %f0
569 #CHECK: error: invalid operand
570 #CHECK: cgxbr %r0, 16, %f0
571 #CHECK: error: invalid register
572 #CHECK: cgxbr %r0, 0, %f2
573 #CHECK: error: invalid register
574 #CHECK: cgxbr %r0, 0, %f14
575
576 cgxbr %r0, 0, %r0
577 cgxbr %f0, 0, %f0
578 cgxbr %r0, -1, %f0
579 cgxbr %r0, 16, %f0
580 cgxbr %r0, 0, %f2
581 cgxbr %r0, 0, %f14
582
583
584 #CHECK: error: invalid operand
585 #CHECK: ch %r0, -1
586 #CHECK: error: invalid operand
587 #CHECK: ch %r0, 4096
588
589 ch %r0, -1
590 ch %r0, 4096
591
592 #CHECK: error: invalid operand
593 #CHECK: chhsi -1, 0
594 #CHECK: error: invalid operand
595 #CHECK: chhsi 4096, 0
596 #CHECK: error: invalid use of indexed addressing
597 #CHECK: chhsi 0(%r1,%r2), 0
598 #CHECK: error: invalid operand
599 #CHECK: chhsi 0, -32769
600 #CHECK: error: invalid operand
601 #CHECK: chhsi 0, 32768
602
603 chhsi -1, 0
604 chhsi 4096, 0
605 chhsi 0(%r1,%r2), 0
606 chhsi 0, -32769
607 chhsi 0, 32768
608
609 #CHECK: error: invalid operand
610 #CHECK: chi %r0, -32769
611 #CHECK: error: invalid operand
612 #CHECK: chi %r0, 32768
613 #CHECK: error: invalid operand
614 #CHECK: chi %r0, foo
615
616 chi %r0, -32769
617 chi %r0, 32768
618 chi %r0, foo
619
620 #CHECK: error: offset out of range
621 #CHECK: chrl %r0, -0x1000000002
622 #CHECK: error: offset out of range
623 #CHECK: chrl %r0, -1
624 #CHECK: error: offset out of range
625 #CHECK: chrl %r0, 1
626 #CHECK: error: offset out of range
627 #CHECK: chrl %r0, 0x100000000
628
629 chrl %r0, -0x1000000002
630 chrl %r0, -1
631 chrl %r0, 1
632 chrl %r0, 0x100000000
633
634 #CHECK: error: invalid operand
635 #CHECK: chsi -1, 0
636 #CHECK: error: invalid operand
637 #CHECK: chsi 4096, 0
638 #CHECK: error: invalid use of indexed addressing
639 #CHECK: chsi 0(%r1,%r2), 0
640 #CHECK: error: invalid operand
641 #CHECK: chsi 0, -32769
642 #CHECK: error: invalid operand
643 #CHECK: chsi 0, 32768
644
645 chsi -1, 0
646 chsi 4096, 0
647 chsi 0(%r1,%r2), 0
648 chsi 0, -32769
649 chsi 0, 32768
650
651 #CHECK: error: invalid operand
652 #CHECK: chy %r0, -524289
653 #CHECK: error: invalid operand
654 #CHECK: chy %r0, 524288
655
656 chy %r0, -524289
657 chy %r0, 524288
658
659 #CHECK: error: invalid operand
660 #CHECK: cl %r0, -1
661 #CHECK: error: invalid operand
662 #CHECK: cl %r0, 4096
663
664 cl %r0, -1
665 cl %r0, 4096
666
667 #CHECK: error: invalid operand
668 #CHECK: clfhsi -1, 0
669 #CHECK: error: invalid operand
670 #CHECK: clfhsi 4096, 0
671 #CHECK: error: invalid use of indexed addressing
672 #CHECK: clfhsi 0(%r1,%r2), 0
673 #CHECK: error: invalid operand
674 #CHECK: clfhsi 0, -1
675 #CHECK: error: invalid operand
676 #CHECK: clfhsi 0, 65536
677
678 clfhsi -1, 0
679 clfhsi 4096, 0
680 clfhsi 0(%r1,%r2), 0
681 clfhsi 0, -1
682 clfhsi 0, 65536
683
684 #CHECK: error: invalid operand
685 #CHECK: clfi %r0, -1
686 #CHECK: error: invalid operand
687 #CHECK: clfi %r0, (1 << 32)
688
689 clfi %r0, -1
690 clfi %r0, (1 << 32)
691
692 #CHECK: error: invalid operand
693 #CHECK: clg %r0, -524289
694 #CHECK: error: invalid operand
695 #CHECK: clg %r0, 524288
696
697 clg %r0, -524289
698 clg %r0, 524288
699
700 #CHECK: error: invalid operand
701 #CHECK: clgf %r0, -524289
702 #CHECK: error: invalid operand
703 #CHECK: clgf %r0, 524288
704
705 clgf %r0, -524289
706 clgf %r0, 524288
707
708 #CHECK: error: invalid operand
709 #CHECK: clgfi %r0, -1
710 #CHECK: error: invalid operand
711 #CHECK: clgfi %r0, (1 << 32)
712
713 clgfi %r0, -1
714 clgfi %r0, (1 << 32)
715
716 #CHECK: error: offset out of range
717 #CHECK: clgfrl %r0, -0x1000000002
718 #CHECK: error: offset out of range
719 #CHECK: clgfrl %r0, -1
720 #CHECK: error: offset out of range
721 #CHECK: clgfrl %r0, 1
722 #CHECK: error: offset out of range
723 #CHECK: clgfrl %r0, 0x100000000
724
725 clgfrl %r0, -0x1000000002
726 clgfrl %r0, -1
727 clgfrl %r0, 1
728 clgfrl %r0, 0x100000000
729
730 #CHECK: error: offset out of range
731 #CHECK: clghrl %r0, -0x1000000002
732 #CHECK: error: offset out of range
733 #CHECK: clghrl %r0, -1
734 #CHECK: error: offset out of range
735 #CHECK: clghrl %r0, 1
736 #CHECK: error: offset out of range
737 #CHECK: clghrl %r0, 0x100000000
738
739 clghrl %r0, -0x1000000002
740 clghrl %r0, -1
741 clghrl %r0, 1
742 clghrl %r0, 0x100000000
743
744 #CHECK: error: invalid operand
745 #CHECK: clghsi -1, 0
746 #CHECK: error: invalid operand
747 #CHECK: clghsi 4096, 0
748 #CHECK: error: invalid use of indexed addressing
749 #CHECK: clghsi 0(%r1,%r2), 0
750 #CHECK: error: invalid operand
751 #CHECK: clghsi 0, -1
752 #CHECK: error: invalid operand
753 #CHECK: clghsi 0, 65536
754
755 clghsi -1, 0
756 clghsi 4096, 0
757 clghsi 0(%r1,%r2), 0
758 clghsi 0, -1
759 clghsi 0, 65536
760
761 #CHECK: error: offset out of range
762 #CHECK: clgrl %r0, -0x1000000002
763 #CHECK: error: offset out of range
764 #CHECK: clgrl %r0, -1
765 #CHECK: error: offset out of range
766 #CHECK: clgrl %r0, 1
767 #CHECK: error: offset out of range
768 #CHECK: clgrl %r0, 0x100000000
769
770 clgrl %r0, -0x1000000002
771 clgrl %r0, -1
772 clgrl %r0, 1
773 clgrl %r0, 0x100000000
774
775 #CHECK: error: invalid operand
776 #CHECK: clhhsi -1, 0
777 #CHECK: error: invalid operand
778 #CHECK: clhhsi 4096, 0
779 #CHECK: error: invalid use of indexed addressing
780 #CHECK: clhhsi 0(%r1,%r2), 0
781 #CHECK: error: invalid operand
782 #CHECK: clhhsi 0, -1
783 #CHECK: error: invalid operand
784 #CHECK: clhhsi 0, 65536
785
786 clhhsi -1, 0
787 clhhsi 4096, 0
788 clhhsi 0(%r1,%r2), 0
789 clhhsi 0, -1
790 clhhsi 0, 65536
791
792 #CHECK: error: offset out of range
793 #CHECK: clhrl %r0, -0x1000000002
794 #CHECK: error: offset out of range
795 #CHECK: clhrl %r0, -1
796 #CHECK: error: offset out of range
797 #CHECK: clhrl %r0, 1
798 #CHECK: error: offset out of range
799 #CHECK: clhrl %r0, 0x100000000
800
801 clhrl %r0, -0x1000000002
802 clhrl %r0, -1
803 clhrl %r0, 1
804 clhrl %r0, 0x100000000
805
806 #CHECK: error: invalid operand
807 #CHECK: cli -1, 0
808 #CHECK: error: invalid operand
809 #CHECK: cli 4096, 0
810 #CHECK: error: invalid use of indexed addressing
811 #CHECK: cli 0(%r1,%r2), 0
812 #CHECK: error: invalid operand
813 #CHECK: cli 0, -1
814 #CHECK: error: invalid operand
815 #CHECK: cli 0, 256
816
817 cli -1, 0
818 cli 4096, 0
819 cli 0(%r1,%r2), 0
820 cli 0, -1
821 cli 0, 256
822
823 #CHECK: error: invalid operand
824 #CHECK: cliy -524289, 0
825 #CHECK: error: invalid operand
826 #CHECK: cliy 524288, 0
827 #CHECK: error: invalid use of indexed addressing
828 #CHECK: cliy 0(%r1,%r2), 0
829 #CHECK: error: invalid operand
830 #CHECK: cliy 0, -1
831 #CHECK: error: invalid operand
832 #CHECK: cliy 0, 256
833
834 cliy -524289, 0
835 cliy 524288, 0
836 cliy 0(%r1,%r2), 0
837 cliy 0, -1
838 cliy 0, 256
839
840 #CHECK: error: offset out of range
841 #CHECK: clrl %r0, -0x1000000002
842 #CHECK: error: offset out of range
843 #CHECK: clrl %r0, -1
844 #CHECK: error: offset out of range
845 #CHECK: clrl %r0, 1
846 #CHECK: error: offset out of range
847 #CHECK: clrl %r0, 0x100000000
848
849 clrl %r0, -0x1000000002
850 clrl %r0, -1
851 clrl %r0, 1
852 clrl %r0, 0x100000000
853
854 #CHECK: error: invalid operand
855 #CHECK: cly %r0, -524289
856 #CHECK: error: invalid operand
857 #CHECK: cly %r0, 524288
858
859 cly %r0, -524289
860 cly %r0, 524288
861
862 #CHECK: error: offset out of range
863 #CHECK: crl %r0, -0x1000000002
864 #CHECK: error: offset out of range
865 #CHECK: crl %r0, -1
866 #CHECK: error: offset out of range
867 #CHECK: crl %r0, 1
868 #CHECK: error: offset out of range
869 #CHECK: crl %r0, 0x100000000
870
871 crl %r0, -0x1000000002
872 crl %r0, -1
873 crl %r0, 1
874 crl %r0, 0x100000000
875
876 #CHECK: error: invalid operand
877 #CHECK: cs %r0, %r0, -1
878 #CHECK: error: invalid operand
879 #CHECK: cs %r0, %r0, 4096
880 #CHECK: error: invalid use of indexed addressing
881 #CHECK: cs %r0, %r0, 0(%r1,%r2)
882
883 cs %r0, %r0, -1
884 cs %r0, %r0, 4096
885 cs %r0, %r0, 0(%r1,%r2)
886
887 #CHECK: error: invalid operand
888 #CHECK: csg %r0, %r0, -524289
889 #CHECK: error: invalid operand
890 #CHECK: csg %r0, %r0, 524288
891 #CHECK: error: invalid use of indexed addressing
892 #CHECK: csg %r0, %r0, 0(%r1,%r2)
893
894 csg %r0, %r0, -524289
895 csg %r0, %r0, 524288
896 csg %r0, %r0, 0(%r1,%r2)
897
898 #CHECK: error: invalid operand
899 #CHECK: csy %r0, %r0, -524289
900 #CHECK: error: invalid operand
901 #CHECK: csy %r0, %r0, 524288
902 #CHECK: error: invalid use of indexed addressing
903 #CHECK: csy %r0, %r0, 0(%r1,%r2)
904
905 csy %r0, %r0, -524289
906 csy %r0, %r0, 524288
907 csy %r0, %r0, 0(%r1,%r2)
908
909 #CHECK: error: invalid register
910 #CHECK: cxbr %f0, %f2
911 #CHECK: error: invalid register
912 #CHECK: cxbr %f0, %f14
913 #CHECK: error: invalid register
914 #CHECK: cxbr %f2, %f0
915 #CHECK: error: invalid register
916 #CHECK: cxbr %f14, %f0
917
918 cxbr %f0, %f2
919 cxbr %f0, %f14
920 cxbr %f2, %f0
921 cxbr %f14, %f0
922
923
924 #CHECK: error: invalid register
925 #CHECK: cxfbr %r0, %r0
926 #CHECK: error: invalid register
927 #CHECK: cxfbr %f0, %f0
928 #CHECK: error: invalid register
929 #CHECK: cxfbr %f0, %a0
930 #CHECK: error: invalid register
931 #CHECK: cxfbr %a0, %r0
932 #CHECK: error: invalid register
933 #CHECK: cxfbr %f2, %r0
934 #CHECK: error: invalid register
935 #CHECK: cxfbr %f14, %r0
936
937 cxfbr %r0, %r0
938 cxfbr %f0, %f0
939 cxfbr %f0, %a0
940 cxfbr %a0, %r0
941 cxfbr %f2, %r0
942 cxfbr %f14, %r0
943
944 #CHECK: error: invalid register
945 #CHECK: cxgbr %r0, %r0
946 #CHECK: error: invalid register
947 #CHECK: cxgbr %f0, %f0
948 #CHECK: error: invalid register
949 #CHECK: cxgbr %f0, %a0
950 #CHECK: error: invalid register
951 #CHECK: cxgbr %a0, %r0
952 #CHECK: error: invalid register
953 #CHECK: cxgbr %f2, %r0
954 #CHECK: error: invalid register
955 #CHECK: cxgbr %f14, %r0
956
957 cxgbr %r0, %r0
958 cxgbr %f0, %f0
959 cxgbr %f0, %a0
960 cxgbr %a0, %r0
961 cxgbr %f2, %r0
962 cxgbr %f14, %r0
963
964 #CHECK: error: invalid operand
965 #CHECK: cy %r0, -524289
966 #CHECK: error: invalid operand
967 #CHECK: cy %r0, 524288
968
969 cy %r0, -524289
970 cy %r0, 524288
971
972 #CHECK: error: invalid operand
973 #CHECK: ddb %f0, -1
974 #CHECK: error: invalid operand
975 #CHECK: ddb %f0, 4096
976
977 ddb %f0, -1
978 ddb %f0, 4096
979
980 #CHECK: error: invalid operand
981 #CHECK: deb %f0, -1
982 #CHECK: error: invalid operand
983 #CHECK: deb %f0, 4096
984
985 deb %f0, -1
986 deb %f0, 4096
987
988 #CHECK: error: invalid operand
989 #CHECK: dl %r0, -524289
990 #CHECK: error: invalid operand
991 #CHECK: dl %r0, 524288
992 #CHECK: error: invalid register
993 #CHECK: dl %r1, 0
994 #CHECK: error: invalid register
995 #CHECK: dl %r15, 0
996
997 dl %r0, -524289
998 dl %r0, 524288
999 dl %r1, 0
1000 dl %r15, 0
1001
1002 #CHECK: error: invalid operand
1003 #CHECK: dlg %r0, -524289
1004 #CHECK: error: invalid operand
1005 #CHECK: dlg %r0, 524288
1006 #CHECK: error: invalid register
1007 #CHECK: dlg %r1, 0
1008 #CHECK: error: invalid register
1009 #CHECK: dlg %r15, 0
1010
1011 dlg %r0, -524289
1012 dlg %r0, 524288
1013 dlg %r1, 0
1014 dlg %r15, 0
1015
1016 #CHECK: error: invalid register
1017 #CHECK: dlgr %r1, %r0
1018 #CHECK: error: invalid register
1019 #CHECK: dlgr %r15, %r0
1020
1021 dlgr %r1, %r0
1022 dlgr %r15, %r0
1023
1024 #CHECK: error: invalid register
1025 #CHECK: dlr %r1, %r0
1026 #CHECK: error: invalid register
1027 #CHECK: dlr %r15, %r0
1028
1029 dlr %r1, %r0
1030 dlr %r15, %r0
1031
1032 #CHECK: error: invalid operand
1033 #CHECK: dsg %r0, -524289
1034 #CHECK: error: invalid operand
1035 #CHECK: dsg %r0, 524288
1036 #CHECK: error: invalid register
1037 #CHECK: dsg %r1, 0
1038 #CHECK: error: invalid register
1039 #CHECK: dsg %r15, 0
1040
1041 dsg %r0, -524289
1042 dsg %r0, 524288
1043 dsg %r1, 0
1044 dsg %r15, 0
1045
1046 #CHECK: error: invalid operand
1047 #CHECK: dsgf %r0, -524289
1048 #CHECK: error: invalid operand
1049 #CHECK: dsgf %r0, 524288
1050 #CHECK: error: invalid register
1051 #CHECK: dsgf %r1, 0
1052 #CHECK: error: invalid register
1053 #CHECK: dsgf %r15, 0
1054
1055 dsgf %r0, -524289
1056 dsgf %r0, 524288
1057 dsgf %r1, 0
1058 dsgf %r15, 0
1059
1060 #CHECK: error: invalid register
1061 #CHECK: dsgfr %r1, %r0
1062 #CHECK: error: invalid register
1063 #CHECK: dsgfr %r15, %r0
1064
1065 dsgfr %r1, %r0
1066 dsgfr %r15, %r0
1067
1068 #CHECK: error: invalid register
1069 #CHECK: dsgr %r1, %r0
1070 #CHECK: error: invalid register
1071 #CHECK: dsgr %r15, %r0
1072
1073 dsgr %r1, %r0
1074 dsgr %r15, %r0
1075
1076 #CHECK: error: invalid register
1077 #CHECK: dxbr %f0, %f2
1078 #CHECK: error: invalid register
1079 #CHECK: dxbr %f0, %f14
1080 #CHECK: error: invalid register
1081 #CHECK: dxbr %f2, %f0
1082 #CHECK: error: invalid register
1083 #CHECK: dxbr %f14, %f0
1084
1085 dxbr %f0, %f2
1086 dxbr %f0, %f14
1087 dxbr %f2, %f0
1088 dxbr %f14, %f0
1089
1090
1091 #CHECK: error: invalid operand
1092 #CHECK: ear %r0, 0
1093 #CHECK: error: invalid register
1094 #CHECK: ear %r0, %r0
1095 #CHECK: error: invalid register
1096 #CHECK: ear %a0, %r0
1097
1098 ear %r0, 0
1099 ear %r0, %r0
1100 ear %a0, %r0
1101
1102 #CHECK: error: invalid register
1103 #CHECK: fidbr %r0, 0, %f0
1104 #CHECK: error: invalid register
1105 #CHECK: fidbr %f0, 0, %r0
1106 #CHECK: error: invalid operand
1107 #CHECK: fidbr %f0, -1, %f0
1108 #CHECK: error: invalid operand
1109 #CHECK: fidbr %f0, 16, %f0
1110
1111 fidbr %r0, 0, %f0
1112 fidbr %f0, 0, %r0
1113 fidbr %f0, -1, %f0
1114 fidbr %f0, 16, %f0
1115
1116 #CHECK: error: invalid register
1117 #CHECK: fiebr %r0, 0, %f0
1118 #CHECK: error: invalid register
1119 #CHECK: fiebr %f0, 0, %r0
1120 #CHECK: error: invalid operand
1121 #CHECK: fiebr %f0, -1, %f0
1122 #CHECK: error: invalid operand
1123 #CHECK: fiebr %f0, 16, %f0
1124
1125 fiebr %r0, 0, %f0
1126 fiebr %f0, 0, %r0
1127 fiebr %f0, -1, %f0
1128 fiebr %f0, 16, %f0
1129
1130 #CHECK: error: invalid register
1131 #CHECK: fixbr %r0, 0, %f0
1132 #CHECK: error: invalid register
1133 #CHECK: fixbr %f0, 0, %r0
1134 #CHECK: error: invalid operand
1135 #CHECK: fixbr %f0, -1, %f0
1136 #CHECK: error: invalid operand
1137 #CHECK: fixbr %f0, 16, %f0
1138 #CHECK: error: invalid register
1139 #CHECK: fixbr %f0, 0, %f2
1140 #CHECK: error: invalid register
1141 #CHECK: fixbr %f0, 0, %f14
1142 #CHECK: error: invalid register
1143 #CHECK: fixbr %f2, 0, %f0
1144 #CHECK: error: invalid register
1145 #CHECK: fixbr %f14, 0, %f0
1146
1147 fixbr %r0, 0, %f0
1148 fixbr %f0, 0, %r0
1149 fixbr %f0, -1, %f0
1150 fixbr %f0, 16, %f0
1151 fixbr %f0, 0, %f2
1152 fixbr %f0, 0, %f14
1153 fixbr %f2, 0, %f0
1154 fixbr %f14, 0, %f0
1155
1156 #CHECK: error: invalid register
1157 #CHECK: flogr %r1, %r0
1158 #CHECK: error: invalid register
1159 #CHECK: flogr %r15, %r0
1160
1161 flogr %r1, %r0
1162 flogr %r15, %r0
1163
1164 #CHECK: error: invalid operand
1165 #CHECK: ic %r0, -1
1166 #CHECK: error: invalid operand
1167 #CHECK: ic %r0, 4096
1168
1169 ic %r0, -1
1170 ic %r0, 4096
1171
1172 #CHECK: error: invalid operand
1173 #CHECK: icy %r0, -524289
1174 #CHECK: error: invalid operand
1175 #CHECK: icy %r0, 524288
1176
1177 icy %r0, -524289
1178 icy %r0, 524288
1179
1180 #CHECK: error: invalid operand
1181 #CHECK: iihf %r0, -1
1182 #CHECK: error: invalid operand
1183 #CHECK: iihf %r0, 1 << 32
1184
1185 iihf %r0, -1
1186 iihf %r0, 1 << 32
1187
1188 #CHECK: error: invalid operand
1189 #CHECK: iihh %r0, -1
1190 #CHECK: error: invalid operand
1191 #CHECK: iihh %r0, 0x10000
1192
1193 iihh %r0, -1
1194 iihh %r0, 0x10000
1195
1196 #CHECK: error: invalid operand
1197 #CHECK: iihl %r0, -1
1198 #CHECK: error: invalid operand
1199 #CHECK: iihl %r0, 0x10000
1200
1201 iihl %r0, -1
1202 iihl %r0, 0x10000
1203
1204 #CHECK: error: invalid operand
1205 #CHECK: iilf %r0, -1
1206 #CHECK: error: invalid operand
1207 #CHECK: iilf %r0, 1 << 32
1208
1209 iilf %r0, -1
1210 iilf %r0, 1 << 32
1211
1212 #CHECK: error: invalid operand
1213 #CHECK: iilh %r0, -1
1214 #CHECK: error: invalid operand
1215 #CHECK: iilh %r0, 0x10000
1216
1217 iilh %r0, -1
1218 iilh %r0, 0x10000
1219
1220 #CHECK: error: invalid operand
1221 #CHECK: iill %r0, -1
1222 #CHECK: error: invalid operand
1223 #CHECK: iill %r0, 0x10000
1224
1225 iill %r0, -1
1226 iill %r0, 0x10000
1227
1228 #CHECK: error: invalid operand
1229 #CHECK: l %r0, -1
1230 #CHECK: error: invalid operand
1231 #CHECK: l %r0, 4096
1232
1233 l %r0, -1
1234 l %r0, 4096
1235
1236 #CHECK: error: invalid operand
1237 #CHECK: la %r0, -1
1238 #CHECK: error: invalid operand
1239 #CHECK: la %r0, 4096
1240
1241 la %r0, -1
1242 la %r0, 4096
1243
1244 #CHECK: error: offset out of range
1245 #CHECK: larl %r0, -0x1000000002
1246 #CHECK: error: offset out of range
1247 #CHECK: larl %r0, -1
1248 #CHECK: error: offset out of range
1249 #CHECK: larl %r0, 1
1250 #CHECK: error: offset out of range
1251 #CHECK: larl %r0, 0x100000000
1252
1253 larl %r0, -0x1000000002
1254 larl %r0, -1
1255 larl %r0, 1
1256 larl %r0, 0x100000000
1257
1258 #CHECK: error: invalid operand
1259 #CHECK: lay %r0, -524289
1260 #CHECK: error: invalid operand
1261 #CHECK: lay %r0, 524288
1262
1263 lay %r0, -524289
1264 lay %r0, 524288
1265
1266 #CHECK: error: invalid operand
1267 #CHECK: lb %r0, -524289
1268 #CHECK: error: invalid operand
1269 #CHECK: lb %r0, 524288
1270
1271 lb %r0, -524289
1272 lb %r0, 524288
1273
1274 #CHECK: error: invalid register
1275 #CHECK: lcxbr %f0, %f2
1276 #CHECK: error: invalid register
1277 #CHECK: lcxbr %f0, %f14
1278 #CHECK: error: invalid register
1279 #CHECK: lcxbr %f2, %f0
1280 #CHECK: error: invalid register
1281 #CHECK: lcxbr %f14, %f0
1282
1283 lcxbr %f0, %f2
1284 lcxbr %f0, %f14
1285 lcxbr %f2, %f0
1286 lcxbr %f14, %f0
1287
1288
1289 #CHECK: error: invalid operand
1290 #CHECK: ld %f0, -1
1291 #CHECK: error: invalid operand
1292 #CHECK: ld %f0, 4096
1293
1294 ld %f0, -1
1295 ld %f0, 4096
1296
1297 #CHECK: error: invalid operand
1298 #CHECK: ldeb %f0, -1
1299 #CHECK: error: invalid operand
1300 #CHECK: ldeb %f0, 4096
1301
1302 ldeb %f0, -1
1303 ldeb %f0, 4096
1304
1305 #CHECK: error: invalid register
1306 #CHECK: ldgr %f0, %f0
1307 #CHECK: error: invalid register
1308 #CHECK: ldgr %r0, %r0
1309 #CHECK: error: invalid register
1310 #CHECK: ldgr %f0, %a0
1311 #CHECK: error: invalid register
1312 #CHECK: ldgr %a0, %r0
1313
1314 ldgr %f0, %f0
1315 ldgr %r0, %r0
1316 ldgr %f0, %a0
1317 ldgr %a0, %r0
1318
1319 #CHECK: error: invalid register
1320 #CHECK: ldxbr %f0, %f2
1321 #CHECK: error: invalid register
1322 #CHECK: ldxbr %f0, %f14
1323 #CHECK: error: invalid register
1324 #CHECK: ldxbr %f2, %f0
1325 #CHECK: error: invalid register
1326 #CHECK: ldxbr %f14, %f0
1327
1328 ldxbr %f0, %f2
1329 ldxbr %f0, %f14
1330 ldxbr %f2, %f0
1331 ldxbr %f14, %f0
1332
1333 #CHECK: error: invalid operand
1334 #CHECK: ldy %f0, -524289
1335 #CHECK: error: invalid operand
1336 #CHECK: ldy %f0, 524288
1337
1338 ldy %f0, -524289
1339 ldy %f0, 524288
1340
1341 #CHECK: error: invalid operand
1342 #CHECK: le %f0, -1
1343 #CHECK: error: invalid operand
1344 #CHECK: le %f0, 4096
1345
1346 le %f0, -1
1347 le %f0, 4096
1348
1349 #CHECK: error: invalid register
1350 #CHECK: lexbr %f0, %f2
1351 #CHECK: error: invalid register
1352 #CHECK: lexbr %f0, %f14
1353 #CHECK: error: invalid register
1354 #CHECK: lexbr %f2, %f0
1355 #CHECK: error: invalid register
1356 #CHECK: lexbr %f14, %f0
1357
1358 lexbr %f0, %f2
1359 lexbr %f0, %f14
1360 lexbr %f2, %f0
1361 lexbr %f14, %f0
1362
1363 #CHECK: error: invalid operand
1364 #CHECK: ley %f0, -524289
1365 #CHECK: error: invalid operand
1366 #CHECK: ley %f0, 524288
1367
1368 ley %f0, -524289
1369 ley %f0, 524288
1370
1371 #CHECK: error: invalid operand
1372 #CHECK: lg %r0, -524289
1373 #CHECK: error: invalid operand
1374 #CHECK: lg %r0, 524288
1375
1376 lg %r0, -524289
1377 lg %r0, 524288
1378
1379 #CHECK: error: invalid operand
1380 #CHECK: lgb %r0, -524289
1381 #CHECK: error: invalid operand
1382 #CHECK: lgb %r0, 524288
1383
1384 lgb %r0, -524289
1385 lgb %r0, 524288
1386
1387 #CHECK: error: invalid register
1388 #CHECK: lgdr %f0, %f0
1389 #CHECK: error: invalid register
1390 #CHECK: lgdr %r0, %r0
1391 #CHECK: error: invalid register
1392 #CHECK: lgdr %r0, %a0
1393 #CHECK: error: invalid register
1394 #CHECK: lgdr %a0, %f0
1395
1396 lgdr %f0, %f0
1397 lgdr %r0, %r0
1398 lgdr %r0, %a0
1399 lgdr %a0, %f0
1400
1401 #CHECK: error: invalid operand
1402 #CHECK: lgf %r0, -524289
1403 #CHECK: error: invalid operand
1404 #CHECK: lgf %r0, 524288
1405
1406 lgf %r0, -524289
1407 lgf %r0, 524288
1408
1409 #CHECK: error: invalid operand
1410 #CHECK: lgfi %r0, (-1 << 31) - 1
1411 #CHECK: error: invalid operand
1412 #CHECK: lgfi %r0, (1 << 31)
1413
1414 lgfi %r0, (-1 << 31) - 1
1415 lgfi %r0, (1 << 31)
1416
1417 #CHECK: error: offset out of range
1418 #CHECK: lgfrl %r0, -0x1000000002
1419 #CHECK: error: offset out of range
1420 #CHECK: lgfrl %r0, -1
1421 #CHECK: error: offset out of range
1422 #CHECK: lgfrl %r0, 1
1423 #CHECK: error: offset out of range
1424 #CHECK: lgfrl %r0, 0x100000000
1425
1426 lgfrl %r0, -0x1000000002
1427 lgfrl %r0, -1
1428 lgfrl %r0, 1
1429 lgfrl %r0, 0x100000000
1430
1431 #CHECK: error: invalid operand
1432 #CHECK: lgh %r0, -524289
1433 #CHECK: error: invalid operand
1434 #CHECK: lgh %r0, 524288
1435
1436 lgh %r0, -524289
1437 lgh %r0, 524288
1438
1439 #CHECK: error: invalid operand
1440 #CHECK: lghi %r0, -32769
1441 #CHECK: error: invalid operand
1442 #CHECK: lghi %r0, 32768
1443 #CHECK: error: invalid operand
1444 #CHECK: lghi %r0, foo
1445
1446 lghi %r0, -32769
1447 lghi %r0, 32768
1448 lghi %r0, foo
1449
1450 #CHECK: error: offset out of range
1451 #CHECK: lghrl %r0, -0x1000000002
1452 #CHECK: error: offset out of range
1453 #CHECK: lghrl %r0, -1
1454 #CHECK: error: offset out of range
1455 #CHECK: lghrl %r0, 1
1456 #CHECK: error: offset out of range
1457 #CHECK: lghrl %r0, 0x100000000
1458
1459 lghrl %r0, -0x1000000002
1460 lghrl %r0, -1
1461 lghrl %r0, 1
1462 lghrl %r0, 0x100000000
1463
1464 #CHECK: error: offset out of range
1465 #CHECK: lgrl %r0, -0x1000000002
1466 #CHECK: error: offset out of range
1467 #CHECK: lgrl %r0, -1
1468 #CHECK: error: offset out of range
1469 #CHECK: lgrl %r0, 1
1470 #CHECK: error: offset out of range
1471 #CHECK: lgrl %r0, 0x100000000
1472
1473 lgrl %r0, -0x1000000002
1474 lgrl %r0, -1
1475 lgrl %r0, 1
1476 lgrl %r0, 0x100000000
1477
1478 #CHECK: error: invalid operand
1479 #CHECK: lh %r0, -1
1480 #CHECK: error: invalid operand
1481 #CHECK: lh %r0, 4096
1482
1483 lh %r0, -1
1484 lh %r0, 4096
1485
1486 #CHECK: error: invalid operand
1487 #CHECK: lhi %r0, -32769
1488 #CHECK: error: invalid operand
1489 #CHECK: lhi %r0, 32768
1490 #CHECK: error: invalid operand
1491 #CHECK: lhi %r0, foo
1492
1493 lhi %r0, -32769
1494 lhi %r0, 32768
1495 lhi %r0, foo
1496
1497 #CHECK: error: offset out of range
1498 #CHECK: lhrl %r0, -0x1000000002
1499 #CHECK: error: offset out of range
1500 #CHECK: lhrl %r0, -1
1501 #CHECK: error: offset out of range
1502 #CHECK: lhrl %r0, 1
1503 #CHECK: error: offset out of range
1504 #CHECK: lhrl %r0, 0x100000000
1505
1506 lhrl %r0, -0x1000000002
1507 lhrl %r0, -1
1508 lhrl %r0, 1
1509 lhrl %r0, 0x100000000
1510
1511 #CHECK: error: invalid operand
1512 #CHECK: lhy %r0, -524289
1513 #CHECK: error: invalid operand
1514 #CHECK: lhy %r0, 524288
1515
1516 lhy %r0, -524289
1517 lhy %r0, 524288
1518
1519 #CHECK: error: invalid operand
1520 #CHECK: llc %r0, -524289
1521 #CHECK: error: invalid operand
1522 #CHECK: llc %r0, 524288
1523
1524 llc %r0, -524289
1525 llc %r0, 524288
1526
1527 #CHECK: error: invalid operand
1528 #CHECK: llgc %r0, -524289
1529 #CHECK: error: invalid operand
1530 #CHECK: llgc %r0, 524288
1531
1532 llgc %r0, -524289
1533 llgc %r0, 524288
1534
1535 #CHECK: error: invalid operand
1536 #CHECK: llgf %r0, -524289
1537 #CHECK: error: invalid operand
1538 #CHECK: llgf %r0, 524288
1539
1540 llgf %r0, -524289
1541 llgf %r0, 524288
1542
1543 #CHECK: error: offset out of range
1544 #CHECK: llgfrl %r0, -0x1000000002
1545 #CHECK: error: offset out of range
1546 #CHECK: llgfrl %r0, -1
1547 #CHECK: error: offset out of range
1548 #CHECK: llgfrl %r0, 1
1549 #CHECK: error: offset out of range
1550 #CHECK: llgfrl %r0, 0x100000000
1551
1552 llgfrl %r0, -0x1000000002
1553 llgfrl %r0, -1
1554 llgfrl %r0, 1
1555 llgfrl %r0, 0x100000000
1556
1557 #CHECK: error: invalid operand
1558 #CHECK: llgh %r0, -524289
1559 #CHECK: error: invalid operand
1560 #CHECK: llgh %r0, 524288
1561
1562 llgh %r0, -524289
1563 llgh %r0, 524288
1564
1565 #CHECK: error: offset out of range
1566 #CHECK: llghrl %r0, -0x1000000002
1567 #CHECK: error: offset out of range
1568 #CHECK: llghrl %r0, -1
1569 #CHECK: error: offset out of range
1570 #CHECK: llghrl %r0, 1
1571 #CHECK: error: offset out of range
1572 #CHECK: llghrl %r0, 0x100000000
1573
1574 llghrl %r0, -0x1000000002
1575 llghrl %r0, -1
1576 llghrl %r0, 1
1577 llghrl %r0, 0x100000000
1578
1579 #CHECK: error: invalid operand
1580 #CHECK: llh %r0, -524289
1581 #CHECK: error: invalid operand
1582 #CHECK: llh %r0, 524288
1583
1584 llh %r0, -524289
1585 llh %r0, 524288
1586
1587 #CHECK: error: offset out of range
1588 #CHECK: llhrl %r0, -0x1000000002
1589 #CHECK: error: offset out of range
1590 #CHECK: llhrl %r0, -1
1591 #CHECK: error: offset out of range
1592 #CHECK: llhrl %r0, 1
1593 #CHECK: error: offset out of range
1594 #CHECK: llhrl %r0, 0x100000000
1595
1596 llhrl %r0, -0x1000000002
1597 llhrl %r0, -1
1598 llhrl %r0, 1
1599 llhrl %r0, 0x100000000
1600
1601 #CHECK: error: invalid operand
1602 #CHECK: llihf %r0, -1
1603 #CHECK: error: invalid operand
1604 #CHECK: llihf %r0, 1 << 32
1605
1606 llihf %r0, -1
1607 llihf %r0, 1 << 32
1608
1609 #CHECK: error: invalid operand
1610 #CHECK: llihh %r0, -1
1611 #CHECK: error: invalid operand
1612 #CHECK: llihh %r0, 0x10000
1613
1614 llihh %r0, -1
1615 llihh %r0, 0x10000
1616
1617 #CHECK: error: invalid operand
1618 #CHECK: llihl %r0, -1
1619 #CHECK: error: invalid operand
1620 #CHECK: llihl %r0, 0x10000
1621
1622 llihl %r0, -1
1623 llihl %r0, 0x10000
1624
1625 #CHECK: error: invalid operand
1626 #CHECK: llilf %r0, -1
1627 #CHECK: error: invalid operand
1628 #CHECK: llilf %r0, 1 << 32
1629
1630 llilf %r0, -1
1631 llilf %r0, 1 << 32
1632
1633 #CHECK: error: invalid operand
1634 #CHECK: llilh %r0, -1
1635 #CHECK: error: invalid operand
1636 #CHECK: llilh %r0, 0x10000
1637
1638 llilh %r0, -1
1639 llilh %r0, 0x10000
1640
1641 #CHECK: error: invalid operand
1642 #CHECK: llill %r0, -1
1643 #CHECK: error: invalid operand
1644 #CHECK: llill %r0, 0x10000
1645
1646 llill %r0, -1
1647 llill %r0, 0x10000
1648
1649 #CHECK: error: invalid operand
1650 #CHECK: lmg %r0, %r0, -524289
1651 #CHECK: error: invalid operand
1652 #CHECK: lmg %r0, %r0, 524288
1653 #CHECK: error: invalid use of indexed addressing
1654 #CHECK: lmg %r0, %r0, 0(%r1,%r2)
1655
1656 lmg %r0, %r0, -524289
1657 lmg %r0, %r0, 524288
1658 lmg %r0, %r0, 0(%r1,%r2)
1659
1660 #CHECK: error: invalid register
1661 #CHECK: lnxbr %f0, %f2
1662 #CHECK: error: invalid register
1663 #CHECK: lnxbr %f0, %f14
1664 #CHECK: error: invalid register
1665 #CHECK: lnxbr %f2, %f0
1666 #CHECK: error: invalid register
1667 #CHECK: lnxbr %f14, %f0
1668
1669 lnxbr %f0, %f2
1670 lnxbr %f0, %f14
1671 lnxbr %f2, %f0
1672 lnxbr %f14, %f0
1673
1674
1675 #CHECK: error: invalid register
1676 #CHECK: lpxbr %f0, %f2
1677 #CHECK: error: invalid register
1678 #CHECK: lpxbr %f0, %f14
1679 #CHECK: error: invalid register
1680 #CHECK: lpxbr %f2, %f0
1681 #CHECK: error: invalid register
1682 #CHECK: lpxbr %f14, %f0
1683
1684 lpxbr %f0, %f2
1685 lpxbr %f0, %f14
1686 lpxbr %f2, %f0
1687 lpxbr %f14, %f0
1688
1689
1690 #CHECK: error: offset out of range
1691 #CHECK: lrl %r0, -0x1000000002
1692 #CHECK: error: offset out of range
1693 #CHECK: lrl %r0, -1
1694 #CHECK: error: offset out of range
1695 #CHECK: lrl %r0, 1
1696 #CHECK: error: offset out of range
1697 #CHECK: lrl %r0, 0x100000000
1698
1699 lrl %r0, -0x1000000002
1700 lrl %r0, -1
1701 lrl %r0, 1
1702 lrl %r0, 0x100000000
1703
1704 #CHECK: error: invalid operand
1705 #CHECK: lrv %r0, -524289
1706 #CHECK: error: invalid operand
1707 #CHECK: lrv %r0, 524288
1708
1709 lrv %r0, -524289
1710 lrv %r0, 524288
1711
1712 #CHECK: error: invalid operand
1713 #CHECK: lrvg %r0, -524289
1714 #CHECK: error: invalid operand
1715 #CHECK: lrvg %r0, 524288
1716
1717 lrvg %r0, -524289
1718 lrvg %r0, 524288
1719
1720 #CHECK: error: invalid register
1721 #CHECK: lxr %f2, %f0
1722 #CHECK: error: invalid register
1723 #CHECK: lxr %f15, %f0
1724 #CHECK: error: invalid register
1725 #CHECK: lxr %f0, %f2
1726 #CHECK: error: invalid register
1727 #CHECK: lxr %f0, %f15
1728
1729 lxr %f2, %f0
1730 lxr %f15, %f0
1731 lxr %f0, %f2
1732 lxr %f0, %f15
1733
1734 #CHECK: error: invalid operand
1735 #CHECK: ly %r0, -524289
1736 #CHECK: error: invalid operand
1737 #CHECK: ly %r0, 524288
1738
1739 ly %r0, -524289
1740 ly %r0, 524288
1741
1742 #CHECK: error: invalid register
1743 #CHECK: lzxr %f2
1744 #CHECK: error: invalid register
1745 #CHECK: lzxr %f14
1746 #CHECK: error: invalid register
1747 #CHECK: lzxr %f15
1748
1749 lzxr %f2
1750 lzxr %f14
1751 lzxr %f15
1752
1753 #CHECK: error: invalid operand
1754 #CHECK: madb %f0, %f0, -1
1755 #CHECK: error: invalid operand
1756 #CHECK: madb %f0, %f0, 4096
1757
1758 madb %f0, %f0, -1
1759 madb %f0, %f0, 4096
1760
1761 #CHECK: error: invalid operand
1762 #CHECK: maeb %f0, %f0, -1
1763 #CHECK: error: invalid operand
1764 #CHECK: maeb %f0, %f0, 4096
1765
1766 maeb %f0, %f0, -1
1767 maeb %f0, %f0, 4096
1768
1769 #CHECK: error: invalid operand
1770 #CHECK: mdb %f0, -1
1771 #CHECK: error: invalid operand
1772 #CHECK: mdb %f0, 4096
1773
1774 mdb %f0, -1
1775 mdb %f0, 4096
1776
1777 #CHECK: error: invalid operand
1778 #CHECK: mdeb %f0, -1
1779 #CHECK: error: invalid operand
1780 #CHECK: mdeb %f0, 4096
1781
1782 mdeb %f0, -1
1783 mdeb %f0, 4096
1784
1785 #CHECK: error: invalid operand
1786 #CHECK: meeb %f0, -1
1787 #CHECK: error: invalid operand
1788 #CHECK: meeb %f0, 4096
1789
1790 meeb %f0, -1
1791 meeb %f0, 4096
1792
1793 #CHECK: error: invalid operand
1794 #CHECK: mghi %r0, -32769
1795 #CHECK: error: invalid operand
1796 #CHECK: mghi %r0, 32768
1797 #CHECK: error: invalid operand
1798 #CHECK: mghi %r0, foo
1799
1800 mghi %r0, -32769
1801 mghi %r0, 32768
1802 mghi %r0, foo
1803
1804 #CHECK: error: invalid operand
1805 #CHECK: mh %r0, -1
1806 #CHECK: error: invalid operand
1807 #CHECK: mh %r0, 4096
1808
1809 mh %r0, -1
1810 mh %r0, 4096
1811
1812 #CHECK: error: invalid operand
1813 #CHECK: mhi %r0, -32769
1814 #CHECK: error: invalid operand
1815 #CHECK: mhi %r0, 32768
1816 #CHECK: error: invalid operand
1817 #CHECK: mhi %r0, foo
1818
1819 mhi %r0, -32769
1820 mhi %r0, 32768
1821 mhi %r0, foo
1822
1823 #CHECK: error: invalid operand
1824 #CHECK: mhy %r0, -524289
1825 #CHECK: error: invalid operand
1826 #CHECK: mhy %r0, 524288
1827
1828 mhy %r0, -524289
1829 mhy %r0, 524288
1830
1831 #CHECK: error: invalid operand
1832 #CHECK: mlg %r0, -524289
1833 #CHECK: error: invalid operand
1834 #CHECK: mlg %r0, 524288
1835 #CHECK: error: invalid register
1836 #CHECK: mlg %r1, 0
1837 #CHECK: error: invalid register
1838 #CHECK: mlg %r15, 0
1839
1840 mlg %r0, -524289
1841 mlg %r0, 524288
1842 mlg %r1, 0
1843 mlg %r15, 0
1844
1845 #CHECK: error: invalid register
1846 #CHECK: mlgr %r1, %r0
1847 #CHECK: error: invalid register
1848 #CHECK: mlgr %r15, %r0
1849
1850 mlgr %r1, %r0
1851 mlgr %r15, %r0
1852
1853 #CHECK: error: invalid operand
1854 #CHECK: ms %r0, -1
1855 #CHECK: error: invalid operand
1856 #CHECK: ms %r0, 4096
1857
1858 ms %r0, -1
1859 ms %r0, 4096
1860
1861 #CHECK: error: invalid operand
1862 #CHECK: msdb %f0, %f0, -1
1863 #CHECK: error: invalid operand
1864 #CHECK: msdb %f0, %f0, 4096
1865
1866 msdb %f0, %f0, -1
1867 msdb %f0, %f0, 4096
1868
1869 #CHECK: error: invalid operand
1870 #CHECK: mseb %f0, %f0, -1
1871 #CHECK: error: invalid operand
1872 #CHECK: mseb %f0, %f0, 4096
1873
1874 mseb %f0, %f0, -1
1875 mseb %f0, %f0, 4096
1876
1877 #CHECK: error: invalid operand
1878 #CHECK: msfi %r0, (-1 << 31) - 1
1879 #CHECK: error: invalid operand
1880 #CHECK: msfi %r0, (1 << 31)
1881
1882 msfi %r0, (-1 << 31) - 1
1883 msfi %r0, (1 << 31)
1884
1885 #CHECK: error: invalid operand
1886 #CHECK: msg %r0, -524289
1887 #CHECK: error: invalid operand
1888 #CHECK: msg %r0, 524288
1889
1890 msg %r0, -524289
1891 msg %r0, 524288
1892
1893 #CHECK: error: invalid operand
1894 #CHECK: msgf %r0, -524289
1895 #CHECK: error: invalid operand
1896 #CHECK: msgf %r0, 524288
1897
1898 msgf %r0, -524289
1899 msgf %r0, 524288
1900
1901 #CHECK: error: invalid operand
1902 #CHECK: msgfi %r0, (-1 << 31) - 1
1903 #CHECK: error: invalid operand
1904 #CHECK: msgfi %r0, (1 << 31)
1905
1906 msgfi %r0, (-1 << 31) - 1
1907 msgfi %r0, (1 << 31)
1908
1909 #CHECK: error: invalid operand
1910 #CHECK: msy %r0, -524289
1911 #CHECK: error: invalid operand
1912 #CHECK: msy %r0, 524288
1913
1914 msy %r0, -524289
1915 msy %r0, 524288
1916
1917 #CHECK: error: invalid operand
1918 #CHECK: mvghi -1, 0
1919 #CHECK: error: invalid operand
1920 #CHECK: mvghi 4096, 0
1921 #CHECK: error: invalid use of indexed addressing
1922 #CHECK: mvghi 0(%r1,%r2), 0
1923 #CHECK: error: invalid operand
1924 #CHECK: mvghi 0, -32769
1925 #CHECK: error: invalid operand
1926 #CHECK: mvghi 0, 32768
1927
1928 mvghi -1, 0
1929 mvghi 4096, 0
1930 mvghi 0(%r1,%r2), 0
1931 mvghi 0, -32769
1932 mvghi 0, 32768
1933
1934 #CHECK: error: invalid operand
1935 #CHECK: mvhhi -1, 0
1936 #CHECK: error: invalid operand
1937 #CHECK: mvhhi 4096, 0
1938 #CHECK: error: invalid use of indexed addressing
1939 #CHECK: mvhhi 0(%r1,%r2), 0
1940 #CHECK: error: invalid operand
1941 #CHECK: mvhhi 0, -32769
1942 #CHECK: error: invalid operand
1943 #CHECK: mvhhi 0, 32768
1944
1945 mvhhi -1, 0
1946 mvhhi 4096, 0
1947 mvhhi 0(%r1,%r2), 0
1948 mvhhi 0, -32769
1949 mvhhi 0, 32768
1950
1951 #CHECK: error: invalid operand
1952 #CHECK: mvhi -1, 0
1953 #CHECK: error: invalid operand
1954 #CHECK: mvhi 4096, 0
1955 #CHECK: error: invalid use of indexed addressing
1956 #CHECK: mvhi 0(%r1,%r2), 0
1957 #CHECK: error: invalid operand
1958 #CHECK: mvhi 0, -32769
1959 #CHECK: error: invalid operand
1960 #CHECK: mvhi 0, 32768
1961
1962 mvhi -1, 0
1963 mvhi 4096, 0
1964 mvhi 0(%r1,%r2), 0
1965 mvhi 0, -32769
1966 mvhi 0, 32768
1967
1968 #CHECK: error: invalid operand
1969 #CHECK: mvi -1, 0
1970 #CHECK: error: invalid operand
1971 #CHECK: mvi 4096, 0
1972 #CHECK: error: invalid use of indexed addressing
1973 #CHECK: mvi 0(%r1,%r2), 0
1974 #CHECK: error: invalid operand
1975 #CHECK: mvi 0, -1
1976 #CHECK: error: invalid operand
1977 #CHECK: mvi 0, 256
1978
1979 mvi -1, 0
1980 mvi 4096, 0
1981 mvi 0(%r1,%r2), 0
1982 mvi 0, -1
1983 mvi 0, 256
1984
1985 #CHECK: error: invalid operand
1986 #CHECK: mviy -524289, 0
1987 #CHECK: error: invalid operand
1988 #CHECK: mviy 524288, 0
1989 #CHECK: error: invalid use of indexed addressing
1990 #CHECK: mviy 0(%r1,%r2), 0
1991 #CHECK: error: invalid operand
1992 #CHECK: mviy 0, -1
1993 #CHECK: error: invalid operand
1994 #CHECK: mviy 0, 256
1995
1996 mviy -524289, 0
1997 mviy 524288, 0
1998 mviy 0(%r1,%r2), 0
1999 mviy 0, -1
2000 mviy 0, 256
2001
2002 #CHECK: error: invalid register
2003 #CHECK: mxbr %f0, %f2
2004 #CHECK: error: invalid register
2005 #CHECK: mxbr %f0, %f14
2006 #CHECK: error: invalid register
2007 #CHECK: mxbr %f2, %f0
2008 #CHECK: error: invalid register
2009 #CHECK: mxbr %f14, %f0
2010
2011 mxbr %f0, %f2
2012 mxbr %f0, %f14
2013 mxbr %f2, %f0
2014 mxbr %f14, %f0
2015
2016
2017 #CHECK: error: invalid register
2018 #CHECK: mxdb %f2, 0
2019 #CHECK: error: invalid register
2020 #CHECK: mxdb %f15, 0
2021 #CHECK: error: invalid operand
2022 #CHECK: mxdb %f0, -1
2023 #CHECK: error: invalid operand
2024 #CHECK: mxdb %f0, 4096
2025
2026 mxdb %f2, 0
2027 mxdb %f15, 0
2028 mxdb %f0, -1
2029 mxdb %f0, 4096
2030
2031 #CHECK: error: invalid register
2032 #CHECK: mxdbr %f2, %f0
2033 #CHECK: error: invalid register
2034 #CHECK: mxdbr %f15, %f0
2035
2036 mxdbr %f2, %f0
2037 mxdbr %f15, %f0
2038
2039 #CHECK: error: invalid operand
2040 #CHECK: n %r0, -1
2041 #CHECK: error: invalid operand
2042 #CHECK: n %r0, 4096
2043
2044 n %r0, -1
2045 n %r0, 4096
2046
2047 #CHECK: error: invalid operand
2048 #CHECK: ng %r0, -524289
2049 #CHECK: error: invalid operand
2050 #CHECK: ng %r0, 524288
2051
2052 ng %r0, -524289
2053 ng %r0, 524288
2054
2055 #CHECK: error: invalid operand
2056 #CHECK: ni -1, 0
2057 #CHECK: error: invalid operand
2058 #CHECK: ni 4096, 0
2059 #CHECK: error: invalid use of indexed addressing
2060 #CHECK: ni 0(%r1,%r2), 0
2061 #CHECK: error: invalid operand
2062 #CHECK: ni 0, -1
2063 #CHECK: error: invalid operand
2064 #CHECK: ni 0, 256
2065
2066 ni -1, 0
2067 ni 4096, 0
2068 ni 0(%r1,%r2), 0
2069 ni 0, -1
2070 ni 0, 256
2071
2072 #CHECK: error: invalid operand
2073 #CHECK: nihf %r0, -1
2074 #CHECK: error: invalid operand
2075 #CHECK: nihf %r0, 1 << 32
2076
2077 nihf %r0, -1
2078 nihf %r0, 1 << 32
2079
2080 #CHECK: error: invalid operand
2081 #CHECK: nihh %r0, -1
2082 #CHECK: error: invalid operand
2083 #CHECK: nihh %r0, 0x10000
2084
2085 nihh %r0, -1
2086 nihh %r0, 0x10000
2087
2088 #CHECK: error: invalid operand
2089 #CHECK: nihl %r0, -1
2090 #CHECK: error: invalid operand
2091 #CHECK: nihl %r0, 0x10000
2092
2093 nihl %r0, -1
2094 nihl %r0, 0x10000
2095
2096 #CHECK: error: invalid operand
2097 #CHECK: nilf %r0, -1
2098 #CHECK: error: invalid operand
2099 #CHECK: nilf %r0, 1 << 32
2100
2101 nilf %r0, -1
2102 nilf %r0, 1 << 32
2103
2104 #CHECK: error: invalid operand
2105 #CHECK: nilh %r0, -1
2106 #CHECK: error: invalid operand
2107 #CHECK: nilh %r0, 0x10000
2108
2109 nilh %r0, -1
2110 nilh %r0, 0x10000
2111
2112 #CHECK: error: invalid operand
2113 #CHECK: nill %r0, -1
2114 #CHECK: error: invalid operand
2115 #CHECK: nill %r0, 0x10000
2116
2117 nill %r0, -1
2118 nill %r0, 0x10000
2119
2120 #CHECK: error: invalid operand
2121 #CHECK: niy -524289, 0
2122 #CHECK: error: invalid operand
2123 #CHECK: niy 524288, 0
2124 #CHECK: error: invalid use of indexed addressing
2125 #CHECK: niy 0(%r1,%r2), 0
2126 #CHECK: error: invalid operand
2127 #CHECK: niy 0, -1
2128 #CHECK: error: invalid operand
2129 #CHECK: niy 0, 256
2130
2131 niy -524289, 0
2132 niy 524288, 0
2133 niy 0(%r1,%r2), 0
2134 niy 0, -1
2135 niy 0, 256
2136
2137 #CHECK: error: invalid operand
2138 #CHECK: ny %r0, -524289
2139 #CHECK: error: invalid operand
2140 #CHECK: ny %r0, 524288
2141
2142 ny %r0, -524289
2143 ny %r0, 524288
2144
2145 #CHECK: error: invalid operand
2146 #CHECK: o %r0, -1
2147 #CHECK: error: invalid operand
2148 #CHECK: o %r0, 4096
2149
2150 o %r0, -1
2151 o %r0, 4096
2152
2153 #CHECK: error: invalid operand
2154 #CHECK: og %r0, -524289
2155 #CHECK: error: invalid operand
2156 #CHECK: og %r0, 524288
2157
2158 og %r0, -524289
2159 og %r0, 524288
2160
2161 #CHECK: error: invalid operand
2162 #CHECK: oi -1, 0
2163 #CHECK: error: invalid operand
2164 #CHECK: oi 4096, 0
2165 #CHECK: error: invalid use of indexed addressing
2166 #CHECK: oi 0(%r1,%r2), 0
2167 #CHECK: error: invalid operand
2168 #CHECK: oi 0, -1
2169 #CHECK: error: invalid operand
2170 #CHECK: oi 0, 256
2171
2172 oi -1, 0
2173 oi 4096, 0
2174 oi 0(%r1,%r2), 0
2175 oi 0, -1
2176 oi 0, 256
2177
2178 #CHECK: error: invalid operand
2179 #CHECK: oihf %r0, -1
2180 #CHECK: error: invalid operand
2181 #CHECK: oihf %r0, 1 << 32
2182
2183 oihf %r0, -1
2184 oihf %r0, 1 << 32
2185
2186 #CHECK: error: invalid operand
2187 #CHECK: oihh %r0, -1
2188 #CHECK: error: invalid operand
2189 #CHECK: oihh %r0, 0x10000
2190
2191 oihh %r0, -1
2192 oihh %r0, 0x10000
2193
2194 #CHECK: error: invalid operand
2195 #CHECK: oihl %r0, -1
2196 #CHECK: error: invalid operand
2197 #CHECK: oihl %r0, 0x10000
2198
2199 oihl %r0, -1
2200 oihl %r0, 0x10000
2201
2202 #CHECK: error: invalid operand
2203 #CHECK: oilf %r0, -1
2204 #CHECK: error: invalid operand
2205 #CHECK: oilf %r0, 1 << 32
2206
2207 oilf %r0, -1
2208 oilf %r0, 1 << 32
2209
2210 #CHECK: error: invalid operand
2211 #CHECK: oilh %r0, -1
2212 #CHECK: error: invalid operand
2213 #CHECK: oilh %r0, 0x10000
2214
2215 oilh %r0, -1
2216 oilh %r0, 0x10000
2217
2218 #CHECK: error: invalid operand
2219 #CHECK: oill %r0, -1
2220 #CHECK: error: invalid operand
2221 #CHECK: oill %r0, 0x10000
2222
2223 oill %r0, -1
2224 oill %r0, 0x10000
2225
2226 #CHECK: error: invalid operand
2227 #CHECK: oiy -524289, 0
2228 #CHECK: error: invalid operand
2229 #CHECK: oiy 524288, 0
2230 #CHECK: error: invalid use of indexed addressing
2231 #CHECK: oiy 0(%r1,%r2), 0
2232 #CHECK: error: invalid operand
2233 #CHECK: oiy 0, -1
2234 #CHECK: error: invalid operand
2235 #CHECK: oiy 0, 256
2236
2237 oiy -524289, 0
2238 oiy 524288, 0
2239 oiy 0(%r1,%r2), 0
2240 oiy 0, -1
2241 oiy 0, 256
2242
2243 #CHECK: error: invalid operand
2244 #CHECK: oy %r0, -524289
2245 #CHECK: error: invalid operand
2246 #CHECK: oy %r0, 524288
2247
2248 oy %r0, -524289
2249 oy %r0, 524288
2250
2251 #CHECK: error: invalid operand
2252 #CHECK: risbg %r0,%r0,0,0,-1
2253 #CHECK: error: invalid operand
2254 #CHECK: risbg %r0,%r0,0,0,64
2255 #CHECK: error: invalid operand
2256 #CHECK: risbg %r0,%r0,0,-1,0
2257 #CHECK: error: invalid operand
2258 #CHECK: risbg %r0,%r0,0,64,0
2259 #CHECK: error: invalid operand
2260 #CHECK: risbg %r0,%r0,-1,0,0
2261 #CHECK: error: invalid operand
2262 #CHECK: risbg %r0,%r0,64,0,0
2263
2264 risbg %r0,%r0,0,0,-1
2265 risbg %r0,%r0,0,0,64
2266 risbg %r0,%r0,0,-1,0
2267 risbg %r0,%r0,0,64,0
2268 risbg %r0,%r0,-1,0,0
2269 risbg %r0,%r0,64,0,0
2270
2271 #CHECK: error: invalid operand
2272 #CHECK: rll %r0,%r0,-524289
2273 #CHECK: error: invalid operand
2274 #CHECK: rll %r0,%r0,524288
2275 #CHECK: error: %r0 used in an address
2276 #CHECK: rll %r0,%r0,0(%r0)
2277 #CHECK: error: invalid use of indexed addressing
2278 #CHECK: rll %r0,%r0,0(%r1,%r2)
2279
2280 rll %r0,%r0,-524289
2281 rll %r0,%r0,524288
2282 rll %r0,%r0,0(%r0)
2283 rll %r0,%r0,0(%r1,%r2)
2284
2285 #CHECK: error: invalid operand
2286 #CHECK: rllg %r0,%r0,-524289
2287 #CHECK: error: invalid operand
2288 #CHECK: rllg %r0,%r0,524288
2289 #CHECK: error: %r0 used in an address
2290 #CHECK: rllg %r0,%r0,0(%r0)
2291 #CHECK: error: invalid use of indexed addressing
2292 #CHECK: rllg %r0,%r0,0(%r1,%r2)
2293
2294 rllg %r0,%r0,-524289
2295 rllg %r0,%r0,524288
2296 rllg %r0,%r0,0(%r0)
2297 rllg %r0,%r0,0(%r1,%r2)
2298
2299 #CHECK: error: invalid operand
2300 #CHECK: s %r0, -1
2301 #CHECK: error: invalid operand
2302 #CHECK: s %r0, 4096
2303
2304 s %r0, -1
2305 s %r0, 4096
2306
2307 #CHECK: error: invalid operand
2308 #CHECK: sdb %f0, -1
2309 #CHECK: error: invalid operand
2310 #CHECK: sdb %f0, 4096
2311
2312 sdb %f0, -1
2313 sdb %f0, 4096
2314
2315 #CHECK: error: invalid operand
2316 #CHECK: seb %f0, -1
2317 #CHECK: error: invalid operand
2318 #CHECK: seb %f0, 4096
2319
2320 seb %f0, -1
2321 seb %f0, 4096
2322
2323 #CHECK: error: invalid operand
2324 #CHECK: sg %r0, -524289
2325 #CHECK: error: invalid operand
2326 #CHECK: sg %r0, 524288
2327
2328 sg %r0, -524289
2329 sg %r0, 524288
2330
2331 #CHECK: error: invalid operand
2332 #CHECK: sgf %r0, -524289
2333 #CHECK: error: invalid operand
2334 #CHECK: sgf %r0, 524288
2335
2336 sgf %r0, -524289
2337 sgf %r0, 524288
2338
2339 #CHECK: error: invalid operand
2340 #CHECK: sl %r0, -1
2341 #CHECK: error: invalid operand
2342 #CHECK: sl %r0, 4096
2343
2344 sl %r0, -1
2345 sl %r0, 4096
2346
2347 #CHECK: error: invalid operand
2348 #CHECK: slb %r0, -524289
2349 #CHECK: error: invalid operand
2350 #CHECK: slb %r0, 524288
2351
2352 slb %r0, -524289
2353 slb %r0, 524288
2354
2355 #CHECK: error: invalid operand
2356 #CHECK: slbg %r0, -524289
2357 #CHECK: error: invalid operand
2358 #CHECK: slbg %r0, 524288
2359
2360 slbg %r0, -524289
2361 slbg %r0, 524288
2362
2363 #CHECK: error: invalid operand
2364 #CHECK: slfi %r0, -1
2365 #CHECK: error: invalid operand
2366 #CHECK: slfi %r0, (1 << 32)
2367
2368 slfi %r0, -1
2369 slfi %r0, (1 << 32)
2370
2371 #CHECK: error: invalid operand
2372 #CHECK: slg %r0, -524289
2373 #CHECK: error: invalid operand
2374 #CHECK: slg %r0, 524288
2375
2376 slg %r0, -524289
2377 slg %r0, 524288
2378
2379 #CHECK: error: invalid operand
2380 #CHECK: slgf %r0, -524289
2381 #CHECK: error: invalid operand
2382 #CHECK: slgf %r0, 524288
2383
2384 slgf %r0, -524289
2385 slgf %r0, 524288
2386
2387 #CHECK: error: invalid operand
2388 #CHECK: slgfi %r0, -1
2389 #CHECK: error: invalid operand
2390 #CHECK: slgfi %r0, (1 << 32)
2391
2392 slgfi %r0, -1
2393 slgfi %r0, (1 << 32)
2394
2395 #CHECK: error: invalid operand
2396 #CHECK: sll %r0,-1
2397 #CHECK: error: invalid operand
2398 #CHECK: sll %r0,4096
2399 #CHECK: error: %r0 used in an address
2400 #CHECK: sll %r0,0(%r0)
2401 #CHECK: error: invalid use of indexed addressing
2402 #CHECK: sll %r0,0(%r1,%r2)
2403
2404 sll %r0,-1
2405 sll %r0,4096
2406 sll %r0,0(%r0)
2407 sll %r0,0(%r1,%r2)
2408
2409 #CHECK: error: invalid operand
2410 #CHECK: sllg %r0,%r0,-524289
2411 #CHECK: error: invalid operand
2412 #CHECK: sllg %r0,%r0,524288
2413 #CHECK: error: %r0 used in an address
2414 #CHECK: sllg %r0,%r0,0(%r0)
2415 #CHECK: error: invalid use of indexed addressing
2416 #CHECK: sllg %r0,%r0,0(%r1,%r2)
2417
2418 sllg %r0,%r0,-524289
2419 sllg %r0,%r0,524288
2420 sllg %r0,%r0,0(%r0)
2421 sllg %r0,%r0,0(%r1,%r2)
2422
2423 #CHECK: error: invalid operand
2424 #CHECK: sly %r0, -524289
2425 #CHECK: error: invalid operand
2426 #CHECK: sly %r0, 524288
2427
2428 sly %r0, -524289
2429 sly %r0, 524288
2430
2431 #CHECK: error: invalid operand
2432 #CHECK: sqdb %f0, -1
2433 #CHECK: error: invalid operand
2434 #CHECK: sqdb %f0, 4096
2435
2436 sqdb %f0, -1
2437 sqdb %f0, 4096
2438
2439 #CHECK: error: invalid operand
2440 #CHECK: sqeb %f0, -1
2441 #CHECK: error: invalid operand
2442 #CHECK: sqeb %f0, 4096
2443
2444 sqeb %f0, -1
2445 sqeb %f0, 4096
2446
2447 #CHECK: error: invalid register
2448 #CHECK: sqxbr %f0, %f2
2449 #CHECK: error: invalid register
2450 #CHECK: sqxbr %f0, %f14
2451 #CHECK: error: invalid register
2452 #CHECK: sqxbr %f2, %f0
2453 #CHECK: error: invalid register
2454 #CHECK: sqxbr %f14, %f0
2455
2456 sqxbr %f0, %f2
2457 sqxbr %f0, %f14
2458 sqxbr %f2, %f0
2459 sqxbr %f14, %f0
2460
2461
2462 #CHECK: error: invalid operand
2463 #CHECK: sra %r0,-1
2464 #CHECK: error: invalid operand
2465 #CHECK: sra %r0,4096
2466 #CHECK: error: %r0 used in an address
2467 #CHECK: sra %r0,0(%r0)
2468 #CHECK: error: invalid use of indexed addressing
2469 #CHECK: sra %r0,0(%r1,%r2)
2470
2471 sra %r0,-1
2472 sra %r0,4096
2473 sra %r0,0(%r0)
2474 sra %r0,0(%r1,%r2)
2475
2476 #CHECK: error: invalid operand
2477 #CHECK: srag %r0,%r0,-524289
2478 #CHECK: error: invalid operand
2479 #CHECK: srag %r0,%r0,524288
2480 #CHECK: error: %r0 used in an address
2481 #CHECK: srag %r0,%r0,0(%r0)
2482 #CHECK: error: invalid use of indexed addressing
2483 #CHECK: srag %r0,%r0,0(%r1,%r2)
2484
2485 srag %r0,%r0,-524289
2486 srag %r0,%r0,524288
2487 srag %r0,%r0,0(%r0)
2488 srag %r0,%r0,0(%r1,%r2)
2489
2490 #CHECK: error: invalid operand
2491 #CHECK: srl %r0,-1
2492 #CHECK: error: invalid operand
2493 #CHECK: srl %r0,4096
2494 #CHECK: error: %r0 used in an address
2495 #CHECK: srl %r0,0(%r0)
2496 #CHECK: error: invalid use of indexed addressing
2497 #CHECK: srl %r0,0(%r1,%r2)
2498
2499 srl %r0,-1
2500 srl %r0,4096
2501 srl %r0,0(%r0)
2502 srl %r0,0(%r1,%r2)
2503
2504 #CHECK: error: invalid operand
2505 #CHECK: srlg %r0,%r0,-524289
2506 #CHECK: error: invalid operand
2507 #CHECK: srlg %r0,%r0,524288
2508 #CHECK: error: %r0 used in an address
2509 #CHECK: srlg %r0,%r0,0(%r0)
2510 #CHECK: error: invalid use of indexed addressing
2511 #CHECK: srlg %r0,%r0,0(%r1,%r2)
2512
2513 srlg %r0,%r0,-524289
2514 srlg %r0,%r0,524288
2515 srlg %r0,%r0,0(%r0)
2516 srlg %r0,%r0,0(%r1,%r2)
2517
2518 #CHECK: error: invalid operand
2519 #CHECK: st %r0, -1
2520 #CHECK: error: invalid operand
2521 #CHECK: st %r0, 4096
2522
2523 st %r0, -1
2524 st %r0, 4096
2525
2526 #CHECK: error: invalid operand
2527 #CHECK: stc %r0, -1
2528 #CHECK: error: invalid operand
2529 #CHECK: stc %r0, 4096
2530
2531 stc %r0, -1
2532 stc %r0, 4096
2533
2534 #CHECK: error: invalid operand
2535 #CHECK: stcy %r0, -524289
2536 #CHECK: error: invalid operand
2537 #CHECK: stcy %r0, 524288
2538
2539 stcy %r0, -524289
2540 stcy %r0, 524288
2541
2542 #CHECK: error: invalid operand
2543 #CHECK: std %f0, -1
2544 #CHECK: error: invalid operand
2545 #CHECK: std %f0, 4096
2546
2547 std %f0, -1
2548 std %f0, 4096
2549
2550 #CHECK: error: invalid operand
2551 #CHECK: stdy %f0, -524289
2552 #CHECK: error: invalid operand
2553 #CHECK: stdy %f0, 524288
2554
2555 stdy %f0, -524289
2556 stdy %f0, 524288
2557
2558 #CHECK: error: invalid operand
2559 #CHECK: ste %f0, -1
2560 #CHECK: error: invalid operand
2561 #CHECK: ste %f0, 4096
2562
2563 ste %f0, -1
2564 ste %f0, 4096
2565
2566 #CHECK: error: invalid operand
2567 #CHECK: stey %f0, -524289
2568 #CHECK: error: invalid operand
2569 #CHECK: stey %f0, 524288
2570
2571 stey %f0, -524289
2572 stey %f0, 524288
2573
2574 #CHECK: error: invalid operand
2575 #CHECK: stg %r0, -524289
2576 #CHECK: error: invalid operand
2577 #CHECK: stg %r0, 524288
2578
2579 stg %r0, -524289
2580 stg %r0, 524288
2581
2582 #CHECK: error: offset out of range
2583 #CHECK: stgrl %r0, -0x1000000002
2584 #CHECK: error: offset out of range
2585 #CHECK: stgrl %r0, -1
2586 #CHECK: error: offset out of range
2587 #CHECK: stgrl %r0, 1
2588 #CHECK: error: offset out of range
2589 #CHECK: stgrl %r0, 0x100000000
2590
2591 stgrl %r0, -0x1000000002
2592 stgrl %r0, -1
2593 stgrl %r0, 1
2594 stgrl %r0, 0x100000000
2595
2596 #CHECK: error: invalid operand
2597 #CHECK: sth %r0, -1
2598 #CHECK: error: invalid operand
2599 #CHECK: sth %r0, 4096
2600
2601 sth %r0, -1
2602 sth %r0, 4096
2603
2604 #CHECK: error: offset out of range
2605 #CHECK: sthrl %r0, -0x1000000002
2606 #CHECK: error: offset out of range
2607 #CHECK: sthrl %r0, -1
2608 #CHECK: error: offset out of range
2609 #CHECK: sthrl %r0, 1
2610 #CHECK: error: offset out of range
2611 #CHECK: sthrl %r0, 0x100000000
2612
2613 sthrl %r0, -0x1000000002
2614 sthrl %r0, -1
2615 sthrl %r0, 1
2616 sthrl %r0, 0x100000000
2617
2618 #CHECK: error: invalid operand
2619 #CHECK: sthy %r0, -524289
2620 #CHECK: error: invalid operand
2621 #CHECK: sthy %r0, 524288
2622
2623 sthy %r0, -524289
2624 sthy %r0, 524288
2625
2626 #CHECK: error: invalid operand
2627 #CHECK: stmg %r0, %r0, -524289
2628 #CHECK: error: invalid operand
2629 #CHECK: stmg %r0, %r0, 524288
2630 #CHECK: error: invalid use of indexed addressing
2631 #CHECK: stmg %r0, %r0, 0(%r1,%r2)
2632
2633 stmg %r0, %r0, -524289
2634 stmg %r0, %r0, 524288
2635 stmg %r0, %r0, 0(%r1,%r2)
2636
2637 #CHECK: error: offset out of range
2638 #CHECK: strl %r0, -0x1000000002
2639 #CHECK: error: offset out of range
2640 #CHECK: strl %r0, -1
2641 #CHECK: error: offset out of range
2642 #CHECK: strl %r0, 1
2643 #CHECK: error: offset out of range
2644 #CHECK: strl %r0, 0x100000000
2645
2646 strl %r0, -0x1000000002
2647 strl %r0, -1
2648 strl %r0, 1
2649 strl %r0, 0x100000000
2650
2651 #CHECK: error: invalid operand
2652 #CHECK: strv %r0, -524289
2653 #CHECK: error: invalid operand
2654 #CHECK: strv %r0, 524288
2655
2656 strv %r0, -524289
2657 strv %r0, 524288
2658
2659 #CHECK: error: invalid operand
2660 #CHECK: strvg %r0, -524289
2661 #CHECK: error: invalid operand
2662 #CHECK: strvg %r0, 524288
2663
2664 strvg %r0, -524289
2665 strvg %r0, 524288
2666
2667 #CHECK: error: invalid operand
2668 #CHECK: sty %r0, -524289
2669 #CHECK: error: invalid operand
2670 #CHECK: sty %r0, 524288
2671
2672 sty %r0, -524289
2673 sty %r0, 524288
2674
2675 #CHECK: error: invalid register
2676 #CHECK: sxbr %f0, %f2
2677 #CHECK: error: invalid register
2678 #CHECK: sxbr %f0, %f14
2679 #CHECK: error: invalid register
2680 #CHECK: sxbr %f2, %f0
2681 #CHECK: error: invalid register
2682 #CHECK: sxbr %f14, %f0
2683
2684 sxbr %f0, %f2
2685 sxbr %f0, %f14
2686 sxbr %f2, %f0
2687 sxbr %f14, %f0
2688
2689
2690 #CHECK: error: invalid operand
2691 #CHECK: sy %r0, -524289
2692 #CHECK: error: invalid operand
2693 #CHECK: sy %r0, 524288
2694
2695 sy %r0, -524289
2696 sy %r0, 524288
2697
2698 #CHECK: error: invalid operand