]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/SystemZ/insn-msfi-01.s
Vendor import of llvm tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / MC / SystemZ / insn-msfi-01.s
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
2
3 #CHECK: msfi    %r0, -2147483648        # encoding: [0xc2,0x01,0x80,0x00,0x00,0x00]
4 #CHECK: msfi    %r0, -1                 # encoding: [0xc2,0x01,0xff,0xff,0xff,0xff]
5 #CHECK: msfi    %r0, 0                  # encoding: [0xc2,0x01,0x00,0x00,0x00,0x00]
6 #CHECK: msfi    %r0, 1                  # encoding: [0xc2,0x01,0x00,0x00,0x00,0x01]
7 #CHECK: msfi    %r0, 2147483647         # encoding: [0xc2,0x01,0x7f,0xff,0xff,0xff]
8 #CHECK: msfi    %r15, 0                 # encoding: [0xc2,0xf1,0x00,0x00,0x00,0x00]
9
10         msfi    %r0, -1 << 31
11         msfi    %r0, -1
12         msfi    %r0, 0
13         msfi    %r0, 1
14         msfi    %r0, (1 << 31) - 1
15         msfi    %r15, 0