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: vmaxs.w.sx %v11, %s20, %v22 7# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x94,0x20,0x8a] 8vmaxs.w.sx %v11, %s20, %v22 9 10# CHECK-INST: vmaxs.w.sx %vix, %vix, %vix 11# CHECK-ENCODING: encoding: [0x00,0xff,0xff,0xff,0x00,0x00,0x00,0x8a] 12vmaxs.w.sx %vix, %vix, %vix 13 14# CHECK-INST: pvmaxs.lo %vix, 22, %v22 15# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0xff,0x00,0x16,0x60,0x8a] 16vmaxs.w.zx %vix, 22, %v22 17 18# CHECK-INST: pvmaxs.lo %vix, 22, %v22 19# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0xff,0x00,0x16,0x60,0x8a] 20vmaxs.w %vix, 22, %v22 21 22# CHECK-INST: pvmaxs.lo %v11, 63, %v22, %vm11 23# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x6b,0x8a] 24pvmaxs.lo %v11, 63, %v22, %vm11 25 26# CHECK-INST: vmaxs.w.sx %v11, 63, %v22, %vm11 27# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x2b,0x8a] 28pvmaxs.lo.sx %v11, 63, %v22, %vm11 29 30# CHECK-INST: pvmaxs.lo %v11, 63, %v22, %vm11 31# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x6b,0x8a] 32pvmaxs.lo.zx %v11, 63, %v22, %vm11 33 34# CHECK-INST: pvmaxs.up %v11, %vix, %v22, %vm11 35# CHECK-ENCODING: encoding: [0x00,0x16,0xff,0x0b,0x00,0x00,0x8b,0x8a] 36pvmaxs.up %v11, %vix, %v22, %vm11 37 38# CHECK-INST: pvmaxs %v12, %v20, %v22, %vm12 39# CHECK-ENCODING: encoding: [0x00,0x16,0x14,0x0c,0x00,0x00,0xcc,0x8a] 40pvmaxs %v12, %v20, %v22, %vm12 41 42# CHECK-INST: vmins.w.sx %v11, %s20, %v22 43# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x94,0x30,0x8a] 44vmins.w.sx %v11, %s20, %v22 45 46# CHECK-INST: vmins.w.sx %vix, %vix, %vix 47# CHECK-ENCODING: encoding: [0x00,0xff,0xff,0xff,0x00,0x00,0x10,0x8a] 48vmins.w.sx %vix, %vix, %vix 49 50# CHECK-INST: pvmins.lo %vix, 22, %v22 51# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0xff,0x00,0x16,0x70,0x8a] 52vmins.w.zx %vix, 22, %v22 53 54# CHECK-INST: pvmins.lo %vix, 22, %v22 55# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0xff,0x00,0x16,0x70,0x8a] 56vmins.w %vix, 22, %v22 57 58# CHECK-INST: pvmins.lo %v11, 63, %v22, %vm11 59# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x7b,0x8a] 60pvmins.lo %v11, 63, %v22, %vm11 61 62# CHECK-INST: vmins.w.sx %v11, 63, %v22, %vm11 63# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x3b,0x8a] 64pvmins.lo.sx %v11, 63, %v22, %vm11 65 66# CHECK-INST: pvmins.lo %v11, 63, %v22, %vm11 67# CHECK-ENCODING: encoding: [0x00,0x16,0x00,0x0b,0x00,0x3f,0x7b,0x8a] 68pvmins.lo.zx %v11, 63, %v22, %vm11 69 70# CHECK-INST: pvmins.up %v11, %vix, %v22, %vm11 71# CHECK-ENCODING: encoding: [0x00,0x16,0xff,0x0b,0x00,0x00,0x9b,0x8a] 72pvmins.up %v11, %vix, %v22, %vm11 73 74# CHECK-INST: pvmins %v12, %v20, %v22, %vm12 75# CHECK-ENCODING: encoding: [0x00,0x16,0x14,0x0c,0x00,0x00,0xdc,0x8a] 76pvmins %v12, %v20, %v22, %vm12 77