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