1 # Test z13 instructions that don't have PC-relative operands.
2 # RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu -mcpu=z13 2>&1 \
5 # This would be "vlef %v0, 0, 4", but element 4 is invalid.
7 #CHECK: warning: invalid instruction encoding
8 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x40 0x03
9 0xe7 0x00 0x00 0x00 0x40 0x03
11 # ...and again with element 15
13 #CHECK: warning: invalid instruction encoding
14 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x03
15 0xe7 0x00 0x00 0x00 0xf0 0x03
17 # This would be "vleg %v0, 0, 2", but element 2 is invalid.
19 #CHECK: warning: invalid instruction encoding
20 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x20 0x02
21 0xe7 0x00 0x00 0x00 0x20 0x02
23 # ...and again with element 15
25 #CHECK: warning: invalid instruction encoding
26 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x02
27 0xe7 0x00 0x00 0x00 0xf0 0x02
29 # This would be "vleh %v0, 0, 8", but element 8 is invalid.
31 #CHECK: warning: invalid instruction encoding
32 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x80 0x01
33 0xe7 0x00 0x00 0x00 0x80 0x01
35 # ...and again with element 15
37 #CHECK: warning: invalid instruction encoding
38 #CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x01
39 0xe7 0x00 0x00 0x00 0xf0 0x01