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