[SystemZ] Support RISBGN instruction on zEC12
[oota-llvm.git] / test / MC / SystemZ / insn-good-zEC12.s
1 # For zEC12 and above.
2 # RUN: llvm-mc -triple s390x-linux-gnu -mcpu=zEC12 -show-encoding %s | FileCheck %s
3
4 #CHECK: risbgn  %r0, %r0, 0, 0, 0       # encoding: [0xec,0x00,0x00,0x00,0x00,0x59]
5 #CHECK: risbgn  %r0, %r0, 0, 0, 63      # encoding: [0xec,0x00,0x00,0x00,0x3f,0x59]
6 #CHECK: risbgn  %r0, %r0, 0, 255, 0     # encoding: [0xec,0x00,0x00,0xff,0x00,0x59]
7 #CHECK: risbgn  %r0, %r0, 255, 0, 0     # encoding: [0xec,0x00,0xff,0x00,0x00,0x59]
8 #CHECK: risbgn  %r0, %r15, 0, 0, 0      # encoding: [0xec,0x0f,0x00,0x00,0x00,0x59]
9 #CHECK: risbgn  %r15, %r0, 0, 0, 0      # encoding: [0xec,0xf0,0x00,0x00,0x00,0x59]
10 #CHECK: risbgn  %r4, %r5, 6, 7, 8       # encoding: [0xec,0x45,0x06,0x07,0x08,0x59]
11
12         risbgn  %r0,%r0,0,0,0
13         risbgn  %r0,%r0,0,0,63
14         risbgn  %r0,%r0,0,255,0
15         risbgn  %r0,%r0,255,0,0
16         risbgn  %r0,%r15,0,0,0
17         risbgn  %r15,%r0,0,0,0
18         risbgn  %r4,%r5,6,7,8
19