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