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: vrmaxs.w.fst.sx %v11, %v12
7 # CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x00,0xbb]
8 vrmaxs.w.fst.sx
%v11
, %v12
10 # CHECK-INST: vrmaxs.w.fst.sx %v11, %vix, %vm11
11 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x0b,0xbb]
12 vrmaxs.w.fst.sx
%v11
, %vix
, %vm11
14 # CHECK-INST: vrmaxs.w.lst.sx %vix, %v22, %vm15
15 # CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x2f,0xbb]
16 vrmaxs.w.lst.sx
%vix
, %v22
, %vm15
18 # CHECK-INST: vrmaxs.w.lst.zx %v63, %v60, %vm2
19 # CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0x62,0xbb]
20 vrmaxs.w.lst.zx
%v63
, %v60
, %vm2
22 # CHECK-INST: vrmaxs.w.fst.zx %vix, %vix
23 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x40,0xbb]
24 vrmaxs.w.fst.zx
%vix
, %vix
, %vm0
26 # CHECK-INST: vrmaxs.w.lst.zx %vix, %vix, %vm2
27 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x62,0xbb]
28 vrmaxs.w.lst.zx
%vix
, %vix
, %vm2
30 # CHECK-INST: vrmins.w.fst.sx %v11, %v12
31 # CHECK-ENCODING: encoding: [0x00,0x00,0x0c,0x0b,0x00,0x00,0x10,0xbb]
32 vrmins.w.fst.sx
%v11
, %v12
34 # CHECK-INST: vrmins.w.fst.sx %v11, %vix, %vm11
35 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0x0b,0x00,0x00,0x1b,0xbb]
36 vrmins.w.fst.sx
%v11
, %vix
, %vm11
38 # CHECK-INST: vrmins.w.lst.sx %vix, %v22, %vm15
39 # CHECK-ENCODING: encoding: [0x00,0x00,0x16,0xff,0x00,0x00,0x3f,0xbb]
40 vrmins.w.lst.sx
%vix
, %v22
, %vm15
42 # CHECK-INST: vrmins.w.lst.zx %v63, %v60, %vm2
43 # CHECK-ENCODING: encoding: [0x00,0x00,0x3c,0x3f,0x00,0x00,0x72,0xbb]
44 vrmins.w.lst.zx
%v63
, %v60
, %vm2
46 # CHECK-INST: vrmins.w.fst.zx %vix, %vix
47 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x50,0xbb]
48 vrmins.w.fst.zx
%vix
, %vix
, %vm0
50 # CHECK-INST: vrmins.w.lst.zx %vix, %vix, %vm2
51 # CHECK-ENCODING: encoding: [0x00,0x00,0xff,0xff,0x00,0x00,0x72,0xbb]
52 vrmins.w.lst.zx
%vix
, %vix
, %vm2