1# RUN: llvm-mc %s -arch=mips -mcpu=mips32r2 -mattr=+msa -show-encoding | FileCheck %s 2# 3# CHECK: addvi.b $w3, $w31, 30 # encoding: [0x78,0x1e,0xf8,0xc6] 4# CHECK: addvi.h $w24, $w13, 26 # encoding: [0x78,0x3a,0x6e,0x06] 5# CHECK: addvi.w $w26, $w20, 26 # encoding: [0x78,0x5a,0xa6,0x86] 6# CHECK: addvi.d $w16, $w1, 21 # encoding: [0x78,0x75,0x0c,0x06] 7# CHECK: ceqi.b $w24, $w21, -8 # encoding: [0x78,0x18,0xae,0x07] 8# CHECK: ceqi.h $w31, $w15, 2 # encoding: [0x78,0x22,0x7f,0xc7] 9# CHECK: ceqi.w $w12, $w1, -1 # encoding: [0x78,0x5f,0x0b,0x07] 10# CHECK: ceqi.d $w24, $w22, 7 # encoding: [0x78,0x67,0xb6,0x07] 11# CHECK: clei_s.b $w12, $w16, 1 # encoding: [0x7a,0x01,0x83,0x07] 12# CHECK: clei_s.h $w2, $w10, -9 # encoding: [0x7a,0x37,0x50,0x87] 13# CHECK: clei_s.w $w4, $w11, -10 # encoding: [0x7a,0x56,0x59,0x07] 14# CHECK: clei_s.d $w0, $w29, -10 # encoding: [0x7a,0x76,0xe8,0x07] 15# CHECK: clei_u.b $w21, $w17, 3 # encoding: [0x7a,0x83,0x8d,0x47] 16# CHECK: clei_u.h $w29, $w7, 17 # encoding: [0x7a,0xb1,0x3f,0x47] 17# CHECK: clei_u.w $w1, $w1, 2 # encoding: [0x7a,0xc2,0x08,0x47] 18# CHECK: clei_u.d $w27, $w27, 29 # encoding: [0x7a,0xfd,0xde,0xc7] 19# CHECK: clti_s.b $w19, $w13, -7 # encoding: [0x79,0x19,0x6c,0xc7] 20# CHECK: clti_s.h $w15, $w10, -12 # encoding: [0x79,0x34,0x53,0xc7] 21# CHECK: clti_s.w $w12, $w12, 11 # encoding: [0x79,0x4b,0x63,0x07] 22# CHECK: clti_s.d $w29, $w20, -15 # encoding: [0x79,0x71,0xa7,0x47] 23# CHECK: clti_u.b $w14, $w9, 29 # encoding: [0x79,0x9d,0x4b,0x87] 24# CHECK: clti_u.h $w24, $w25, 25 # encoding: [0x79,0xb9,0xce,0x07] 25# CHECK: clti_u.w $w1, $w1, 22 # encoding: [0x79,0xd6,0x08,0x47] 26# CHECK: clti_u.d $w21, $w25, 1 # encoding: [0x79,0xe1,0xcd,0x47] 27# CHECK: maxi_s.b $w22, $w21, 1 # encoding: [0x79,0x01,0xad,0x86] 28# CHECK: maxi_s.h $w29, $w5, -8 # encoding: [0x79,0x38,0x2f,0x46] 29# CHECK: maxi_s.w $w1, $w10, -12 # encoding: [0x79,0x54,0x50,0x46] 30# CHECK: maxi_s.d $w13, $w29, -16 # encoding: [0x79,0x70,0xeb,0x46] 31# CHECK: maxi_u.b $w20, $w0, 12 # encoding: [0x79,0x8c,0x05,0x06] 32# CHECK: maxi_u.h $w1, $w14, 3 # encoding: [0x79,0xa3,0x70,0x46] 33# CHECK: maxi_u.w $w27, $w22, 11 # encoding: [0x79,0xcb,0xb6,0xc6] 34# CHECK: maxi_u.d $w26, $w6, 4 # encoding: [0x79,0xe4,0x36,0x86] 35# CHECK: mini_s.b $w4, $w1, 1 # encoding: [0x7a,0x01,0x09,0x06] 36# CHECK: mini_s.h $w27, $w27, -9 # encoding: [0x7a,0x37,0xde,0xc6] 37# CHECK: mini_s.w $w28, $w11, 9 # encoding: [0x7a,0x49,0x5f,0x06] 38# CHECK: mini_s.d $w11, $w10, 10 # encoding: [0x7a,0x6a,0x52,0xc6] 39# CHECK: mini_u.b $w18, $w23, 27 # encoding: [0x7a,0x9b,0xbc,0x86] 40# CHECK: mini_u.h $w7, $w26, 18 # encoding: [0x7a,0xb2,0xd1,0xc6] 41# CHECK: mini_u.w $w11, $w12, 26 # encoding: [0x7a,0xda,0x62,0xc6] 42# CHECK: mini_u.d $w11, $w15, 2 # encoding: [0x7a,0xe2,0x7a,0xc6] 43# CHECK: subvi.b $w24, $w20, 19 # encoding: [0x78,0x93,0xa6,0x06] 44# CHECK: subvi.h $w11, $w19, 4 # encoding: [0x78,0xa4,0x9a,0xc6] 45# CHECK: subvi.w $w12, $w10, 11 # encoding: [0x78,0xcb,0x53,0x06] 46# CHECK: subvi.d $w19, $w16, 7 # encoding: [0x78,0xe7,0x84,0xc6] 47 48 addvi.b $w3, $w31, 30 49 addvi.h $w24, $w13, 26 50 addvi.w $w26, $w20, 26 51 addvi.d $w16, $w1, 21 52 ceqi.b $w24, $w21, -8 53 ceqi.h $w31, $w15, 2 54 ceqi.w $w12, $w1, -1 55 ceqi.d $w24, $w22, 7 56 clei_s.b $w12, $w16, 1 57 clei_s.h $w2, $w10, -9 58 clei_s.w $w4, $w11, -10 59 clei_s.d $w0, $w29, -10 60 clei_u.b $w21, $w17, 3 61 clei_u.h $w29, $w7, 17 62 clei_u.w $w1, $w1, 2 63 clei_u.d $w27, $w27, 29 64 clti_s.b $w19, $w13, -7 65 clti_s.h $w15, $w10, -12 66 clti_s.w $w12, $w12, 11 67 clti_s.d $w29, $w20, -15 68 clti_u.b $w14, $w9, 29 69 clti_u.h $w24, $w25, 25 70 clti_u.w $w1, $w1, 22 71 clti_u.d $w21, $w25, 1 72 maxi_s.b $w22, $w21, 1 73 maxi_s.h $w29, $w5, -8 74 maxi_s.w $w1, $w10, -12 75 maxi_s.d $w13, $w29, -16 76 maxi_u.b $w20, $w0, 12 77 maxi_u.h $w1, $w14, 3 78 maxi_u.w $w27, $w22, 11 79 maxi_u.d $w26, $w6, 4 80 mini_s.b $w4, $w1, 1 81 mini_s.h $w27, $w27, -9 82 mini_s.w $w28, $w11, 9 83 mini_s.d $w11, $w10, 10 84 mini_u.b $w18, $w23, 27 85 mini_u.h $w7, $w26, 18 86 mini_u.w $w11, $w12, 26 87 mini_u.d $w11, $w15, 2 88 subvi.b $w24, $w20, 19 89 subvi.h $w11, $w19, 4 90 subvi.w $w12, $w10, 11 91 subvi.d $w19, $w16, 7 92