You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
629 B
33 lines
629 B
# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu 2>&1 | FileCheck %s
|
|
|
|
# An unmapped 2-byte instruction
|
|
#
|
|
# CHECK: warning: invalid instruction encoding
|
|
# CHECK-NEXT: 0x01
|
|
# CHECK-NEXT: ^
|
|
0x01
|
|
0x10
|
|
|
|
# An unmapped 4-byte instruction
|
|
#
|
|
# CHECK-NEXT: warning: invalid instruction encoding
|
|
# CHECK-NEXT: 0x53
|
|
# CHECK-NEXT: ^
|
|
0x53
|
|
0x00 0x00 0x00
|
|
|
|
# An unmapped 6-byte instruction
|
|
#
|
|
# CHECK-NEXT: warning: invalid instruction encoding
|
|
# CHECK-NEXT: 0xff
|
|
# CHECK-NEXT: ^
|
|
0xff
|
|
0x00 0x00 0x00 0x00 0x00
|
|
|
|
# A trailing zero (also unmapped)
|
|
#
|
|
# CHECK-NEXT: warning: invalid instruction encoding
|
|
# CHECK-NEXT: 0x00
|
|
# CHECK-NEXT: ^
|
|
0x00
|