]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/SystemZ/insn-clghsi-01.s
Vendor import of llvm tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / MC / SystemZ / insn-clghsi-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: clghsi  0, 0                    # encoding: [0xe5,0x59,0x00,0x00,0x00,0x00]
4 #CHECK: clghsi  4095, 0                 # encoding: [0xe5,0x59,0x0f,0xff,0x00,0x00]
5 #CHECK: clghsi  0, 65535                # encoding: [0xe5,0x59,0x00,0x00,0xff,0xff]
6 #CHECK: clghsi  0(%r1), 42              # encoding: [0xe5,0x59,0x10,0x00,0x00,0x2a]
7 #CHECK: clghsi  0(%r15), 42             # encoding: [0xe5,0x59,0xf0,0x00,0x00,0x2a]
8 #CHECK: clghsi  4095(%r1), 42           # encoding: [0xe5,0x59,0x1f,0xff,0x00,0x2a]
9 #CHECK: clghsi  4095(%r15), 42          # encoding: [0xe5,0x59,0xff,0xff,0x00,0x2a]
10
11         clghsi  0, 0
12         clghsi  4095, 0
13         clghsi  0, 65535
14         clghsi  0(%r1), 42
15         clghsi  0(%r15), 42
16         clghsi  4095(%r1), 42
17         clghsi  4095(%r15), 42