summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-chi.txt
blob: a334582f3e578b5ddf94170207ba1627748540dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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