Fix build on Windows
[oota-llvm.git] / test / MC / SystemZ / insn-lh-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: lh      %r0, 0                  # encoding: [0x48,0x00,0x00,0x00]
4 #CHECK: lh      %r0, 4095               # encoding: [0x48,0x00,0x0f,0xff]
5 #CHECK: lh      %r0, 0(%r1)             # encoding: [0x48,0x00,0x10,0x00]
6 #CHECK: lh      %r0, 0(%r15)            # encoding: [0x48,0x00,0xf0,0x00]
7 #CHECK: lh      %r0, 4095(%r1,%r15)     # encoding: [0x48,0x01,0xff,0xff]
8 #CHECK: lh      %r0, 4095(%r15,%r1)     # encoding: [0x48,0x0f,0x1f,0xff]
9 #CHECK: lh      %r15, 0                 # encoding: [0x48,0xf0,0x00,0x00]
10
11         lh      %r0, 0
12         lh      %r0, 4095
13         lh      %r0, 0(%r1)
14         lh      %r0, 0(%r15)
15         lh      %r0, 4095(%r1,%r15)
16         lh      %r0, 4095(%r15,%r1)
17         lh      %r15, 0