1 # RUN: llvm-mc -triple=ve --show-encoding < %s \
2 # RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 # RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
4 # RUN: | FileCheck %s --check-prefixes=CHECK-INST
6 # CHECK-INST: vgt %v11, %v13, 23, %s12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa1]
8 vgt
%v11
, %v13
, 23, %s12
10 # CHECK-INST: vgt.nc %vix, %s12, 63, 0
11 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xa1]
12 vgt.nc
%vix
, %s12
, 63, 0
14 # CHECK-INST: vgt %v63, %vix, -64, %s63
15 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0x40,0xa1]
16 vgt
%v63
, %vix
, -64, %s63
18 # CHECK-INST: vgt.nc %v12, %v63, %s12, 0, %vm3
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa1]
20 vgt.nc
%v12
, %v63
, %s12
, 0, %vm3
22 # CHECK-INST: vgtu %v11, %v13, 23, %s12
23 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa2]
24 vgtu
%v11
, %v13
, 23, %s12
26 # CHECK-INST: vgtu.nc %vix, %s12, 63, 0
27 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0x20,0xa2]
28 vgtu.nc
%vix
, %s12
, 63, 0
30 # CHECK-INST: vgtu %v63, %vix, -64, %s63
31 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0x40,0xa2]
32 vgtu
%v63
, %vix
, -64, %s63
34 # CHECK-INST: vgtu.nc %v12, %v63, %s12, 0, %vm3
35 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa2]
36 vgtu.nc
%v12
, %v63
, %s12
, 0, %vm3
38 # CHECK-INST: vgtl.sx %v11, %v13, 23, %s12
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x0d,0x0b,0x8c,0x17,0x40,0xa3]
40 vgtl.sx
%v11
, %v13
, 23, %s12
42 # CHECK-INST: vgtl.zx.nc %vix, %s12, 63, 0
43 # CHECK-ENCODING: encoding: [0x0c,0x00,0x00,0xff,0x00,0x3f,0xa0,0xa3]
44 vgtl.nc
%vix
, %s12
, 63, 0
46 # CHECK-INST: vgtl.zx %v63, %vix, -64, %s63
47 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x3f,0xbf,0x40,0xc0,0xa3]
48 vgtl.zx
%v63
, %vix
, -64, %s63
50 # CHECK-INST: vgtl.sx.nc %v12, %v63, %s12, 0, %vm3
51 # CHECK-ENCODING: encoding: [0x00,0x00,0x3f,0x0c,0x00,0x8c,0x03,0xa3]
52 vgtl.sx.nc
%v12
, %v63
, %s12
, 0, %vm3