diff options
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-mhi.txt')
-rw-r--r-- | test/MC/Disassembler/SystemZ/insn-mhi.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-mhi.txt b/test/MC/Disassembler/SystemZ/insn-mhi.txt new file mode 100644 index 0000000..b282683 --- /dev/null +++ b/test/MC/Disassembler/SystemZ/insn-mhi.txt @@ -0,0 +1,18 @@ +# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s +# CHECK: mhi %r0, -32768 +0xa7 0x0c 0x80 0x00 + +# CHECK: mhi %r0, -1 +0xa7 0x0c 0xff 0xff + +# CHECK: mhi %r0, 0 +0xa7 0x0c 0x00 0x00 + +# CHECK: mhi %r0, 1 +0xa7 0x0c 0x00 0x01 + +# CHECK: mhi %r0, 32767 +0xa7 0x0c 0x7f 0xff + +# CHECK: mhi %r15, 0 +0xa7 0xfc 0x00 0x00 |