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