Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

40 lines
1.1 KiB
Plaintext

# Test z13 instructions that don't have PC-relative operands.
# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu -mcpu=z13 2>&1 \
# RUN: | FileCheck %s
# This would be "vlef %v0, 0, 4", but element 4 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x40 0x03
0xe7 0x00 0x00 0x00 0x40 0x03
# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x03
0xe7 0x00 0x00 0x00 0xf0 0x03
# This would be "vleg %v0, 0, 2", but element 2 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x20 0x02
0xe7 0x00 0x00 0x00 0x20 0x02
# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x02
0xe7 0x00 0x00 0x00 0xf0 0x02
# This would be "vleh %v0, 0, 8", but element 8 is invalid.
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0x80 0x01
0xe7 0x00 0x00 0x00 0x80 0x01
# ...and again with element 15
#
#CHECK: warning: invalid instruction encoding
#CHECK-NEXT: 0xe7 0x00 0x00 0x00 0xf0 0x01
0xe7 0x00 0x00 0x00 0xf0 0x01