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