Fix build on Windows
[oota-llvm.git] / test / MC / SystemZ / insn-sthy-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: sthy    %r0, -524288            # encoding: [0xe3,0x00,0x00,0x00,0x80,0x70]
4 #CHECK: sthy    %r0, -1                 # encoding: [0xe3,0x00,0x0f,0xff,0xff,0x70]
5 #CHECK: sthy    %r0, 0                  # encoding: [0xe3,0x00,0x00,0x00,0x00,0x70]
6 #CHECK: sthy    %r0, 1                  # encoding: [0xe3,0x00,0x00,0x01,0x00,0x70]
7 #CHECK: sthy    %r0, 524287             # encoding: [0xe3,0x00,0x0f,0xff,0x7f,0x70]
8 #CHECK: sthy    %r0, 0(%r1)             # encoding: [0xe3,0x00,0x10,0x00,0x00,0x70]
9 #CHECK: sthy    %r0, 0(%r15)            # encoding: [0xe3,0x00,0xf0,0x00,0x00,0x70]
10 #CHECK: sthy    %r0, 524287(%r1,%r15)   # encoding: [0xe3,0x01,0xff,0xff,0x7f,0x70]
11 #CHECK: sthy    %r0, 524287(%r15,%r1)   # encoding: [0xe3,0x0f,0x1f,0xff,0x7f,0x70]
12 #CHECK: sthy    %r15, 0                 # encoding: [0xe3,0xf0,0x00,0x00,0x00,0x70]
13
14         sthy    %r0, -524288
15         sthy    %r0, -1
16         sthy    %r0, 0
17         sthy    %r0, 1
18         sthy    %r0, 524287
19         sthy    %r0, 0(%r1)
20         sthy    %r0, 0(%r15)
21         sthy    %r0, 524287(%r1,%r15)
22         sthy    %r0, 524287(%r15,%r1)
23         sthy    %r15, 0