]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/SystemZ/insn-lmg-01.s
Vendor import of llvm tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / MC / SystemZ / insn-lmg-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: lmg     %r0, %r0, 0             # encoding: [0xeb,0x00,0x00,0x00,0x00,0x04]
4 #CHECK: lmg     %r0, %r15, 0            # encoding: [0xeb,0x0f,0x00,0x00,0x00,0x04]
5 #CHECK: lmg     %r14, %r15, 0           # encoding: [0xeb,0xef,0x00,0x00,0x00,0x04]
6 #CHECK: lmg     %r15, %r15, 0           # encoding: [0xeb,0xff,0x00,0x00,0x00,0x04]
7 #CHECK: lmg     %r0, %r0, -524288       # encoding: [0xeb,0x00,0x00,0x00,0x80,0x04]
8 #CHECK: lmg     %r0, %r0, -1            # encoding: [0xeb,0x00,0x0f,0xff,0xff,0x04]
9 #CHECK: lmg     %r0, %r0, 0             # encoding: [0xeb,0x00,0x00,0x00,0x00,0x04]
10 #CHECK: lmg     %r0, %r0, 1             # encoding: [0xeb,0x00,0x00,0x01,0x00,0x04]
11 #CHECK: lmg     %r0, %r0, 524287        # encoding: [0xeb,0x00,0x0f,0xff,0x7f,0x04]
12 #CHECK: lmg     %r0, %r0, 0(%r1)        # encoding: [0xeb,0x00,0x10,0x00,0x00,0x04]
13 #CHECK: lmg     %r0, %r0, 0(%r15)       # encoding: [0xeb,0x00,0xf0,0x00,0x00,0x04]
14 #CHECK: lmg     %r0, %r0, 524287(%r1)   # encoding: [0xeb,0x00,0x1f,0xff,0x7f,0x04]
15 #CHECK: lmg     %r0, %r0, 524287(%r15)  # encoding: [0xeb,0x00,0xff,0xff,0x7f,0x04]
16
17         lmg     %r0,%r0,0
18         lmg     %r0,%r15,0
19         lmg     %r14,%r15,0
20         lmg     %r15,%r15,0
21         lmg     %r0,%r0,-524288
22         lmg     %r0,%r0,-1
23         lmg     %r0,%r0,0
24         lmg     %r0,%r0,1
25         lmg     %r0,%r0,524287
26         lmg     %r0,%r0,0(%r1)
27         lmg     %r0,%r0,0(%r15)
28         lmg     %r0,%r0,524287(%r1)
29         lmg     %r0,%r0,524287(%r15)