| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 1 | //===- MipsMSAInstrInfo.td - MSA ASE instructions -*- tablegen ------------*-=// |
| 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file describes Mips MSA ASE instructions. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 14 | def immSExt5 : ImmLeaf<i32, [{return isInt<5>(Imm);}]>; |
| 15 | def immSExt10: ImmLeaf<i32, [{return isInt<10>(Imm);}]>; |
| 16 | |
| 17 | def uimm3 : Operand<i32> { |
| 18 | let PrintMethod = "printUnsignedImm"; |
| 19 | } |
| 20 | |
| 21 | def uimm4 : Operand<i32> { |
| 22 | let PrintMethod = "printUnsignedImm"; |
| 23 | } |
| 24 | |
| 25 | def uimm6 : Operand<i32> { |
| 26 | let PrintMethod = "printUnsignedImm"; |
| 27 | } |
| 28 | |
| 29 | def uimm8 : Operand<i32> { |
| 30 | let PrintMethod = "printUnsignedImm"; |
| 31 | } |
| 32 | |
| 33 | def simm5 : Operand<i32>; |
| 34 | |
| 35 | def simm10 : Operand<i32>; |
| 36 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 37 | // Instruction encoding. |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 38 | class ADD_A_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010000>; |
| 39 | class ADD_A_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010000>; |
| 40 | class ADD_A_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010000>; |
| 41 | class ADD_A_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010000>; |
| 42 | |
| 43 | class ADDS_A_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b010000>; |
| 44 | class ADDS_A_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010000>; |
| 45 | class ADDS_A_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010000>; |
| 46 | class ADDS_A_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010000>; |
| 47 | |
| 48 | class ADDS_S_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010000>; |
| 49 | class ADDS_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010000>; |
| 50 | class ADDS_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010000>; |
| 51 | class ADDS_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010000>; |
| 52 | |
| 53 | class ADDS_U_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b010000>; |
| 54 | class ADDS_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010000>; |
| 55 | class ADDS_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010000>; |
| 56 | class ADDS_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010000>; |
| 57 | |
| 58 | class ADDV_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b001110>; |
| 59 | class ADDV_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b001110>; |
| 60 | class ADDV_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b001110>; |
| 61 | class ADDV_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b001110>; |
| 62 | |
| 63 | class ADDVI_B_ENC : MSA_I5_FMT<0b000, 0b00, 0b000110>; |
| 64 | class ADDVI_H_ENC : MSA_I5_FMT<0b000, 0b01, 0b000110>; |
| 65 | class ADDVI_W_ENC : MSA_I5_FMT<0b000, 0b10, 0b000110>; |
| 66 | class ADDVI_D_ENC : MSA_I5_FMT<0b000, 0b11, 0b000110>; |
| 67 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 68 | class AND_V_ENC : MSA_VEC_FMT<0b00000, 0b011110>; |
| 69 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 70 | class ANDI_B_ENC : MSA_I8_FMT<0b00, 0b000000>; |
| 71 | |
| 72 | class ASUB_S_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b010001>; |
| 73 | class ASUB_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b010001>; |
| 74 | class ASUB_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b010001>; |
| 75 | class ASUB_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b010001>; |
| 76 | |
| 77 | class ASUB_U_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b010001>; |
| 78 | class ASUB_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b010001>; |
| 79 | class ASUB_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b010001>; |
| 80 | class ASUB_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b010001>; |
| 81 | |
| 82 | class AVE_S_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b010000>; |
| 83 | class AVE_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b010000>; |
| 84 | class AVE_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b010000>; |
| 85 | class AVE_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b010000>; |
| 86 | |
| 87 | class AVE_U_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b010000>; |
| 88 | class AVE_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b010000>; |
| 89 | class AVE_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b010000>; |
| 90 | class AVE_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b010000>; |
| 91 | |
| 92 | class AVER_S_B_ENC : MSA_3R_FMT<0b110, 0b00, 0b010000>; |
| 93 | class AVER_S_H_ENC : MSA_3R_FMT<0b110, 0b01, 0b010000>; |
| 94 | class AVER_S_W_ENC : MSA_3R_FMT<0b110, 0b10, 0b010000>; |
| 95 | class AVER_S_D_ENC : MSA_3R_FMT<0b110, 0b11, 0b010000>; |
| 96 | |
| 97 | class AVER_U_B_ENC : MSA_3R_FMT<0b111, 0b00, 0b010000>; |
| 98 | class AVER_U_H_ENC : MSA_3R_FMT<0b111, 0b01, 0b010000>; |
| 99 | class AVER_U_W_ENC : MSA_3R_FMT<0b111, 0b10, 0b010000>; |
| 100 | class AVER_U_D_ENC : MSA_3R_FMT<0b111, 0b11, 0b010000>; |
| 101 | |
| 102 | class BCLR_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b001101>; |
| 103 | class BCLR_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b001101>; |
| 104 | class BCLR_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b001101>; |
| 105 | class BCLR_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b001101>; |
| 106 | |
| 107 | class BCLRI_B_ENC : MSA_BIT_B_FMT<0b011, 0b001001>; |
| 108 | class BCLRI_H_ENC : MSA_BIT_H_FMT<0b011, 0b001001>; |
| 109 | class BCLRI_W_ENC : MSA_BIT_W_FMT<0b011, 0b001001>; |
| 110 | class BCLRI_D_ENC : MSA_BIT_D_FMT<0b011, 0b001001>; |
| 111 | |
| 112 | class BINSL_B_ENC : MSA_3R_FMT<0b110, 0b00, 0b001101>; |
| 113 | class BINSL_H_ENC : MSA_3R_FMT<0b110, 0b01, 0b001101>; |
| 114 | class BINSL_W_ENC : MSA_3R_FMT<0b110, 0b10, 0b001101>; |
| 115 | class BINSL_D_ENC : MSA_3R_FMT<0b110, 0b11, 0b001101>; |
| 116 | |
| 117 | class BINSLI_B_ENC : MSA_BIT_B_FMT<0b110, 0b001001>; |
| 118 | class BINSLI_H_ENC : MSA_BIT_H_FMT<0b110, 0b001001>; |
| 119 | class BINSLI_W_ENC : MSA_BIT_W_FMT<0b110, 0b001001>; |
| 120 | class BINSLI_D_ENC : MSA_BIT_D_FMT<0b110, 0b001001>; |
| 121 | |
| 122 | class BINSR_B_ENC : MSA_3R_FMT<0b111, 0b00, 0b001101>; |
| 123 | class BINSR_H_ENC : MSA_3R_FMT<0b111, 0b01, 0b001101>; |
| 124 | class BINSR_W_ENC : MSA_3R_FMT<0b111, 0b10, 0b001101>; |
| 125 | class BINSR_D_ENC : MSA_3R_FMT<0b111, 0b11, 0b001101>; |
| 126 | |
| 127 | class BINSRI_B_ENC : MSA_BIT_B_FMT<0b111, 0b001001>; |
| 128 | class BINSRI_H_ENC : MSA_BIT_H_FMT<0b111, 0b001001>; |
| 129 | class BINSRI_W_ENC : MSA_BIT_W_FMT<0b111, 0b001001>; |
| 130 | class BINSRI_D_ENC : MSA_BIT_D_FMT<0b111, 0b001001>; |
| 131 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 132 | class BMNZ_V_ENC : MSA_VEC_FMT<0b00100, 0b011110>; |
| 133 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 134 | class BMNZI_B_ENC : MSA_I8_FMT<0b00, 0b000001>; |
| 135 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 136 | class BMZ_V_ENC : MSA_VEC_FMT<0b00101, 0b011110>; |
| 137 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 138 | class BMZI_B_ENC : MSA_I8_FMT<0b01, 0b000001>; |
| 139 | |
| 140 | class BNEG_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b001101>; |
| 141 | class BNEG_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b001101>; |
| 142 | class BNEG_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b001101>; |
| 143 | class BNEG_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b001101>; |
| 144 | |
| 145 | class BNEGI_B_ENC : MSA_BIT_B_FMT<0b101, 0b001001>; |
| 146 | class BNEGI_H_ENC : MSA_BIT_H_FMT<0b101, 0b001001>; |
| 147 | class BNEGI_W_ENC : MSA_BIT_W_FMT<0b101, 0b001001>; |
| 148 | class BNEGI_D_ENC : MSA_BIT_D_FMT<0b101, 0b001001>; |
| 149 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 150 | class BSEL_V_ENC : MSA_VEC_FMT<0b00110, 0b011110>; |
| 151 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 152 | class BSELI_B_ENC : MSA_I8_FMT<0b10, 0b000001>; |
| 153 | |
| 154 | class BSET_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b001101>; |
| 155 | class BSET_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b001101>; |
| 156 | class BSET_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b001101>; |
| 157 | class BSET_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b001101>; |
| 158 | |
| 159 | class BSETI_B_ENC : MSA_BIT_B_FMT<0b100, 0b001001>; |
| 160 | class BSETI_H_ENC : MSA_BIT_H_FMT<0b100, 0b001001>; |
| 161 | class BSETI_W_ENC : MSA_BIT_W_FMT<0b100, 0b001001>; |
| 162 | class BSETI_D_ENC : MSA_BIT_D_FMT<0b100, 0b001001>; |
| 163 | |
| 164 | class CEQ_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b001111>; |
| 165 | class CEQ_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b001111>; |
| 166 | class CEQ_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b001111>; |
| 167 | class CEQ_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b001111>; |
| 168 | |
| 169 | class CEQI_B_ENC : MSA_I5_FMT<0b000, 0b00, 0b000111>; |
| 170 | class CEQI_H_ENC : MSA_I5_FMT<0b000, 0b01, 0b000111>; |
| 171 | class CEQI_W_ENC : MSA_I5_FMT<0b000, 0b10, 0b000111>; |
| 172 | class CEQI_D_ENC : MSA_I5_FMT<0b000, 0b11, 0b000111>; |
| 173 | |
| 174 | class CLE_S_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b001111>; |
| 175 | class CLE_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b001111>; |
| 176 | class CLE_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b001111>; |
| 177 | class CLE_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b001111>; |
| 178 | |
| 179 | class CLE_U_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b001111>; |
| 180 | class CLE_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b001111>; |
| 181 | class CLE_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b001111>; |
| 182 | class CLE_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b001111>; |
| 183 | |
| 184 | class CLEI_S_B_ENC : MSA_I5_FMT<0b100, 0b00, 0b000111>; |
| 185 | class CLEI_S_H_ENC : MSA_I5_FMT<0b100, 0b01, 0b000111>; |
| 186 | class CLEI_S_W_ENC : MSA_I5_FMT<0b100, 0b10, 0b000111>; |
| 187 | class CLEI_S_D_ENC : MSA_I5_FMT<0b100, 0b11, 0b000111>; |
| 188 | |
| 189 | class CLEI_U_B_ENC : MSA_I5_FMT<0b101, 0b00, 0b000111>; |
| 190 | class CLEI_U_H_ENC : MSA_I5_FMT<0b101, 0b01, 0b000111>; |
| 191 | class CLEI_U_W_ENC : MSA_I5_FMT<0b101, 0b10, 0b000111>; |
| 192 | class CLEI_U_D_ENC : MSA_I5_FMT<0b101, 0b11, 0b000111>; |
| 193 | |
| 194 | class CLT_S_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b001111>; |
| 195 | class CLT_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b001111>; |
| 196 | class CLT_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b001111>; |
| 197 | class CLT_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b001111>; |
| 198 | |
| 199 | class CLT_U_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b001111>; |
| 200 | class CLT_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b001111>; |
| 201 | class CLT_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b001111>; |
| 202 | class CLT_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b001111>; |
| 203 | |
| 204 | class CLTI_S_B_ENC : MSA_I5_FMT<0b010, 0b00, 0b000111>; |
| 205 | class CLTI_S_H_ENC : MSA_I5_FMT<0b010, 0b01, 0b000111>; |
| 206 | class CLTI_S_W_ENC : MSA_I5_FMT<0b010, 0b10, 0b000111>; |
| 207 | class CLTI_S_D_ENC : MSA_I5_FMT<0b010, 0b11, 0b000111>; |
| 208 | |
| 209 | class CLTI_U_B_ENC : MSA_I5_FMT<0b011, 0b00, 0b000111>; |
| 210 | class CLTI_U_H_ENC : MSA_I5_FMT<0b011, 0b01, 0b000111>; |
| 211 | class CLTI_U_W_ENC : MSA_I5_FMT<0b011, 0b10, 0b000111>; |
| 212 | class CLTI_U_D_ENC : MSA_I5_FMT<0b011, 0b11, 0b000111>; |
| 213 | |
| 214 | class COPY_S_B_ENC : MSA_ELM_B_FMT<0b0010, 0b011001>; |
| 215 | class COPY_S_H_ENC : MSA_ELM_H_FMT<0b0010, 0b011001>; |
| 216 | class COPY_S_W_ENC : MSA_ELM_W_FMT<0b0010, 0b011001>; |
| 217 | |
| 218 | class COPY_U_B_ENC : MSA_ELM_B_FMT<0b0011, 0b011001>; |
| 219 | class COPY_U_H_ENC : MSA_ELM_H_FMT<0b0011, 0b011001>; |
| 220 | class COPY_U_W_ENC : MSA_ELM_W_FMT<0b0011, 0b011001>; |
| 221 | |
| 222 | class DIV_S_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b010010>; |
| 223 | class DIV_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b010010>; |
| 224 | class DIV_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b010010>; |
| 225 | class DIV_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b010010>; |
| 226 | |
| 227 | class DIV_U_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b010010>; |
| 228 | class DIV_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b010010>; |
| 229 | class DIV_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b010010>; |
| 230 | class DIV_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b010010>; |
| 231 | |
| 232 | class DOTP_S_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010011>; |
| 233 | class DOTP_S_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010011>; |
| 234 | class DOTP_S_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010011>; |
| 235 | class DOTP_S_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010011>; |
| 236 | |
| 237 | class DOTP_U_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b010011>; |
| 238 | class DOTP_U_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010011>; |
| 239 | class DOTP_U_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010011>; |
| 240 | class DOTP_U_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010011>; |
| 241 | |
| 242 | class DPADD_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010011>; |
| 243 | class DPADD_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010011>; |
| 244 | class DPADD_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010011>; |
| 245 | |
| 246 | class DPADD_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010011>; |
| 247 | class DPADD_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010011>; |
| 248 | class DPADD_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010011>; |
| 249 | |
| 250 | class DPSUB_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b010011>; |
| 251 | class DPSUB_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b010011>; |
| 252 | class DPSUB_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b010011>; |
| 253 | |
| 254 | class DPSUB_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b010011>; |
| 255 | class DPSUB_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b010011>; |
| 256 | class DPSUB_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b010011>; |
| 257 | |
| Jack Carter | b95ee69 | 2013-08-15 13:45:36 +0000 | [diff] [blame] | 258 | class FADD_W_ENC : MSA_3RF_FMT<0b0000, 0b0, 0b011011>; |
| 259 | class FADD_D_ENC : MSA_3RF_FMT<0b0000, 0b1, 0b011011>; |
| 260 | |
| 261 | class FCEQ_W_ENC : MSA_3RF_FMT<0b0010, 0b0, 0b011010>; |
| 262 | class FCEQ_D_ENC : MSA_3RF_FMT<0b0010, 0b1, 0b011010>; |
| 263 | |
| 264 | class FCGE_W_ENC : MSA_3RF_FMT<0b0101, 0b0, 0b011010>; |
| 265 | class FCGE_D_ENC : MSA_3RF_FMT<0b0101, 0b1, 0b011010>; |
| 266 | |
| 267 | class FCGT_W_ENC : MSA_3RF_FMT<0b0111, 0b0, 0b011010>; |
| 268 | class FCGT_D_ENC : MSA_3RF_FMT<0b0111, 0b1, 0b011010>; |
| 269 | |
| 270 | class FCLASS_W_ENC : MSA_2RF_FMT<0b110010000, 0b0, 0b011110>; |
| 271 | class FCLASS_D_ENC : MSA_2RF_FMT<0b110010000, 0b1, 0b011110>; |
| 272 | |
| 273 | class FCLE_W_ENC : MSA_3RF_FMT<0b0110, 0b0, 0b011010>; |
| 274 | class FCLE_D_ENC : MSA_3RF_FMT<0b0110, 0b1, 0b011010>; |
| 275 | |
| 276 | class FCLT_W_ENC : MSA_3RF_FMT<0b0100, 0b0, 0b011010>; |
| 277 | class FCLT_D_ENC : MSA_3RF_FMT<0b0100, 0b1, 0b011010>; |
| 278 | |
| 279 | class FCNE_W_ENC : MSA_3RF_FMT<0b0011, 0b0, 0b011010>; |
| 280 | class FCNE_D_ENC : MSA_3RF_FMT<0b0011, 0b1, 0b011010>; |
| 281 | |
| 282 | class FCUN_W_ENC : MSA_3RF_FMT<0b0001, 0b0, 0b011010>; |
| 283 | class FCUN_D_ENC : MSA_3RF_FMT<0b0001, 0b1, 0b011010>; |
| 284 | |
| 285 | class FDIV_W_ENC : MSA_3RF_FMT<0b0011, 0b0, 0b011011>; |
| 286 | class FDIV_D_ENC : MSA_3RF_FMT<0b0011, 0b1, 0b011011>; |
| 287 | |
| 288 | class FEXDO_H_ENC : MSA_3RF_FMT<0b1000, 0b0, 0b011011>; |
| 289 | class FEXDO_W_ENC : MSA_3RF_FMT<0b1000, 0b1, 0b011011>; |
| 290 | |
| 291 | class FEXP2_W_ENC : MSA_3RF_FMT<0b0111, 0b0, 0b011011>; |
| 292 | class FEXP2_D_ENC : MSA_3RF_FMT<0b0111, 0b1, 0b011011>; |
| 293 | |
| 294 | class FEXUPL_W_ENC : MSA_2RF_FMT<0b110011000, 0b0, 0b011110>; |
| 295 | class FEXUPL_D_ENC : MSA_2RF_FMT<0b110011000, 0b1, 0b011110>; |
| 296 | |
| 297 | class FEXUPR_W_ENC : MSA_2RF_FMT<0b110011001, 0b0, 0b011110>; |
| 298 | class FEXUPR_D_ENC : MSA_2RF_FMT<0b110011001, 0b1, 0b011110>; |
| 299 | |
| 300 | class FFINT_S_W_ENC : MSA_2RF_FMT<0b110011110, 0b0, 0b011110>; |
| 301 | class FFINT_S_D_ENC : MSA_2RF_FMT<0b110011110, 0b1, 0b011110>; |
| 302 | |
| 303 | class FFINT_U_W_ENC : MSA_2RF_FMT<0b110011111, 0b0, 0b011110>; |
| 304 | class FFINT_U_D_ENC : MSA_2RF_FMT<0b110011111, 0b1, 0b011110>; |
| 305 | |
| 306 | class FFQL_W_ENC : MSA_2RF_FMT<0b110011010, 0b0, 0b011110>; |
| 307 | class FFQL_D_ENC : MSA_2RF_FMT<0b110011010, 0b1, 0b011110>; |
| 308 | |
| 309 | class FFQR_W_ENC : MSA_2RF_FMT<0b110011011, 0b0, 0b011110>; |
| 310 | class FFQR_D_ENC : MSA_2RF_FMT<0b110011011, 0b1, 0b011110>; |
| 311 | |
| 312 | class FILL_B_ENC : MSA_2R_FMT<0b11000000, 0b00, 0b011110>; |
| 313 | class FILL_H_ENC : MSA_2R_FMT<0b11000000, 0b01, 0b011110>; |
| 314 | class FILL_W_ENC : MSA_2R_FMT<0b11000000, 0b10, 0b011110>; |
| 315 | |
| 316 | class FLOG2_W_ENC : MSA_2RF_FMT<0b110010111, 0b0, 0b011110>; |
| 317 | class FLOG2_D_ENC : MSA_2RF_FMT<0b110010111, 0b1, 0b011110>; |
| 318 | |
| 319 | class FMADD_W_ENC : MSA_3RF_FMT<0b0100, 0b0, 0b011011>; |
| 320 | class FMADD_D_ENC : MSA_3RF_FMT<0b0100, 0b1, 0b011011>; |
| 321 | |
| 322 | class FMAX_W_ENC : MSA_3RF_FMT<0b1110, 0b0, 0b011011>; |
| 323 | class FMAX_D_ENC : MSA_3RF_FMT<0b1110, 0b1, 0b011011>; |
| 324 | |
| 325 | class FMAX_A_W_ENC : MSA_3RF_FMT<0b1111, 0b0, 0b011011>; |
| 326 | class FMAX_A_D_ENC : MSA_3RF_FMT<0b1111, 0b1, 0b011011>; |
| 327 | |
| 328 | class FMIN_W_ENC : MSA_3RF_FMT<0b1100, 0b0, 0b011011>; |
| 329 | class FMIN_D_ENC : MSA_3RF_FMT<0b1100, 0b1, 0b011011>; |
| 330 | |
| 331 | class FMIN_A_W_ENC : MSA_3RF_FMT<0b1101, 0b0, 0b011011>; |
| 332 | class FMIN_A_D_ENC : MSA_3RF_FMT<0b1101, 0b1, 0b011011>; |
| 333 | |
| 334 | class FMSUB_W_ENC : MSA_3RF_FMT<0b0101, 0b0, 0b011011>; |
| 335 | class FMSUB_D_ENC : MSA_3RF_FMT<0b0101, 0b1, 0b011011>; |
| 336 | |
| 337 | class FMUL_W_ENC : MSA_3RF_FMT<0b0010, 0b0, 0b011011>; |
| 338 | class FMUL_D_ENC : MSA_3RF_FMT<0b0010, 0b1, 0b011011>; |
| 339 | |
| 340 | class FRINT_W_ENC : MSA_2RF_FMT<0b110010110, 0b0, 0b011110>; |
| 341 | class FRINT_D_ENC : MSA_2RF_FMT<0b110010110, 0b1, 0b011110>; |
| 342 | |
| 343 | class FRCP_W_ENC : MSA_2RF_FMT<0b110010101, 0b0, 0b011110>; |
| 344 | class FRCP_D_ENC : MSA_2RF_FMT<0b110010101, 0b1, 0b011110>; |
| 345 | |
| 346 | class FRSQRT_W_ENC : MSA_2RF_FMT<0b110010100, 0b0, 0b011110>; |
| 347 | class FRSQRT_D_ENC : MSA_2RF_FMT<0b110010100, 0b1, 0b011110>; |
| 348 | |
| 349 | class FSEQ_W_ENC : MSA_3RF_FMT<0b1010, 0b0, 0b011010>; |
| 350 | class FSEQ_D_ENC : MSA_3RF_FMT<0b1010, 0b1, 0b011010>; |
| 351 | |
| 352 | class FSGE_W_ENC : MSA_3RF_FMT<0b1101, 0b0, 0b011010>; |
| 353 | class FSGE_D_ENC : MSA_3RF_FMT<0b1101, 0b1, 0b011010>; |
| 354 | |
| 355 | class FSGT_W_ENC : MSA_3RF_FMT<0b1111, 0b0, 0b011010>; |
| 356 | class FSGT_D_ENC : MSA_3RF_FMT<0b1111, 0b1, 0b011010>; |
| 357 | |
| 358 | class FSLE_W_ENC : MSA_3RF_FMT<0b1110, 0b0, 0b011010>; |
| 359 | class FSLE_D_ENC : MSA_3RF_FMT<0b1110, 0b1, 0b011010>; |
| 360 | |
| 361 | class FSLT_W_ENC : MSA_3RF_FMT<0b1100, 0b0, 0b011010>; |
| 362 | class FSLT_D_ENC : MSA_3RF_FMT<0b1100, 0b1, 0b011010>; |
| 363 | |
| 364 | class FSNE_W_ENC : MSA_3RF_FMT<0b1011, 0b0, 0b011010>; |
| 365 | class FSNE_D_ENC : MSA_3RF_FMT<0b1011, 0b1, 0b011010>; |
| 366 | |
| 367 | class FSQRT_W_ENC : MSA_2RF_FMT<0b110010011, 0b0, 0b011110>; |
| 368 | class FSQRT_D_ENC : MSA_2RF_FMT<0b110010011, 0b1, 0b011110>; |
| 369 | |
| 370 | class FSUB_W_ENC : MSA_3RF_FMT<0b0001, 0b0, 0b011011>; |
| 371 | class FSUB_D_ENC : MSA_3RF_FMT<0b0001, 0b1, 0b011011>; |
| 372 | |
| 373 | class FTINT_S_W_ENC : MSA_2RF_FMT<0b110011100, 0b0, 0b011110>; |
| 374 | class FTINT_S_D_ENC : MSA_2RF_FMT<0b110011100, 0b1, 0b011110>; |
| 375 | |
| 376 | class FTINT_U_W_ENC : MSA_2RF_FMT<0b110011101, 0b0, 0b011110>; |
| 377 | class FTINT_U_D_ENC : MSA_2RF_FMT<0b110011101, 0b1, 0b011110>; |
| 378 | |
| 379 | class FTQ_H_ENC : MSA_3RF_FMT<0b1010, 0b0, 0b011011>; |
| 380 | class FTQ_W_ENC : MSA_3RF_FMT<0b1010, 0b1, 0b011011>; |
| 381 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 382 | class ILVEV_B_ENC : MSA_3R_FMT<0b110, 0b00, 0b010100>; |
| 383 | class ILVEV_H_ENC : MSA_3R_FMT<0b110, 0b01, 0b010100>; |
| 384 | class ILVEV_W_ENC : MSA_3R_FMT<0b110, 0b10, 0b010100>; |
| 385 | class ILVEV_D_ENC : MSA_3R_FMT<0b110, 0b11, 0b010100>; |
| 386 | |
| 387 | class ILVL_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b010100>; |
| 388 | class ILVL_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b010100>; |
| 389 | class ILVL_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b010100>; |
| 390 | class ILVL_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b010100>; |
| 391 | |
| 392 | class ILVOD_B_ENC : MSA_3R_FMT<0b111, 0b00, 0b010100>; |
| 393 | class ILVOD_H_ENC : MSA_3R_FMT<0b111, 0b01, 0b010100>; |
| 394 | class ILVOD_W_ENC : MSA_3R_FMT<0b111, 0b10, 0b010100>; |
| 395 | class ILVOD_D_ENC : MSA_3R_FMT<0b111, 0b11, 0b010100>; |
| 396 | |
| 397 | class ILVR_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b010100>; |
| 398 | class ILVR_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b010100>; |
| 399 | class ILVR_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b010100>; |
| 400 | class ILVR_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b010100>; |
| 401 | |
| 402 | class INSERT_B_ENC : MSA_ELM_B_FMT<0b0100, 0b011001>; |
| 403 | class INSERT_H_ENC : MSA_ELM_H_FMT<0b0100, 0b011001>; |
| 404 | class INSERT_W_ENC : MSA_ELM_W_FMT<0b0100, 0b011001>; |
| 405 | |
| Daniel Sanders | f2a0f1d | 2013-08-20 09:22:54 +0000 | [diff] [blame^] | 406 | class INSVE_B_ENC : MSA_ELM_B_FMT<0b0101, 0b011001>; |
| 407 | class INSVE_H_ENC : MSA_ELM_H_FMT<0b0101, 0b011001>; |
| 408 | class INSVE_W_ENC : MSA_ELM_W_FMT<0b0101, 0b011001>; |
| 409 | class INSVE_D_ENC : MSA_ELM_D_FMT<0b0101, 0b011001>; |
| 410 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 411 | class LD_B_ENC : MSA_I5_FMT<0b110, 0b00, 0b000111>; |
| 412 | class LD_H_ENC : MSA_I5_FMT<0b110, 0b01, 0b000111>; |
| 413 | class LD_W_ENC : MSA_I5_FMT<0b110, 0b10, 0b000111>; |
| 414 | class LD_D_ENC : MSA_I5_FMT<0b110, 0b11, 0b000111>; |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 415 | |
| 416 | class LDI_B_ENC : MSA_I10_FMT<0b010, 0b00, 0b001100>; |
| 417 | class LDI_H_ENC : MSA_I10_FMT<0b010, 0b01, 0b001100>; |
| 418 | class LDI_W_ENC : MSA_I10_FMT<0b010, 0b10, 0b001100>; |
| 419 | class LDI_D_ENC : MSA_I10_FMT<0b010, 0b11, 0b001100>; |
| 420 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 421 | class MADD_Q_H_ENC : MSA_3RF_FMT<0b0010, 0b0, 0b011100>; |
| 422 | class MADD_Q_W_ENC : MSA_3RF_FMT<0b0010, 0b1, 0b011100>; |
| 423 | |
| 424 | class MADDR_Q_H_ENC : MSA_3RF_FMT<0b0011, 0b0, 0b011100>; |
| 425 | class MADDR_Q_W_ENC : MSA_3RF_FMT<0b0011, 0b1, 0b011100>; |
| 426 | |
| 427 | class MADDV_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b010010>; |
| 428 | class MADDV_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010010>; |
| 429 | class MADDV_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010010>; |
| 430 | class MADDV_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010010>; |
| 431 | |
| 432 | class MAX_A_B_ENC : MSA_3R_FMT<0b110, 0b00, 0b001110>; |
| 433 | class MAX_A_H_ENC : MSA_3R_FMT<0b110, 0b01, 0b001110>; |
| 434 | class MAX_A_W_ENC : MSA_3R_FMT<0b110, 0b10, 0b001110>; |
| 435 | class MAX_A_D_ENC : MSA_3R_FMT<0b110, 0b11, 0b001110>; |
| 436 | |
| 437 | class MAX_S_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b001110>; |
| 438 | class MAX_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b001110>; |
| 439 | class MAX_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b001110>; |
| 440 | class MAX_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b001110>; |
| 441 | |
| 442 | class MAX_U_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b001110>; |
| 443 | class MAX_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b001110>; |
| 444 | class MAX_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b001110>; |
| 445 | class MAX_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b001110>; |
| 446 | |
| 447 | class MAXI_S_B_ENC : MSA_I5_FMT<0b010, 0b00, 0b000110>; |
| 448 | class MAXI_S_H_ENC : MSA_I5_FMT<0b010, 0b01, 0b000110>; |
| 449 | class MAXI_S_W_ENC : MSA_I5_FMT<0b010, 0b10, 0b000110>; |
| 450 | class MAXI_S_D_ENC : MSA_I5_FMT<0b010, 0b11, 0b000110>; |
| 451 | |
| 452 | class MAXI_U_B_ENC : MSA_I5_FMT<0b011, 0b00, 0b000110>; |
| 453 | class MAXI_U_H_ENC : MSA_I5_FMT<0b011, 0b01, 0b000110>; |
| 454 | class MAXI_U_W_ENC : MSA_I5_FMT<0b011, 0b10, 0b000110>; |
| 455 | class MAXI_U_D_ENC : MSA_I5_FMT<0b011, 0b11, 0b000110>; |
| 456 | |
| 457 | class MIN_A_B_ENC : MSA_3R_FMT<0b111, 0b00, 0b001110>; |
| 458 | class MIN_A_H_ENC : MSA_3R_FMT<0b111, 0b01, 0b001110>; |
| 459 | class MIN_A_W_ENC : MSA_3R_FMT<0b111, 0b10, 0b001110>; |
| 460 | class MIN_A_D_ENC : MSA_3R_FMT<0b111, 0b11, 0b001110>; |
| 461 | |
| 462 | class MIN_S_B_ENC : MSA_3R_FMT<0b100, 0b00, 0b001110>; |
| 463 | class MIN_S_H_ENC : MSA_3R_FMT<0b100, 0b01, 0b001110>; |
| 464 | class MIN_S_W_ENC : MSA_3R_FMT<0b100, 0b10, 0b001110>; |
| 465 | class MIN_S_D_ENC : MSA_3R_FMT<0b100, 0b11, 0b001110>; |
| 466 | |
| 467 | class MIN_U_B_ENC : MSA_3R_FMT<0b101, 0b00, 0b001110>; |
| 468 | class MIN_U_H_ENC : MSA_3R_FMT<0b101, 0b01, 0b001110>; |
| 469 | class MIN_U_W_ENC : MSA_3R_FMT<0b101, 0b10, 0b001110>; |
| 470 | class MIN_U_D_ENC : MSA_3R_FMT<0b101, 0b11, 0b001110>; |
| 471 | |
| 472 | class MINI_S_B_ENC : MSA_I5_FMT<0b100, 0b00, 0b000110>; |
| 473 | class MINI_S_H_ENC : MSA_I5_FMT<0b100, 0b01, 0b000110>; |
| 474 | class MINI_S_W_ENC : MSA_I5_FMT<0b100, 0b10, 0b000110>; |
| 475 | class MINI_S_D_ENC : MSA_I5_FMT<0b100, 0b11, 0b000110>; |
| 476 | |
| 477 | class MINI_U_B_ENC : MSA_I5_FMT<0b101, 0b00, 0b000110>; |
| 478 | class MINI_U_H_ENC : MSA_I5_FMT<0b101, 0b01, 0b000110>; |
| 479 | class MINI_U_W_ENC : MSA_I5_FMT<0b101, 0b10, 0b000110>; |
| 480 | class MINI_U_D_ENC : MSA_I5_FMT<0b101, 0b11, 0b000110>; |
| 481 | |
| 482 | class MOD_S_B_ENC : MSA_3R_FMT<0b110, 0b00, 0b010010>; |
| 483 | class MOD_S_H_ENC : MSA_3R_FMT<0b110, 0b01, 0b010010>; |
| 484 | class MOD_S_W_ENC : MSA_3R_FMT<0b110, 0b10, 0b010010>; |
| 485 | class MOD_S_D_ENC : MSA_3R_FMT<0b110, 0b11, 0b010010>; |
| 486 | |
| 487 | class MOD_U_B_ENC : MSA_3R_FMT<0b111, 0b00, 0b010010>; |
| 488 | class MOD_U_H_ENC : MSA_3R_FMT<0b111, 0b01, 0b010010>; |
| 489 | class MOD_U_W_ENC : MSA_3R_FMT<0b111, 0b10, 0b010010>; |
| 490 | class MOD_U_D_ENC : MSA_3R_FMT<0b111, 0b11, 0b010010>; |
| 491 | |
| 492 | class MSUB_Q_H_ENC : MSA_3RF_FMT<0b0100, 0b0, 0b011100>; |
| 493 | class MSUB_Q_W_ENC : MSA_3RF_FMT<0b0100, 0b1, 0b011100>; |
| 494 | |
| 495 | class MSUBR_Q_H_ENC : MSA_3RF_FMT<0b0101, 0b0, 0b011100>; |
| 496 | class MSUBR_Q_W_ENC : MSA_3RF_FMT<0b0101, 0b1, 0b011100>; |
| 497 | |
| 498 | class MSUBV_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010010>; |
| 499 | class MSUBV_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010010>; |
| 500 | class MSUBV_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010010>; |
| 501 | class MSUBV_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010010>; |
| 502 | |
| 503 | class MUL_Q_H_ENC : MSA_3RF_FMT<0b0000, 0b0, 0b011100>; |
| 504 | class MUL_Q_W_ENC : MSA_3RF_FMT<0b0000, 0b1, 0b011100>; |
| 505 | |
| 506 | class MULR_Q_H_ENC : MSA_3RF_FMT<0b0001, 0b0, 0b011100>; |
| 507 | class MULR_Q_W_ENC : MSA_3RF_FMT<0b0001, 0b1, 0b011100>; |
| 508 | |
| 509 | class MULV_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010010>; |
| 510 | class MULV_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010010>; |
| 511 | class MULV_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010010>; |
| 512 | class MULV_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010010>; |
| 513 | |
| 514 | class NLOC_B_ENC : MSA_2R_FMT<0b11000010, 0b00, 0b011110>; |
| 515 | class NLOC_H_ENC : MSA_2R_FMT<0b11000010, 0b01, 0b011110>; |
| 516 | class NLOC_W_ENC : MSA_2R_FMT<0b11000010, 0b10, 0b011110>; |
| 517 | class NLOC_D_ENC : MSA_2R_FMT<0b11000010, 0b11, 0b011110>; |
| 518 | |
| 519 | class NLZC_B_ENC : MSA_2R_FMT<0b11000011, 0b00, 0b011110>; |
| 520 | class NLZC_H_ENC : MSA_2R_FMT<0b11000011, 0b01, 0b011110>; |
| 521 | class NLZC_W_ENC : MSA_2R_FMT<0b11000011, 0b10, 0b011110>; |
| 522 | class NLZC_D_ENC : MSA_2R_FMT<0b11000011, 0b11, 0b011110>; |
| 523 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 524 | class NOR_V_ENC : MSA_VEC_FMT<0b00010, 0b011110>; |
| 525 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 526 | class NORI_B_ENC : MSA_I8_FMT<0b10, 0b000000>; |
| 527 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 528 | class OR_V_ENC : MSA_VEC_FMT<0b00001, 0b011110>; |
| 529 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 530 | class ORI_B_ENC : MSA_I8_FMT<0b01, 0b000000>; |
| 531 | |
| 532 | class PCKEV_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010100>; |
| 533 | class PCKEV_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010100>; |
| 534 | class PCKEV_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010100>; |
| 535 | class PCKEV_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010100>; |
| 536 | |
| 537 | class PCKOD_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b010100>; |
| 538 | class PCKOD_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010100>; |
| 539 | class PCKOD_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010100>; |
| 540 | class PCKOD_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010100>; |
| 541 | |
| 542 | class PCNT_B_ENC : MSA_2R_FMT<0b11000001, 0b00, 0b011110>; |
| 543 | class PCNT_H_ENC : MSA_2R_FMT<0b11000001, 0b01, 0b011110>; |
| 544 | class PCNT_W_ENC : MSA_2R_FMT<0b11000001, 0b10, 0b011110>; |
| 545 | class PCNT_D_ENC : MSA_2R_FMT<0b11000001, 0b11, 0b011110>; |
| 546 | |
| 547 | class SAT_S_B_ENC : MSA_BIT_B_FMT<0b000, 0b001010>; |
| 548 | class SAT_S_H_ENC : MSA_BIT_H_FMT<0b000, 0b001010>; |
| 549 | class SAT_S_W_ENC : MSA_BIT_W_FMT<0b000, 0b001010>; |
| 550 | class SAT_S_D_ENC : MSA_BIT_D_FMT<0b000, 0b001010>; |
| 551 | |
| 552 | class SAT_U_B_ENC : MSA_BIT_B_FMT<0b001, 0b001010>; |
| 553 | class SAT_U_H_ENC : MSA_BIT_H_FMT<0b001, 0b001010>; |
| 554 | class SAT_U_W_ENC : MSA_BIT_W_FMT<0b001, 0b001010>; |
| 555 | class SAT_U_D_ENC : MSA_BIT_D_FMT<0b001, 0b001010>; |
| 556 | |
| 557 | class SHF_B_ENC : MSA_I8_FMT<0b00, 0b000010>; |
| 558 | class SHF_H_ENC : MSA_I8_FMT<0b01, 0b000010>; |
| 559 | class SHF_W_ENC : MSA_I8_FMT<0b10, 0b000010>; |
| 560 | |
| 561 | class SLD_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010100>; |
| 562 | class SLD_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010100>; |
| 563 | class SLD_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010100>; |
| 564 | class SLD_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010100>; |
| 565 | |
| 566 | class SLDI_B_ENC : MSA_ELM_B_FMT<0b0000, 0b011001>; |
| 567 | class SLDI_H_ENC : MSA_ELM_H_FMT<0b0000, 0b011001>; |
| 568 | class SLDI_W_ENC : MSA_ELM_W_FMT<0b0000, 0b011001>; |
| 569 | class SLDI_D_ENC : MSA_ELM_D_FMT<0b0000, 0b011001>; |
| 570 | |
| 571 | class SLL_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b001101>; |
| 572 | class SLL_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b001101>; |
| 573 | class SLL_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b001101>; |
| 574 | class SLL_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b001101>; |
| 575 | |
| 576 | class SLLI_B_ENC : MSA_BIT_B_FMT<0b000, 0b001001>; |
| 577 | class SLLI_H_ENC : MSA_BIT_H_FMT<0b000, 0b001001>; |
| 578 | class SLLI_W_ENC : MSA_BIT_W_FMT<0b000, 0b001001>; |
| 579 | class SLLI_D_ENC : MSA_BIT_D_FMT<0b000, 0b001001>; |
| 580 | |
| 581 | class SPLAT_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b010100>; |
| 582 | class SPLAT_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010100>; |
| 583 | class SPLAT_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010100>; |
| 584 | class SPLAT_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010100>; |
| 585 | |
| 586 | class SPLATI_B_ENC : MSA_ELM_B_FMT<0b0001, 0b011001>; |
| 587 | class SPLATI_H_ENC : MSA_ELM_H_FMT<0b0001, 0b011001>; |
| 588 | class SPLATI_W_ENC : MSA_ELM_W_FMT<0b0001, 0b011001>; |
| 589 | class SPLATI_D_ENC : MSA_ELM_D_FMT<0b0001, 0b011001>; |
| 590 | |
| 591 | class SRA_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b001101>; |
| 592 | class SRA_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b001101>; |
| 593 | class SRA_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b001101>; |
| 594 | class SRA_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b001101>; |
| 595 | |
| 596 | class SRAI_B_ENC : MSA_BIT_B_FMT<0b001, 0b001001>; |
| 597 | class SRAI_H_ENC : MSA_BIT_H_FMT<0b001, 0b001001>; |
| 598 | class SRAI_W_ENC : MSA_BIT_W_FMT<0b001, 0b001001>; |
| 599 | class SRAI_D_ENC : MSA_BIT_D_FMT<0b001, 0b001001>; |
| 600 | |
| 601 | class SRL_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b001101>; |
| 602 | class SRL_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b001101>; |
| 603 | class SRL_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b001101>; |
| 604 | class SRL_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b001101>; |
| 605 | |
| 606 | class SRLI_B_ENC : MSA_BIT_B_FMT<0b010, 0b001001>; |
| 607 | class SRLI_H_ENC : MSA_BIT_H_FMT<0b010, 0b001001>; |
| 608 | class SRLI_W_ENC : MSA_BIT_W_FMT<0b010, 0b001001>; |
| 609 | class SRLI_D_ENC : MSA_BIT_D_FMT<0b010, 0b001001>; |
| 610 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 611 | class ST_B_ENC : MSA_I5_FMT<0b111, 0b00, 0b000111>; |
| 612 | class ST_H_ENC : MSA_I5_FMT<0b111, 0b01, 0b000111>; |
| 613 | class ST_W_ENC : MSA_I5_FMT<0b111, 0b10, 0b000111>; |
| 614 | class ST_D_ENC : MSA_I5_FMT<0b111, 0b11, 0b000111>; |
| 615 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 616 | class SUBS_S_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010001>; |
| 617 | class SUBS_S_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010001>; |
| 618 | class SUBS_S_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010001>; |
| 619 | class SUBS_S_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010001>; |
| 620 | |
| 621 | class SUBS_U_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b010001>; |
| 622 | class SUBS_U_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010001>; |
| 623 | class SUBS_U_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010001>; |
| 624 | class SUBS_U_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010001>; |
| 625 | |
| 626 | class SUBSUS_U_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b010001>; |
| 627 | class SUBSUS_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010001>; |
| 628 | class SUBSUS_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010001>; |
| 629 | class SUBSUS_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010001>; |
| 630 | |
| 631 | class SUBSUU_S_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010001>; |
| 632 | class SUBSUU_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010001>; |
| 633 | class SUBSUU_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010001>; |
| 634 | class SUBSUU_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010001>; |
| 635 | |
| 636 | class SUBV_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b001110>; |
| 637 | class SUBV_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b001110>; |
| 638 | class SUBV_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b001110>; |
| 639 | class SUBV_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b001110>; |
| 640 | |
| 641 | class SUBVI_B_ENC : MSA_I5_FMT<0b001, 0b00, 0b000110>; |
| 642 | class SUBVI_H_ENC : MSA_I5_FMT<0b001, 0b01, 0b000110>; |
| 643 | class SUBVI_W_ENC : MSA_I5_FMT<0b001, 0b10, 0b000110>; |
| 644 | class SUBVI_D_ENC : MSA_I5_FMT<0b001, 0b11, 0b000110>; |
| 645 | |
| 646 | class VSHF_B_ENC : MSA_3R_FMT<0b000, 0b00, 0b010101>; |
| 647 | class VSHF_H_ENC : MSA_3R_FMT<0b000, 0b01, 0b010101>; |
| 648 | class VSHF_W_ENC : MSA_3R_FMT<0b000, 0b10, 0b010101>; |
| 649 | class VSHF_D_ENC : MSA_3R_FMT<0b000, 0b11, 0b010101>; |
| 650 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 651 | class XOR_V_ENC : MSA_VEC_FMT<0b00011, 0b011110>; |
| 652 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 653 | class XORI_B_ENC : MSA_I8_FMT<0b11, 0b000000>; |
| 654 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 655 | // Instruction desc. |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 656 | class MSA_BIT_D_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 657 | InstrItinClass itin, RegisterClass RCWD, |
| 658 | RegisterClass RCWS> { |
| 659 | dag OutOperandList = (outs RCWD:$wd); |
| 660 | dag InOperandList = (ins RCWS:$ws, uimm6:$u6); |
| 661 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u6"); |
| 662 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt6:$u6))]; |
| 663 | InstrItinClass Itinerary = itin; |
| 664 | } |
| 665 | |
| 666 | class MSA_BIT_W_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 667 | InstrItinClass itin, RegisterClass RCWD, |
| 668 | RegisterClass RCWS> { |
| 669 | dag OutOperandList = (outs RCWD:$wd); |
| 670 | dag InOperandList = (ins RCWS:$ws, uimm5:$u5); |
| 671 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u5"); |
| 672 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt5:$u5))]; |
| 673 | InstrItinClass Itinerary = itin; |
| 674 | } |
| 675 | |
| 676 | class MSA_BIT_H_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 677 | InstrItinClass itin, RegisterClass RCWD, |
| 678 | RegisterClass RCWS> { |
| 679 | dag OutOperandList = (outs RCWD:$wd); |
| 680 | dag InOperandList = (ins RCWS:$ws, uimm4:$u4); |
| 681 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u4"); |
| 682 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt4:$u4))]; |
| 683 | InstrItinClass Itinerary = itin; |
| 684 | } |
| 685 | |
| 686 | class MSA_BIT_B_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 687 | InstrItinClass itin, RegisterClass RCWD, |
| 688 | RegisterClass RCWS> { |
| 689 | dag OutOperandList = (outs RCWD:$wd); |
| 690 | dag InOperandList = (ins RCWS:$ws, uimm3:$u3); |
| 691 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u3"); |
| 692 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt3:$u3))]; |
| 693 | InstrItinClass Itinerary = itin; |
| 694 | } |
| 695 | |
| 696 | class MSA_COPY_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 697 | InstrItinClass itin, RegisterClass RCD, |
| 698 | RegisterClass RCWS> { |
| 699 | dag OutOperandList = (outs RCD:$rd); |
| 700 | dag InOperandList = (ins RCWS:$ws, uimm6:$n); |
| 701 | string AsmString = !strconcat(instr_asm, "\t$rd, $ws[$n]"); |
| 702 | list<dag> Pattern = [(set RCD:$rd, (OpNode RCWS:$ws, immZExt6:$n))]; |
| 703 | InstrItinClass Itinerary = itin; |
| 704 | } |
| 705 | |
| 706 | class MSA_I5_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 707 | InstrItinClass itin, RegisterClass RCWD, |
| 708 | RegisterClass RCWS> { |
| 709 | dag OutOperandList = (outs RCWD:$wd); |
| 710 | dag InOperandList = (ins RCWS:$ws, uimm5:$u5); |
| 711 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u5"); |
| 712 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt5:$u5))]; |
| 713 | InstrItinClass Itinerary = itin; |
| 714 | } |
| 715 | |
| 716 | class MSA_SI5_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 717 | InstrItinClass itin, RegisterClass RCWD, |
| 718 | RegisterClass RCWS> { |
| 719 | dag OutOperandList = (outs RCWD:$wd); |
| 720 | dag InOperandList = (ins RCWS:$ws, simm5:$s5); |
| 721 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $s5"); |
| 722 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immSExt5:$s5))]; |
| 723 | InstrItinClass Itinerary = itin; |
| 724 | } |
| 725 | |
| 726 | class MSA_I8_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 727 | InstrItinClass itin, RegisterClass RCWD, |
| 728 | RegisterClass RCWS> { |
| 729 | dag OutOperandList = (outs RCWD:$wd); |
| 730 | dag InOperandList = (ins RCWS:$ws, uimm8:$u8); |
| 731 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $u8"); |
| 732 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, immZExt8:$u8))]; |
| 733 | InstrItinClass Itinerary = itin; |
| 734 | } |
| 735 | |
| 736 | class MSA_I10_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 737 | InstrItinClass itin, RegisterClass RCWD> { |
| 738 | dag OutOperandList = (outs RCWD:$wd); |
| 739 | dag InOperandList = (ins simm10:$i10); |
| 740 | string AsmString = !strconcat(instr_asm, "\t$wd, $i10"); |
| 741 | list<dag> Pattern = [(set RCWD:$wd, (OpNode immSExt10:$i10))]; |
| 742 | InstrItinClass Itinerary = itin; |
| 743 | } |
| 744 | |
| 745 | class MSA_2R_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 746 | InstrItinClass itin, RegisterClass RCWD, |
| 747 | RegisterClass RCWS> { |
| 748 | dag OutOperandList = (outs RCWD:$wd); |
| 749 | dag InOperandList = (ins RCWS:$ws); |
| 750 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws"); |
| 751 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws))]; |
| 752 | InstrItinClass Itinerary = itin; |
| 753 | } |
| 754 | |
| 755 | class MSA_2RF_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 756 | InstrItinClass itin, RegisterClass RCWD, |
| 757 | RegisterClass RCWS> : |
| 758 | MSA_2R_DESC_BASE<instr_asm, OpNode, itin, RCWD, RCWS>; |
| 759 | |
| 760 | |
| 761 | class MSA_3R_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 762 | InstrItinClass itin, RegisterClass RCWD, |
| 763 | RegisterClass RCWS, RegisterClass RCWT = RCWS> { |
| 764 | dag OutOperandList = (outs RCWD:$wd); |
| 765 | dag InOperandList = (ins RCWS:$ws, RCWT:$wt); |
| 766 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $wt"); |
| 767 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, RCWT:$wt))]; |
| 768 | InstrItinClass Itinerary = itin; |
| 769 | } |
| 770 | |
| 771 | class MSA_3R_4R_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 772 | InstrItinClass itin, RegisterClass RCWD, |
| 773 | RegisterClass RCWS, RegisterClass RCWT = RCWS> { |
| 774 | dag OutOperandList = (outs RCWD:$wd); |
| 775 | dag InOperandList = (ins RCWD:$wd_in, RCWS:$ws, RCWT:$wt); |
| 776 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $wt"); |
| 777 | list<dag> Pattern = [(set RCWD:$wd, |
| 778 | (OpNode RCWD:$wd_in, RCWS:$ws, RCWT:$wt))]; |
| 779 | InstrItinClass Itinerary = itin; |
| 780 | string Constraints = "$wd = $wd_in"; |
| 781 | } |
| 782 | |
| 783 | class MSA_3RF_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 784 | InstrItinClass itin, RegisterClass RCWD, |
| 785 | RegisterClass RCWS, RegisterClass RCWT = RCWS> : |
| 786 | MSA_3R_DESC_BASE<instr_asm, OpNode, itin, RCWD, RCWS, RCWT>; |
| 787 | |
| 788 | class MSA_3RF_4RF_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 789 | InstrItinClass itin, RegisterClass RCWD, |
| 790 | RegisterClass RCWS, RegisterClass RCWT = RCWS> : |
| 791 | MSA_3R_4R_DESC_BASE<instr_asm, OpNode, itin, RCWD, RCWS, RCWT>; |
| 792 | |
| 793 | class MSA_INSERT_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 794 | InstrItinClass itin, RegisterClass RCD, |
| 795 | RegisterClass RCWS> { |
| 796 | dag OutOperandList = (outs RCD:$wd); |
| 797 | dag InOperandList = (ins RCD:$wd_in, uimm6:$n, RCWS:$rs); |
| 798 | string AsmString = !strconcat(instr_asm, "\t$wd[$n], $rs"); |
| 799 | list<dag> Pattern = [(set RCD:$wd, (OpNode RCD:$wd_in, |
| 800 | immZExt6:$n, |
| 801 | RCWS:$rs))]; |
| 802 | InstrItinClass Itinerary = itin; |
| 803 | string Constraints = "$wd = $wd_in"; |
| 804 | } |
| 805 | |
| Daniel Sanders | f2a0f1d | 2013-08-20 09:22:54 +0000 | [diff] [blame^] | 806 | class MSA_INSVE_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 807 | InstrItinClass itin, RegisterClass RCD, |
| 808 | RegisterClass RCWS> { |
| 809 | dag OutOperandList = (outs RCD:$wd); |
| 810 | dag InOperandList = (ins RCD:$wd_in, uimm6:$n, RCWS:$ws); |
| 811 | string AsmString = !strconcat(instr_asm, "\t$wd[$n], $ws[0]"); |
| 812 | list<dag> Pattern = [(set RCD:$wd, (OpNode RCD:$wd_in, |
| 813 | immZExt6:$n, |
| 814 | RCWS:$ws))]; |
| 815 | InstrItinClass Itinerary = itin; |
| 816 | string Constraints = "$wd = $wd_in"; |
| 817 | } |
| 818 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 819 | class MSA_VEC_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 820 | InstrItinClass itin, RegisterClass RCWD, |
| 821 | RegisterClass RCWS, RegisterClass RCWT = RCWS> { |
| 822 | dag OutOperandList = (outs RCWD:$wd); |
| 823 | dag InOperandList = (ins RCWS:$ws, RCWT:$wt); |
| 824 | string AsmString = !strconcat(instr_asm, "\t$wd, $ws, $wt"); |
| 825 | list<dag> Pattern = [(set RCWD:$wd, (OpNode RCWS:$ws, RCWT:$wt))]; |
| 826 | InstrItinClass Itinerary = itin; |
| 827 | } |
| 828 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 829 | class ADD_A_B_DESC : MSA_3R_DESC_BASE<"add_a.b", int_mips_add_a_b, NoItinerary, |
| 830 | MSA128, MSA128>, IsCommutable; |
| 831 | class ADD_A_H_DESC : MSA_3R_DESC_BASE<"add_a.h", int_mips_add_a_h, NoItinerary, |
| 832 | MSA128, MSA128>, IsCommutable; |
| 833 | class ADD_A_W_DESC : MSA_3R_DESC_BASE<"add_a.w", int_mips_add_a_w, NoItinerary, |
| 834 | MSA128, MSA128>, IsCommutable; |
| 835 | class ADD_A_D_DESC : MSA_3R_DESC_BASE<"add_a.d", int_mips_add_a_d, NoItinerary, |
| 836 | MSA128, MSA128>, IsCommutable; |
| 837 | |
| 838 | class ADDS_A_B_DESC : MSA_3R_DESC_BASE<"adds_a.b", int_mips_adds_a_b, |
| 839 | NoItinerary, MSA128, MSA128>, |
| 840 | IsCommutable; |
| 841 | class ADDS_A_H_DESC : MSA_3R_DESC_BASE<"adds_a.h", int_mips_adds_a_h, |
| 842 | NoItinerary, MSA128, MSA128>, |
| 843 | IsCommutable; |
| 844 | class ADDS_A_W_DESC : MSA_3R_DESC_BASE<"adds_a.w", int_mips_adds_a_w, |
| 845 | NoItinerary, MSA128, MSA128>, |
| 846 | IsCommutable; |
| 847 | class ADDS_A_D_DESC : MSA_3R_DESC_BASE<"adds_a.d", int_mips_adds_a_d, |
| 848 | NoItinerary, MSA128, MSA128>, |
| 849 | IsCommutable; |
| 850 | |
| 851 | class ADDS_S_B_DESC : MSA_3R_DESC_BASE<"adds_s.b", int_mips_adds_s_b, |
| 852 | NoItinerary, MSA128, MSA128>, |
| 853 | IsCommutable; |
| 854 | class ADDS_S_H_DESC : MSA_3R_DESC_BASE<"adds_s.h", int_mips_adds_s_h, |
| 855 | NoItinerary, MSA128, MSA128>, |
| 856 | IsCommutable; |
| 857 | class ADDS_S_W_DESC : MSA_3R_DESC_BASE<"adds_s.w", int_mips_adds_s_w, |
| 858 | NoItinerary, MSA128, MSA128>, |
| 859 | IsCommutable; |
| 860 | class ADDS_S_D_DESC : MSA_3R_DESC_BASE<"adds_s.d", int_mips_adds_s_d, |
| 861 | NoItinerary, MSA128, MSA128>, |
| 862 | IsCommutable; |
| 863 | |
| 864 | class ADDS_U_B_DESC : MSA_3R_DESC_BASE<"adds_u.b", int_mips_adds_u_b, |
| 865 | NoItinerary, MSA128, MSA128>, |
| 866 | IsCommutable; |
| 867 | class ADDS_U_H_DESC : MSA_3R_DESC_BASE<"adds_u.h", int_mips_adds_u_h, |
| 868 | NoItinerary, MSA128, MSA128>, |
| 869 | IsCommutable; |
| 870 | class ADDS_U_W_DESC : MSA_3R_DESC_BASE<"adds_u.w", int_mips_adds_u_w, |
| 871 | NoItinerary, MSA128, MSA128>, |
| 872 | IsCommutable; |
| 873 | class ADDS_U_D_DESC : MSA_3R_DESC_BASE<"adds_u.d", int_mips_adds_u_d, |
| 874 | NoItinerary, MSA128, MSA128>, |
| 875 | IsCommutable; |
| 876 | |
| 877 | class ADDV_B_DESC : MSA_3R_DESC_BASE<"addv.b", int_mips_addv_b, NoItinerary, |
| 878 | MSA128, MSA128>, IsCommutable; |
| 879 | class ADDV_H_DESC : MSA_3R_DESC_BASE<"addv.h", int_mips_addv_h, NoItinerary, |
| 880 | MSA128, MSA128>, IsCommutable; |
| 881 | class ADDV_W_DESC : MSA_3R_DESC_BASE<"addv.w", int_mips_addv_w, NoItinerary, |
| 882 | MSA128, MSA128>, IsCommutable; |
| 883 | class ADDV_D_DESC : MSA_3R_DESC_BASE<"addv.d", int_mips_addv_d, NoItinerary, |
| 884 | MSA128, MSA128>, IsCommutable; |
| 885 | |
| 886 | class ADDVI_B_DESC : MSA_I5_DESC_BASE<"addvi.b", int_mips_addvi_b, NoItinerary, |
| 887 | MSA128, MSA128>; |
| 888 | class ADDVI_H_DESC : MSA_I5_DESC_BASE<"addvi.h", int_mips_addvi_h, NoItinerary, |
| 889 | MSA128, MSA128>; |
| 890 | class ADDVI_W_DESC : MSA_I5_DESC_BASE<"addvi.w", int_mips_addvi_w, NoItinerary, |
| 891 | MSA128, MSA128>; |
| 892 | class ADDVI_D_DESC : MSA_I5_DESC_BASE<"addvi.d", int_mips_addvi_d, NoItinerary, |
| 893 | MSA128, MSA128>; |
| 894 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 895 | class AND_V_DESC : MSA_VEC_DESC_BASE<"and.v", int_mips_and_v, NoItinerary, |
| 896 | MSA128, MSA128>; |
| 897 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 898 | class ANDI_B_DESC : MSA_I8_DESC_BASE<"andi.b", int_mips_andi_b, NoItinerary, |
| 899 | MSA128, MSA128>; |
| 900 | |
| 901 | class ASUB_S_B_DESC : MSA_3R_DESC_BASE<"asub_s.b", int_mips_asub_s_b, |
| 902 | NoItinerary, MSA128, MSA128>; |
| 903 | class ASUB_S_H_DESC : MSA_3R_DESC_BASE<"asub_s.h", int_mips_asub_s_h, |
| 904 | NoItinerary, MSA128, MSA128>; |
| 905 | class ASUB_S_W_DESC : MSA_3R_DESC_BASE<"asub_s.w", int_mips_asub_s_w, |
| 906 | NoItinerary, MSA128, MSA128>; |
| 907 | class ASUB_S_D_DESC : MSA_3R_DESC_BASE<"asub_s.d", int_mips_asub_s_d, |
| 908 | NoItinerary, MSA128, MSA128>; |
| 909 | |
| 910 | class ASUB_U_B_DESC : MSA_3R_DESC_BASE<"asub_u.b", int_mips_asub_u_b, |
| 911 | NoItinerary, MSA128, MSA128>; |
| 912 | class ASUB_U_H_DESC : MSA_3R_DESC_BASE<"asub_u.h", int_mips_asub_u_h, |
| 913 | NoItinerary, MSA128, MSA128>; |
| 914 | class ASUB_U_W_DESC : MSA_3R_DESC_BASE<"asub_u.w", int_mips_asub_u_w, |
| 915 | NoItinerary, MSA128, MSA128>; |
| 916 | class ASUB_U_D_DESC : MSA_3R_DESC_BASE<"asub_u.d", int_mips_asub_u_d, |
| 917 | NoItinerary, MSA128, MSA128>; |
| 918 | |
| 919 | class AVE_S_B_DESC : MSA_3R_DESC_BASE<"ave_s.b", int_mips_ave_s_b, NoItinerary, |
| 920 | MSA128, MSA128>, IsCommutable; |
| 921 | class AVE_S_H_DESC : MSA_3R_DESC_BASE<"ave_s.h", int_mips_ave_s_h, NoItinerary, |
| 922 | MSA128, MSA128>, IsCommutable; |
| 923 | class AVE_S_W_DESC : MSA_3R_DESC_BASE<"ave_s.w", int_mips_ave_s_w, NoItinerary, |
| 924 | MSA128, MSA128>, IsCommutable; |
| 925 | class AVE_S_D_DESC : MSA_3R_DESC_BASE<"ave_s.d", int_mips_ave_s_d, NoItinerary, |
| 926 | MSA128, MSA128>, IsCommutable; |
| 927 | |
| 928 | class AVE_U_B_DESC : MSA_3R_DESC_BASE<"ave_u.b", int_mips_ave_u_b, NoItinerary, |
| 929 | MSA128, MSA128>, IsCommutable; |
| 930 | class AVE_U_H_DESC : MSA_3R_DESC_BASE<"ave_u.h", int_mips_ave_u_h, NoItinerary, |
| 931 | MSA128, MSA128>, IsCommutable; |
| 932 | class AVE_U_W_DESC : MSA_3R_DESC_BASE<"ave_u.w", int_mips_ave_u_w, NoItinerary, |
| 933 | MSA128, MSA128>, IsCommutable; |
| 934 | class AVE_U_D_DESC : MSA_3R_DESC_BASE<"ave_u.d", int_mips_ave_u_d, NoItinerary, |
| 935 | MSA128, MSA128>, IsCommutable; |
| 936 | |
| 937 | class AVER_S_B_DESC : MSA_3R_DESC_BASE<"aver_s.b", int_mips_aver_s_b, |
| 938 | NoItinerary, MSA128, MSA128>, |
| 939 | IsCommutable; |
| 940 | class AVER_S_H_DESC : MSA_3R_DESC_BASE<"aver_s.h", int_mips_aver_s_h, |
| 941 | NoItinerary, MSA128, MSA128>, |
| 942 | IsCommutable; |
| 943 | class AVER_S_W_DESC : MSA_3R_DESC_BASE<"aver_s.w", int_mips_aver_s_w, |
| 944 | NoItinerary, MSA128, MSA128>, |
| 945 | IsCommutable; |
| 946 | class AVER_S_D_DESC : MSA_3R_DESC_BASE<"aver_s.d", int_mips_aver_s_d, |
| 947 | NoItinerary, MSA128, MSA128>, |
| 948 | IsCommutable; |
| 949 | |
| 950 | class AVER_U_B_DESC : MSA_3R_DESC_BASE<"aver_u.b", int_mips_aver_u_b, |
| 951 | NoItinerary, MSA128, MSA128>, |
| 952 | IsCommutable; |
| 953 | class AVER_U_H_DESC : MSA_3R_DESC_BASE<"aver_u.h", int_mips_aver_u_h, |
| 954 | NoItinerary, MSA128, MSA128>, |
| 955 | IsCommutable; |
| 956 | class AVER_U_W_DESC : MSA_3R_DESC_BASE<"aver_u.w", int_mips_aver_u_w, |
| 957 | NoItinerary, MSA128, MSA128>, |
| 958 | IsCommutable; |
| 959 | class AVER_U_D_DESC : MSA_3R_DESC_BASE<"aver_u.d", int_mips_aver_u_d, |
| 960 | NoItinerary, MSA128, MSA128>, |
| 961 | IsCommutable; |
| 962 | |
| 963 | class BCLR_B_DESC : MSA_3R_DESC_BASE<"bclr.b", int_mips_bclr_b, NoItinerary, |
| 964 | MSA128, MSA128>; |
| 965 | class BCLR_H_DESC : MSA_3R_DESC_BASE<"bclr.h", int_mips_bclr_h, NoItinerary, |
| 966 | MSA128, MSA128>; |
| 967 | class BCLR_W_DESC : MSA_3R_DESC_BASE<"bclr.w", int_mips_bclr_w, NoItinerary, |
| 968 | MSA128, MSA128>; |
| 969 | class BCLR_D_DESC : MSA_3R_DESC_BASE<"bclr.d", int_mips_bclr_d, NoItinerary, |
| 970 | MSA128, MSA128>; |
| 971 | |
| 972 | class BCLRI_B_DESC : MSA_BIT_B_DESC_BASE<"bclri.b", int_mips_bclri_b, |
| 973 | NoItinerary, MSA128, MSA128>; |
| 974 | class BCLRI_H_DESC : MSA_BIT_H_DESC_BASE<"bclri.h", int_mips_bclri_h, |
| 975 | NoItinerary, MSA128, MSA128>; |
| 976 | class BCLRI_W_DESC : MSA_BIT_W_DESC_BASE<"bclri.w", int_mips_bclri_w, |
| 977 | NoItinerary, MSA128, MSA128>; |
| 978 | class BCLRI_D_DESC : MSA_BIT_D_DESC_BASE<"bclri.d", int_mips_bclri_d, |
| 979 | NoItinerary, MSA128, MSA128>; |
| 980 | |
| 981 | class BINSL_B_DESC : MSA_3R_DESC_BASE<"binsl.b", int_mips_binsl_b, NoItinerary, |
| 982 | MSA128, MSA128>; |
| 983 | class BINSL_H_DESC : MSA_3R_DESC_BASE<"binsl.h", int_mips_binsl_h, NoItinerary, |
| 984 | MSA128, MSA128>; |
| 985 | class BINSL_W_DESC : MSA_3R_DESC_BASE<"binsl.w", int_mips_binsl_w, NoItinerary, |
| 986 | MSA128, MSA128>; |
| 987 | class BINSL_D_DESC : MSA_3R_DESC_BASE<"binsl.d", int_mips_binsl_d, NoItinerary, |
| 988 | MSA128, MSA128>; |
| 989 | |
| 990 | class BINSLI_B_DESC : MSA_BIT_B_DESC_BASE<"binsli.b", int_mips_binsli_b, |
| 991 | NoItinerary, MSA128, MSA128>; |
| 992 | class BINSLI_H_DESC : MSA_BIT_H_DESC_BASE<"binsli.h", int_mips_binsli_h, |
| 993 | NoItinerary, MSA128, MSA128>; |
| 994 | class BINSLI_W_DESC : MSA_BIT_W_DESC_BASE<"binsli.w", int_mips_binsli_w, |
| 995 | NoItinerary, MSA128, MSA128>; |
| 996 | class BINSLI_D_DESC : MSA_BIT_D_DESC_BASE<"binsli.d", int_mips_binsli_d, |
| 997 | NoItinerary, MSA128, MSA128>; |
| 998 | |
| 999 | class BINSR_B_DESC : MSA_3R_DESC_BASE<"binsr.b", int_mips_binsr_b, NoItinerary, |
| 1000 | MSA128, MSA128>; |
| 1001 | class BINSR_H_DESC : MSA_3R_DESC_BASE<"binsr.h", int_mips_binsr_h, NoItinerary, |
| 1002 | MSA128, MSA128>; |
| 1003 | class BINSR_W_DESC : MSA_3R_DESC_BASE<"binsr.w", int_mips_binsr_w, NoItinerary, |
| 1004 | MSA128, MSA128>; |
| 1005 | class BINSR_D_DESC : MSA_3R_DESC_BASE<"binsr.d", int_mips_binsr_d, NoItinerary, |
| 1006 | MSA128, MSA128>; |
| 1007 | |
| 1008 | class BINSRI_B_DESC : MSA_BIT_B_DESC_BASE<"binsri.b", int_mips_binsri_b, |
| 1009 | NoItinerary, MSA128, MSA128>; |
| 1010 | class BINSRI_H_DESC : MSA_BIT_H_DESC_BASE<"binsri.h", int_mips_binsri_h, |
| 1011 | NoItinerary, MSA128, MSA128>; |
| 1012 | class BINSRI_W_DESC : MSA_BIT_W_DESC_BASE<"binsri.w", int_mips_binsri_w, |
| 1013 | NoItinerary, MSA128, MSA128>; |
| 1014 | class BINSRI_D_DESC : MSA_BIT_D_DESC_BASE<"binsri.d", int_mips_binsri_d, |
| 1015 | NoItinerary, MSA128, MSA128>; |
| 1016 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1017 | class BMNZ_V_DESC : MSA_VEC_DESC_BASE<"bmnz.v", int_mips_bmnz_v, NoItinerary, |
| 1018 | MSA128, MSA128>; |
| 1019 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1020 | class BMNZI_B_DESC : MSA_I8_DESC_BASE<"bmnzi.b", int_mips_bmnzi_b, NoItinerary, |
| 1021 | MSA128, MSA128>; |
| 1022 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1023 | class BMZ_V_DESC : MSA_VEC_DESC_BASE<"bmz.v", int_mips_bmz_v, NoItinerary, |
| 1024 | MSA128, MSA128>; |
| 1025 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1026 | class BMZI_B_DESC : MSA_I8_DESC_BASE<"bmzi.b", int_mips_bmzi_b, NoItinerary, |
| 1027 | MSA128, MSA128>; |
| 1028 | |
| 1029 | class BNEG_B_DESC : MSA_3R_DESC_BASE<"bneg.b", int_mips_bneg_b, NoItinerary, |
| 1030 | MSA128, MSA128>; |
| 1031 | class BNEG_H_DESC : MSA_3R_DESC_BASE<"bneg.h", int_mips_bneg_h, NoItinerary, |
| 1032 | MSA128, MSA128>; |
| 1033 | class BNEG_W_DESC : MSA_3R_DESC_BASE<"bneg.w", int_mips_bneg_w, NoItinerary, |
| 1034 | MSA128, MSA128>; |
| 1035 | class BNEG_D_DESC : MSA_3R_DESC_BASE<"bneg.d", int_mips_bneg_d, NoItinerary, |
| 1036 | MSA128, MSA128>; |
| 1037 | |
| 1038 | class BNEGI_B_DESC : MSA_BIT_B_DESC_BASE<"bnegi.b", int_mips_bnegi_b, |
| 1039 | NoItinerary, MSA128, MSA128>; |
| 1040 | class BNEGI_H_DESC : MSA_BIT_H_DESC_BASE<"bnegi.h", int_mips_bnegi_h, |
| 1041 | NoItinerary, MSA128, MSA128>; |
| 1042 | class BNEGI_W_DESC : MSA_BIT_W_DESC_BASE<"bnegi.w", int_mips_bnegi_w, |
| 1043 | NoItinerary, MSA128, MSA128>; |
| 1044 | class BNEGI_D_DESC : MSA_BIT_D_DESC_BASE<"bnegi.d", int_mips_bnegi_d, |
| 1045 | NoItinerary, MSA128, MSA128>; |
| 1046 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1047 | class BSEL_V_DESC : MSA_VEC_DESC_BASE<"bsel.v", int_mips_bsel_v, NoItinerary, |
| 1048 | MSA128, MSA128>; |
| 1049 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1050 | class BSELI_B_DESC : MSA_I8_DESC_BASE<"bseli.b", int_mips_bseli_b, NoItinerary, |
| 1051 | MSA128, MSA128>; |
| 1052 | |
| 1053 | class BSET_B_DESC : MSA_3R_DESC_BASE<"bset.b", int_mips_bset_b, NoItinerary, |
| 1054 | MSA128, MSA128>; |
| 1055 | class BSET_H_DESC : MSA_3R_DESC_BASE<"bset.h", int_mips_bset_h, NoItinerary, |
| 1056 | MSA128, MSA128>; |
| 1057 | class BSET_W_DESC : MSA_3R_DESC_BASE<"bset.w", int_mips_bset_w, NoItinerary, |
| 1058 | MSA128, MSA128>; |
| 1059 | class BSET_D_DESC : MSA_3R_DESC_BASE<"bset.d", int_mips_bset_d, NoItinerary, |
| 1060 | MSA128, MSA128>; |
| 1061 | |
| 1062 | class BSETI_B_DESC : MSA_BIT_B_DESC_BASE<"bseti.b", int_mips_bseti_b, |
| 1063 | NoItinerary, MSA128, MSA128>; |
| 1064 | class BSETI_H_DESC : MSA_BIT_H_DESC_BASE<"bseti.h", int_mips_bseti_h, |
| 1065 | NoItinerary, MSA128, MSA128>; |
| 1066 | class BSETI_W_DESC : MSA_BIT_W_DESC_BASE<"bseti.w", int_mips_bseti_w, |
| 1067 | NoItinerary, MSA128, MSA128>; |
| 1068 | class BSETI_D_DESC : MSA_BIT_D_DESC_BASE<"bseti.d", int_mips_bseti_d, |
| 1069 | NoItinerary, MSA128, MSA128>; |
| 1070 | |
| 1071 | class CEQ_B_DESC : MSA_3R_DESC_BASE<"ceq.b", int_mips_ceq_b, NoItinerary, |
| 1072 | MSA128, MSA128>, IsCommutable; |
| 1073 | class CEQ_H_DESC : MSA_3R_DESC_BASE<"ceq.h", int_mips_ceq_h, NoItinerary, |
| 1074 | MSA128, MSA128>, IsCommutable; |
| 1075 | class CEQ_W_DESC : MSA_3R_DESC_BASE<"ceq.w", int_mips_ceq_w, NoItinerary, |
| 1076 | MSA128, MSA128>, IsCommutable; |
| 1077 | class CEQ_D_DESC : MSA_3R_DESC_BASE<"ceq.d", int_mips_ceq_d, NoItinerary, |
| 1078 | MSA128, MSA128>, IsCommutable; |
| 1079 | |
| 1080 | class CEQI_B_DESC : MSA_SI5_DESC_BASE<"ceqi.b", int_mips_ceqi_b, NoItinerary, |
| 1081 | MSA128, MSA128>; |
| 1082 | class CEQI_H_DESC : MSA_SI5_DESC_BASE<"ceqi.h", int_mips_ceqi_h, NoItinerary, |
| 1083 | MSA128, MSA128>; |
| 1084 | class CEQI_W_DESC : MSA_SI5_DESC_BASE<"ceqi.w", int_mips_ceqi_w, NoItinerary, |
| 1085 | MSA128, MSA128>; |
| 1086 | class CEQI_D_DESC : MSA_SI5_DESC_BASE<"ceqi.d", int_mips_ceqi_d, NoItinerary, |
| 1087 | MSA128, MSA128>; |
| 1088 | |
| 1089 | class CLE_S_B_DESC : MSA_3R_DESC_BASE<"cle_s.b", int_mips_cle_s_b, NoItinerary, |
| 1090 | MSA128, MSA128>; |
| 1091 | class CLE_S_H_DESC : MSA_3R_DESC_BASE<"cle_s.h", int_mips_cle_s_h, NoItinerary, |
| 1092 | MSA128, MSA128>; |
| 1093 | class CLE_S_W_DESC : MSA_3R_DESC_BASE<"cle_s.w", int_mips_cle_s_w, NoItinerary, |
| 1094 | MSA128, MSA128>; |
| 1095 | class CLE_S_D_DESC : MSA_3R_DESC_BASE<"cle_s.d", int_mips_cle_s_d, NoItinerary, |
| 1096 | MSA128, MSA128>; |
| 1097 | |
| 1098 | class CLE_U_B_DESC : MSA_3R_DESC_BASE<"cle_u.b", int_mips_cle_u_b, NoItinerary, |
| 1099 | MSA128, MSA128>; |
| 1100 | class CLE_U_H_DESC : MSA_3R_DESC_BASE<"cle_u.h", int_mips_cle_u_h, NoItinerary, |
| 1101 | MSA128, MSA128>; |
| 1102 | class CLE_U_W_DESC : MSA_3R_DESC_BASE<"cle_u.w", int_mips_cle_u_w, NoItinerary, |
| 1103 | MSA128, MSA128>; |
| 1104 | class CLE_U_D_DESC : MSA_3R_DESC_BASE<"cle_u.d", int_mips_cle_u_d, NoItinerary, |
| 1105 | MSA128, MSA128>; |
| 1106 | |
| 1107 | class CLEI_S_B_DESC : MSA_SI5_DESC_BASE<"clei_s.b", int_mips_clei_s_b, |
| 1108 | NoItinerary, MSA128, MSA128>; |
| 1109 | class CLEI_S_H_DESC : MSA_SI5_DESC_BASE<"clei_s.h", int_mips_clei_s_h, |
| 1110 | NoItinerary, MSA128, MSA128>; |
| 1111 | class CLEI_S_W_DESC : MSA_SI5_DESC_BASE<"clei_s.w", int_mips_clei_s_w, |
| 1112 | NoItinerary, MSA128, MSA128>; |
| 1113 | class CLEI_S_D_DESC : MSA_SI5_DESC_BASE<"clei_s.d", int_mips_clei_s_d, |
| 1114 | NoItinerary, MSA128, MSA128>; |
| 1115 | |
| 1116 | class CLEI_U_B_DESC : MSA_SI5_DESC_BASE<"clei_u.b", int_mips_clei_u_b, |
| 1117 | NoItinerary, MSA128, MSA128>; |
| 1118 | class CLEI_U_H_DESC : MSA_SI5_DESC_BASE<"clei_u.h", int_mips_clei_u_h, |
| 1119 | NoItinerary, MSA128, MSA128>; |
| 1120 | class CLEI_U_W_DESC : MSA_SI5_DESC_BASE<"clei_u.w", int_mips_clei_u_w, |
| 1121 | NoItinerary, MSA128, MSA128>; |
| 1122 | class CLEI_U_D_DESC : MSA_SI5_DESC_BASE<"clei_u.d", int_mips_clei_u_d, |
| 1123 | NoItinerary, MSA128, MSA128>; |
| 1124 | |
| 1125 | class CLT_S_B_DESC : MSA_3R_DESC_BASE<"clt_s.b", int_mips_clt_s_b, NoItinerary, |
| 1126 | MSA128, MSA128>; |
| 1127 | class CLT_S_H_DESC : MSA_3R_DESC_BASE<"clt_s.h", int_mips_clt_s_h, NoItinerary, |
| 1128 | MSA128, MSA128>; |
| 1129 | class CLT_S_W_DESC : MSA_3R_DESC_BASE<"clt_s.w", int_mips_clt_s_w, NoItinerary, |
| 1130 | MSA128, MSA128>; |
| 1131 | class CLT_S_D_DESC : MSA_3R_DESC_BASE<"clt_s.d", int_mips_clt_s_d, NoItinerary, |
| 1132 | MSA128, MSA128>; |
| 1133 | |
| 1134 | class CLT_U_B_DESC : MSA_3R_DESC_BASE<"clt_u.b", int_mips_clt_u_b, NoItinerary, |
| 1135 | MSA128, MSA128>; |
| 1136 | class CLT_U_H_DESC : MSA_3R_DESC_BASE<"clt_u.h", int_mips_clt_u_h, NoItinerary, |
| 1137 | MSA128, MSA128>; |
| 1138 | class CLT_U_W_DESC : MSA_3R_DESC_BASE<"clt_u.w", int_mips_clt_u_w, NoItinerary, |
| 1139 | MSA128, MSA128>; |
| 1140 | class CLT_U_D_DESC : MSA_3R_DESC_BASE<"clt_u.d", int_mips_clt_u_d, NoItinerary, |
| 1141 | MSA128, MSA128>; |
| 1142 | |
| 1143 | class CLTI_S_B_DESC : MSA_SI5_DESC_BASE<"clti_s.b", int_mips_clti_s_b, |
| 1144 | NoItinerary, MSA128, MSA128>; |
| 1145 | class CLTI_S_H_DESC : MSA_SI5_DESC_BASE<"clti_s.h", int_mips_clti_s_h, |
| 1146 | NoItinerary, MSA128, MSA128>; |
| 1147 | class CLTI_S_W_DESC : MSA_SI5_DESC_BASE<"clti_s.w", int_mips_clti_s_w, |
| 1148 | NoItinerary, MSA128, MSA128>; |
| 1149 | class CLTI_S_D_DESC : MSA_SI5_DESC_BASE<"clti_s.d", int_mips_clti_s_d, |
| 1150 | NoItinerary, MSA128, MSA128>; |
| 1151 | |
| 1152 | class CLTI_U_B_DESC : MSA_SI5_DESC_BASE<"clti_u.b", int_mips_clti_u_b, |
| 1153 | NoItinerary, MSA128, MSA128>; |
| 1154 | class CLTI_U_H_DESC : MSA_SI5_DESC_BASE<"clti_u.h", int_mips_clti_u_h, |
| 1155 | NoItinerary, MSA128, MSA128>; |
| 1156 | class CLTI_U_W_DESC : MSA_SI5_DESC_BASE<"clti_u.w", int_mips_clti_u_w, |
| 1157 | NoItinerary, MSA128, MSA128>; |
| 1158 | class CLTI_U_D_DESC : MSA_SI5_DESC_BASE<"clti_u.d", int_mips_clti_u_d, |
| 1159 | NoItinerary, MSA128, MSA128>; |
| 1160 | |
| 1161 | class COPY_S_B_DESC : MSA_COPY_DESC_BASE<"copy_s.b", int_mips_copy_s_b, |
| 1162 | NoItinerary, GPR32, MSA128>; |
| 1163 | class COPY_S_H_DESC : MSA_COPY_DESC_BASE<"copy_s.h", int_mips_copy_s_h, |
| 1164 | NoItinerary, GPR32, MSA128>; |
| 1165 | class COPY_S_W_DESC : MSA_COPY_DESC_BASE<"copy_s.w", int_mips_copy_s_w, |
| 1166 | NoItinerary, GPR32, MSA128>; |
| 1167 | |
| 1168 | class COPY_U_B_DESC : MSA_COPY_DESC_BASE<"copy_u.b", int_mips_copy_u_b, |
| 1169 | NoItinerary, GPR32, MSA128>; |
| 1170 | class COPY_U_H_DESC : MSA_COPY_DESC_BASE<"copy_u.h", int_mips_copy_u_h, |
| 1171 | NoItinerary, GPR32, MSA128>; |
| 1172 | class COPY_U_W_DESC : MSA_COPY_DESC_BASE<"copy_u.w", int_mips_copy_u_w, |
| 1173 | NoItinerary, GPR32, MSA128>; |
| 1174 | |
| 1175 | class DIV_S_B_DESC : MSA_3R_DESC_BASE<"div_s.b", int_mips_div_s_b, NoItinerary, |
| 1176 | MSA128, MSA128>; |
| 1177 | class DIV_S_H_DESC : MSA_3R_DESC_BASE<"div_s.h", int_mips_div_s_h, NoItinerary, |
| 1178 | MSA128, MSA128>; |
| 1179 | class DIV_S_W_DESC : MSA_3R_DESC_BASE<"div_s.w", int_mips_div_s_w, NoItinerary, |
| 1180 | MSA128, MSA128>; |
| 1181 | class DIV_S_D_DESC : MSA_3R_DESC_BASE<"div_s.d", int_mips_div_s_d, NoItinerary, |
| 1182 | MSA128, MSA128>; |
| 1183 | |
| 1184 | class DIV_U_B_DESC : MSA_3R_DESC_BASE<"div_u.b", int_mips_div_u_b, NoItinerary, |
| 1185 | MSA128, MSA128>; |
| 1186 | class DIV_U_H_DESC : MSA_3R_DESC_BASE<"div_u.h", int_mips_div_u_h, NoItinerary, |
| 1187 | MSA128, MSA128>; |
| 1188 | class DIV_U_W_DESC : MSA_3R_DESC_BASE<"div_u.w", int_mips_div_u_w, NoItinerary, |
| 1189 | MSA128, MSA128>; |
| 1190 | class DIV_U_D_DESC : MSA_3R_DESC_BASE<"div_u.d", int_mips_div_u_d, NoItinerary, |
| 1191 | MSA128, MSA128>; |
| 1192 | |
| 1193 | class DOTP_S_B_DESC : MSA_3R_DESC_BASE<"dotp_s.b", int_mips_dotp_s_b, |
| 1194 | NoItinerary, MSA128, MSA128>, |
| 1195 | IsCommutable; |
| 1196 | class DOTP_S_H_DESC : MSA_3R_DESC_BASE<"dotp_s.h", int_mips_dotp_s_h, |
| 1197 | NoItinerary, MSA128, MSA128>, |
| 1198 | IsCommutable; |
| 1199 | class DOTP_S_W_DESC : MSA_3R_DESC_BASE<"dotp_s.w", int_mips_dotp_s_w, |
| 1200 | NoItinerary, MSA128, MSA128>, |
| 1201 | IsCommutable; |
| 1202 | class DOTP_S_D_DESC : MSA_3R_DESC_BASE<"dotp_s.d", int_mips_dotp_s_d, |
| 1203 | NoItinerary, MSA128, MSA128>, |
| 1204 | IsCommutable; |
| 1205 | |
| 1206 | class DOTP_U_B_DESC : MSA_3R_DESC_BASE<"dotp_u.b", int_mips_dotp_u_b, |
| 1207 | NoItinerary, MSA128, MSA128>, |
| 1208 | IsCommutable; |
| 1209 | class DOTP_U_H_DESC : MSA_3R_DESC_BASE<"dotp_u.h", int_mips_dotp_u_h, |
| 1210 | NoItinerary, MSA128, MSA128>, |
| 1211 | IsCommutable; |
| 1212 | class DOTP_U_W_DESC : MSA_3R_DESC_BASE<"dotp_u.w", int_mips_dotp_u_w, |
| 1213 | NoItinerary, MSA128, MSA128>, |
| 1214 | IsCommutable; |
| 1215 | class DOTP_U_D_DESC : MSA_3R_DESC_BASE<"dotp_u.d", int_mips_dotp_u_d, |
| 1216 | NoItinerary, MSA128, MSA128>, |
| 1217 | IsCommutable; |
| 1218 | |
| 1219 | class DPADD_S_H_DESC : MSA_3R_4R_DESC_BASE<"dpadd_s.h", int_mips_dpadd_s_h, |
| 1220 | NoItinerary, MSA128, MSA128>, |
| 1221 | IsCommutable; |
| 1222 | class DPADD_S_W_DESC : MSA_3R_4R_DESC_BASE<"dpadd_s.w", int_mips_dpadd_s_w, |
| 1223 | NoItinerary, MSA128, MSA128>, |
| 1224 | IsCommutable; |
| 1225 | class DPADD_S_D_DESC : MSA_3R_4R_DESC_BASE<"dpadd_s.d", int_mips_dpadd_s_d, |
| 1226 | NoItinerary, MSA128, MSA128>, |
| 1227 | IsCommutable; |
| 1228 | |
| 1229 | class DPADD_U_H_DESC : MSA_3R_4R_DESC_BASE<"dpadd_u.h", int_mips_dpadd_u_h, |
| 1230 | NoItinerary, MSA128, MSA128>, |
| 1231 | IsCommutable; |
| 1232 | class DPADD_U_W_DESC : MSA_3R_4R_DESC_BASE<"dpadd_u.w", int_mips_dpadd_u_w, |
| 1233 | NoItinerary, MSA128, MSA128>, |
| 1234 | IsCommutable; |
| 1235 | class DPADD_U_D_DESC : MSA_3R_4R_DESC_BASE<"dpadd_u.d", int_mips_dpadd_u_d, |
| 1236 | NoItinerary, MSA128, MSA128>, |
| 1237 | IsCommutable; |
| 1238 | |
| 1239 | class DPSUB_S_H_DESC : MSA_3R_4R_DESC_BASE<"dpsub_s.h", int_mips_dpsub_s_h, |
| 1240 | NoItinerary, MSA128, MSA128>; |
| 1241 | class DPSUB_S_W_DESC : MSA_3R_4R_DESC_BASE<"dpsub_s.w", int_mips_dpsub_s_w, |
| 1242 | NoItinerary, MSA128, MSA128>; |
| 1243 | class DPSUB_S_D_DESC : MSA_3R_4R_DESC_BASE<"dpsub_s.d", int_mips_dpsub_s_d, |
| 1244 | NoItinerary, MSA128, MSA128>; |
| 1245 | |
| 1246 | class DPSUB_U_H_DESC : MSA_3R_4R_DESC_BASE<"dpsub_u.h", int_mips_dpsub_u_h, |
| 1247 | NoItinerary, MSA128, MSA128>; |
| 1248 | class DPSUB_U_W_DESC : MSA_3R_4R_DESC_BASE<"dpsub_u.w", int_mips_dpsub_u_w, |
| 1249 | NoItinerary, MSA128, MSA128>; |
| 1250 | class DPSUB_U_D_DESC : MSA_3R_4R_DESC_BASE<"dpsub_u.d", int_mips_dpsub_u_d, |
| 1251 | NoItinerary, MSA128, MSA128>; |
| 1252 | |
| Jack Carter | b95ee69 | 2013-08-15 13:45:36 +0000 | [diff] [blame] | 1253 | class FADD_W_DESC : MSA_3RF_DESC_BASE<"fadd.w", int_mips_fadd_w, |
| 1254 | NoItinerary, MSA128, MSA128>, |
| 1255 | IsCommutable; |
| 1256 | class FADD_D_DESC : MSA_3RF_DESC_BASE<"fadd.d", int_mips_fadd_d, |
| 1257 | NoItinerary, MSA128, MSA128>, |
| 1258 | IsCommutable; |
| 1259 | |
| 1260 | class FCEQ_W_DESC : MSA_3RF_DESC_BASE<"fceq.w", int_mips_fceq_w, |
| 1261 | NoItinerary, MSA128, MSA128>, |
| 1262 | IsCommutable; |
| 1263 | class FCEQ_D_DESC : MSA_3RF_DESC_BASE<"fceq.d", int_mips_fceq_d, |
| 1264 | NoItinerary, MSA128, MSA128>, |
| 1265 | IsCommutable; |
| 1266 | |
| 1267 | class FCGE_W_DESC : MSA_3RF_DESC_BASE<"fcge.w", int_mips_fcge_w, |
| 1268 | NoItinerary, MSA128, MSA128>; |
| 1269 | class FCGE_D_DESC : MSA_3RF_DESC_BASE<"fcge.d", int_mips_fcge_d, |
| 1270 | NoItinerary, MSA128, MSA128>; |
| 1271 | |
| 1272 | class FCGT_W_DESC : MSA_3RF_DESC_BASE<"fcgt.w", int_mips_fcgt_w, |
| 1273 | NoItinerary, MSA128, MSA128>; |
| 1274 | class FCGT_D_DESC : MSA_3RF_DESC_BASE<"fcgt.d", int_mips_fcgt_d, |
| 1275 | NoItinerary, MSA128, MSA128>; |
| 1276 | |
| 1277 | class FCLASS_W_DESC : MSA_2RF_DESC_BASE<"fclass.w", int_mips_fclass_w, |
| 1278 | NoItinerary, MSA128, MSA128>; |
| 1279 | class FCLASS_D_DESC : MSA_2RF_DESC_BASE<"fclass.d", int_mips_fclass_d, |
| 1280 | NoItinerary, MSA128, MSA128>; |
| 1281 | |
| 1282 | class FCLE_W_DESC : MSA_3RF_DESC_BASE<"fcle.w", int_mips_fcle_w, |
| 1283 | NoItinerary, MSA128, MSA128>; |
| 1284 | class FCLE_D_DESC : MSA_3RF_DESC_BASE<"fcle.d", int_mips_fcle_d, |
| 1285 | NoItinerary, MSA128, MSA128>; |
| 1286 | |
| 1287 | class FCLT_W_DESC : MSA_3RF_DESC_BASE<"fclt.w", int_mips_fclt_w, |
| 1288 | NoItinerary, MSA128, MSA128>; |
| 1289 | class FCLT_D_DESC : MSA_3RF_DESC_BASE<"fclt.d", int_mips_fclt_d, |
| 1290 | NoItinerary, MSA128, MSA128>; |
| 1291 | |
| 1292 | class FCNE_W_DESC : MSA_3RF_DESC_BASE<"fcne.w", int_mips_fcne_w, |
| 1293 | NoItinerary, MSA128, MSA128>, |
| 1294 | IsCommutable; |
| 1295 | class FCNE_D_DESC : MSA_3RF_DESC_BASE<"fcne.d", int_mips_fcne_d, |
| 1296 | NoItinerary, MSA128, MSA128>, |
| 1297 | IsCommutable; |
| 1298 | |
| 1299 | class FCUN_W_DESC : MSA_3RF_DESC_BASE<"fcun.w", int_mips_fcun_w, |
| 1300 | NoItinerary, MSA128, MSA128>, |
| 1301 | IsCommutable; |
| 1302 | class FCUN_D_DESC : MSA_3RF_DESC_BASE<"fcun.d", int_mips_fcun_d, |
| 1303 | NoItinerary, MSA128, MSA128>, |
| 1304 | IsCommutable; |
| 1305 | |
| 1306 | class FDIV_W_DESC : MSA_3RF_DESC_BASE<"fdiv.w", int_mips_fdiv_w, |
| 1307 | NoItinerary, MSA128, MSA128>; |
| 1308 | class FDIV_D_DESC : MSA_3RF_DESC_BASE<"fdiv.d", int_mips_fdiv_d, |
| 1309 | NoItinerary, MSA128, MSA128>; |
| 1310 | |
| 1311 | class FEXDO_H_DESC : MSA_3RF_DESC_BASE<"fexdo.h", int_mips_fexdo_h, |
| 1312 | NoItinerary, MSA128, MSA128>; |
| 1313 | class FEXDO_W_DESC : MSA_3RF_DESC_BASE<"fexdo.w", int_mips_fexdo_w, |
| 1314 | NoItinerary, MSA128, MSA128>; |
| 1315 | |
| 1316 | class FEXP2_W_DESC : MSA_3RF_DESC_BASE<"fexp2.w", int_mips_fexp2_w, |
| 1317 | NoItinerary, MSA128, MSA128>; |
| 1318 | class FEXP2_D_DESC : MSA_3RF_DESC_BASE<"fexp2.d", int_mips_fexp2_d, |
| 1319 | NoItinerary, MSA128, MSA128>; |
| 1320 | |
| 1321 | class FEXUPL_W_DESC : MSA_2RF_DESC_BASE<"fexupl.w", int_mips_fexupl_w, |
| 1322 | NoItinerary, MSA128, MSA128>; |
| 1323 | class FEXUPL_D_DESC : MSA_2RF_DESC_BASE<"fexupl.d", int_mips_fexupl_d, |
| 1324 | NoItinerary, MSA128, MSA128>; |
| 1325 | |
| 1326 | class FEXUPR_W_DESC : MSA_2RF_DESC_BASE<"fexupr.w", int_mips_fexupr_w, |
| 1327 | NoItinerary, MSA128, MSA128>; |
| 1328 | class FEXUPR_D_DESC : MSA_2RF_DESC_BASE<"fexupr.d", int_mips_fexupr_d, |
| 1329 | NoItinerary, MSA128, MSA128>; |
| 1330 | |
| 1331 | class FFINT_S_W_DESC : MSA_2RF_DESC_BASE<"ffint_s.w", int_mips_ffint_s_w, |
| 1332 | NoItinerary, MSA128, MSA128>; |
| 1333 | class FFINT_S_D_DESC : MSA_2RF_DESC_BASE<"ffint_s.d", int_mips_ffint_s_d, |
| 1334 | NoItinerary, MSA128, MSA128>; |
| 1335 | |
| 1336 | class FFINT_U_W_DESC : MSA_2RF_DESC_BASE<"ffint_u.w", int_mips_ffint_u_w, |
| 1337 | NoItinerary, MSA128, MSA128>; |
| 1338 | class FFINT_U_D_DESC : MSA_2RF_DESC_BASE<"ffint_u.d", int_mips_ffint_u_d, |
| 1339 | NoItinerary, MSA128, MSA128>; |
| 1340 | |
| 1341 | class FFQL_W_DESC : MSA_2RF_DESC_BASE<"ffql.w", int_mips_ffql_w, |
| 1342 | NoItinerary, MSA128, MSA128>; |
| 1343 | class FFQL_D_DESC : MSA_2RF_DESC_BASE<"ffql.d", int_mips_ffql_d, |
| 1344 | NoItinerary, MSA128, MSA128>; |
| 1345 | |
| 1346 | class FFQR_W_DESC : MSA_2RF_DESC_BASE<"ffqr.w", int_mips_ffqr_w, |
| 1347 | NoItinerary, MSA128, MSA128>; |
| 1348 | class FFQR_D_DESC : MSA_2RF_DESC_BASE<"ffqr.d", int_mips_ffqr_d, |
| 1349 | NoItinerary, MSA128, MSA128>; |
| 1350 | |
| 1351 | class FILL_B_DESC : MSA_2R_DESC_BASE<"fill.b", int_mips_fill_b, |
| 1352 | NoItinerary, MSA128, GPR32>; |
| 1353 | class FILL_H_DESC : MSA_2R_DESC_BASE<"fill.h", int_mips_fill_h, |
| 1354 | NoItinerary, MSA128, GPR32>; |
| 1355 | class FILL_W_DESC : MSA_2R_DESC_BASE<"fill.w", int_mips_fill_w, |
| 1356 | NoItinerary, MSA128, GPR32>; |
| 1357 | |
| 1358 | class FLOG2_W_DESC : MSA_2RF_DESC_BASE<"flog2.w", int_mips_flog2_w, |
| 1359 | NoItinerary, MSA128, MSA128>; |
| 1360 | class FLOG2_D_DESC : MSA_2RF_DESC_BASE<"flog2.d", int_mips_flog2_d, |
| 1361 | NoItinerary, MSA128, MSA128>; |
| 1362 | |
| 1363 | class FMADD_W_DESC : MSA_3RF_4RF_DESC_BASE<"fmadd.w", int_mips_fmadd_w, |
| 1364 | NoItinerary, MSA128, MSA128>; |
| 1365 | class FMADD_D_DESC : MSA_3RF_4RF_DESC_BASE<"fmadd.d", int_mips_fmadd_d, |
| 1366 | NoItinerary, MSA128, MSA128>; |
| 1367 | |
| 1368 | class FMAX_W_DESC : MSA_3RF_DESC_BASE<"fmax.w", int_mips_fmax_w, |
| 1369 | NoItinerary, MSA128, MSA128>; |
| 1370 | class FMAX_D_DESC : MSA_3RF_DESC_BASE<"fmax.d", int_mips_fmax_d, |
| 1371 | NoItinerary, MSA128, MSA128>; |
| 1372 | |
| 1373 | class FMAX_A_W_DESC : MSA_3RF_DESC_BASE<"fmax_a.w", int_mips_fmax_a_w, |
| 1374 | NoItinerary, MSA128, MSA128>; |
| 1375 | class FMAX_A_D_DESC : MSA_3RF_DESC_BASE<"fmax_a.d", int_mips_fmax_a_d, |
| 1376 | NoItinerary, MSA128, MSA128>; |
| 1377 | |
| 1378 | class FMIN_W_DESC : MSA_3RF_DESC_BASE<"fmin.w", int_mips_fmin_w, |
| 1379 | NoItinerary, MSA128, MSA128>; |
| 1380 | class FMIN_D_DESC : MSA_3RF_DESC_BASE<"fmin.d", int_mips_fmin_d, |
| 1381 | NoItinerary, MSA128, MSA128>; |
| 1382 | |
| 1383 | class FMIN_A_W_DESC : MSA_3RF_DESC_BASE<"fmin_a.w", int_mips_fmin_a_w, |
| 1384 | NoItinerary, MSA128, MSA128>; |
| 1385 | class FMIN_A_D_DESC : MSA_3RF_DESC_BASE<"fmin_a.d", int_mips_fmin_a_d, |
| 1386 | NoItinerary, MSA128, MSA128>; |
| 1387 | |
| 1388 | class FMSUB_W_DESC : MSA_3RF_4RF_DESC_BASE<"fmsub.w", int_mips_fmsub_w, |
| 1389 | NoItinerary, MSA128, MSA128>; |
| 1390 | class FMSUB_D_DESC : MSA_3RF_4RF_DESC_BASE<"fmsub.d", int_mips_fmsub_d, |
| 1391 | NoItinerary, MSA128, MSA128>; |
| 1392 | |
| 1393 | class FMUL_W_DESC : MSA_3RF_DESC_BASE<"fmul.w", int_mips_fmul_w, |
| 1394 | NoItinerary, MSA128, MSA128>; |
| 1395 | class FMUL_D_DESC : MSA_3RF_DESC_BASE<"fmul.d", int_mips_fmul_d, |
| 1396 | NoItinerary, MSA128, MSA128>; |
| 1397 | |
| 1398 | class FRINT_W_DESC : MSA_2RF_DESC_BASE<"frint.w", int_mips_frint_w, |
| 1399 | NoItinerary, MSA128, MSA128>; |
| 1400 | class FRINT_D_DESC : MSA_2RF_DESC_BASE<"frint.d", int_mips_frint_d, |
| 1401 | NoItinerary, MSA128, MSA128>; |
| 1402 | |
| 1403 | class FRCP_W_DESC : MSA_2RF_DESC_BASE<"frcp.w", int_mips_frcp_w, |
| 1404 | NoItinerary, MSA128, MSA128>; |
| 1405 | class FRCP_D_DESC : MSA_2RF_DESC_BASE<"frcp.d", int_mips_frcp_d, |
| 1406 | NoItinerary, MSA128, MSA128>; |
| 1407 | |
| 1408 | class FRSQRT_W_DESC : MSA_2RF_DESC_BASE<"frsqrt.w", int_mips_frsqrt_w, |
| 1409 | NoItinerary, MSA128, MSA128>; |
| 1410 | class FRSQRT_D_DESC : MSA_2RF_DESC_BASE<"frsqrt.d", int_mips_frsqrt_d, |
| 1411 | NoItinerary, MSA128, MSA128>; |
| 1412 | |
| 1413 | class FSEQ_W_DESC : MSA_3RF_DESC_BASE<"fseq.w", int_mips_fseq_w, |
| 1414 | NoItinerary, MSA128, MSA128>; |
| 1415 | class FSEQ_D_DESC : MSA_3RF_DESC_BASE<"fseq.d", int_mips_fseq_d, |
| 1416 | NoItinerary, MSA128, MSA128>; |
| 1417 | |
| 1418 | class FSGE_W_DESC : MSA_3RF_DESC_BASE<"fsge.w", int_mips_fsge_w, |
| 1419 | NoItinerary, MSA128, MSA128>; |
| 1420 | class FSGE_D_DESC : MSA_3RF_DESC_BASE<"fsge.d", int_mips_fsge_d, |
| 1421 | NoItinerary, MSA128, MSA128>; |
| 1422 | |
| 1423 | class FSGT_W_DESC : MSA_3RF_DESC_BASE<"fsgt.w", int_mips_fsgt_w, |
| 1424 | NoItinerary, MSA128, MSA128>; |
| 1425 | class FSGT_D_DESC : MSA_3RF_DESC_BASE<"fsgt.d", int_mips_fsgt_d, |
| 1426 | NoItinerary, MSA128, MSA128>; |
| 1427 | |
| 1428 | class FSLE_W_DESC : MSA_3RF_DESC_BASE<"fsle.w", int_mips_fsle_w, |
| 1429 | NoItinerary, MSA128, MSA128>; |
| 1430 | class FSLE_D_DESC : MSA_3RF_DESC_BASE<"fsle.d", int_mips_fsle_d, |
| 1431 | NoItinerary, MSA128, MSA128>; |
| 1432 | |
| 1433 | class FSLT_W_DESC : MSA_3RF_DESC_BASE<"fslt.w", int_mips_fslt_w, |
| 1434 | NoItinerary, MSA128, MSA128>; |
| 1435 | class FSLT_D_DESC : MSA_3RF_DESC_BASE<"fslt.d", int_mips_fslt_d, |
| 1436 | NoItinerary, MSA128, MSA128>; |
| 1437 | |
| 1438 | class FSNE_W_DESC : MSA_3RF_DESC_BASE<"fsne.w", int_mips_fsne_w, |
| 1439 | NoItinerary, MSA128, MSA128>; |
| 1440 | class FSNE_D_DESC : MSA_3RF_DESC_BASE<"fsne.d", int_mips_fsne_d, |
| 1441 | NoItinerary, MSA128, MSA128>; |
| 1442 | |
| 1443 | class FSQRT_W_DESC : MSA_2RF_DESC_BASE<"fsqrt.w", int_mips_fsqrt_w, |
| 1444 | NoItinerary, MSA128, MSA128>; |
| 1445 | class FSQRT_D_DESC : MSA_2RF_DESC_BASE<"fsqrt.d", int_mips_fsqrt_d, |
| 1446 | NoItinerary, MSA128, MSA128>; |
| 1447 | |
| 1448 | class FSUB_W_DESC : MSA_3RF_DESC_BASE<"fsub.w", int_mips_fsub_w, |
| 1449 | NoItinerary, MSA128, MSA128>; |
| 1450 | class FSUB_D_DESC : MSA_3RF_DESC_BASE<"fsub.d", int_mips_fsub_d, |
| 1451 | NoItinerary, MSA128, MSA128>; |
| 1452 | |
| 1453 | class FTINT_S_W_DESC : MSA_2RF_DESC_BASE<"ftint_s.w", int_mips_ftint_s_w, |
| 1454 | NoItinerary, MSA128, MSA128>; |
| 1455 | class FTINT_S_D_DESC : MSA_2RF_DESC_BASE<"ftint_s.d", int_mips_ftint_s_d, |
| 1456 | NoItinerary, MSA128, MSA128>; |
| 1457 | |
| 1458 | class FTINT_U_W_DESC : MSA_2RF_DESC_BASE<"ftint_u.w", int_mips_ftint_u_w, |
| 1459 | NoItinerary, MSA128, MSA128>; |
| 1460 | class FTINT_U_D_DESC : MSA_2RF_DESC_BASE<"ftint_u.d", int_mips_ftint_u_d, |
| 1461 | NoItinerary, MSA128, MSA128>; |
| 1462 | |
| 1463 | class FTQ_H_DESC : MSA_3RF_DESC_BASE<"ftq.h", int_mips_ftq_h, |
| 1464 | NoItinerary, MSA128, MSA128>; |
| 1465 | class FTQ_W_DESC : MSA_3RF_DESC_BASE<"ftq.w", int_mips_ftq_w, |
| 1466 | NoItinerary, MSA128, MSA128>; |
| 1467 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1468 | class ILVEV_B_DESC : MSA_3R_DESC_BASE<"ilvev.b", int_mips_ilvev_b, NoItinerary, |
| 1469 | MSA128, MSA128>; |
| 1470 | class ILVEV_H_DESC : MSA_3R_DESC_BASE<"ilvev.h", int_mips_ilvev_h, NoItinerary, |
| 1471 | MSA128, MSA128>; |
| 1472 | class ILVEV_W_DESC : MSA_3R_DESC_BASE<"ilvev.w", int_mips_ilvev_w, NoItinerary, |
| 1473 | MSA128, MSA128>; |
| 1474 | class ILVEV_D_DESC : MSA_3R_DESC_BASE<"ilvev.d", int_mips_ilvev_d, NoItinerary, |
| 1475 | MSA128, MSA128>; |
| 1476 | |
| 1477 | class ILVL_B_DESC : MSA_3R_DESC_BASE<"ilvl.b", int_mips_ilvl_b, NoItinerary, |
| 1478 | MSA128, MSA128>; |
| 1479 | class ILVL_H_DESC : MSA_3R_DESC_BASE<"ilvl.h", int_mips_ilvl_h, NoItinerary, |
| 1480 | MSA128, MSA128>; |
| 1481 | class ILVL_W_DESC : MSA_3R_DESC_BASE<"ilvl.w", int_mips_ilvl_w, NoItinerary, |
| 1482 | MSA128, MSA128>; |
| 1483 | class ILVL_D_DESC : MSA_3R_DESC_BASE<"ilvl.d", int_mips_ilvl_d, NoItinerary, |
| 1484 | MSA128, MSA128>; |
| 1485 | |
| 1486 | class ILVOD_B_DESC : MSA_3R_DESC_BASE<"ilvod.b", int_mips_ilvod_b, NoItinerary, |
| 1487 | MSA128, MSA128>; |
| 1488 | class ILVOD_H_DESC : MSA_3R_DESC_BASE<"ilvod.h", int_mips_ilvod_h, NoItinerary, |
| 1489 | MSA128, MSA128>; |
| 1490 | class ILVOD_W_DESC : MSA_3R_DESC_BASE<"ilvod.w", int_mips_ilvod_w, NoItinerary, |
| 1491 | MSA128, MSA128>; |
| 1492 | class ILVOD_D_DESC : MSA_3R_DESC_BASE<"ilvod.d", int_mips_ilvod_d, NoItinerary, |
| 1493 | MSA128, MSA128>; |
| 1494 | |
| 1495 | class ILVR_B_DESC : MSA_3R_DESC_BASE<"ilvr.b", int_mips_ilvr_b, NoItinerary, |
| 1496 | MSA128, MSA128>; |
| 1497 | class ILVR_H_DESC : MSA_3R_DESC_BASE<"ilvr.h", int_mips_ilvr_h, NoItinerary, |
| 1498 | MSA128, MSA128>; |
| 1499 | class ILVR_W_DESC : MSA_3R_DESC_BASE<"ilvr.w", int_mips_ilvr_w, NoItinerary, |
| 1500 | MSA128, MSA128>; |
| 1501 | class ILVR_D_DESC : MSA_3R_DESC_BASE<"ilvr.d", int_mips_ilvr_d, NoItinerary, |
| 1502 | MSA128, MSA128>; |
| 1503 | |
| 1504 | class INSERT_B_DESC : MSA_INSERT_DESC_BASE<"insert.b", int_mips_insert_b, |
| 1505 | NoItinerary, MSA128, GPR32>; |
| 1506 | class INSERT_H_DESC : MSA_INSERT_DESC_BASE<"insert.h", int_mips_insert_h, |
| 1507 | NoItinerary, MSA128, GPR32>; |
| 1508 | class INSERT_W_DESC : MSA_INSERT_DESC_BASE<"insert.w", int_mips_insert_w, |
| 1509 | NoItinerary, MSA128, GPR32>; |
| 1510 | |
| Daniel Sanders | f2a0f1d | 2013-08-20 09:22:54 +0000 | [diff] [blame^] | 1511 | class INSVE_B_DESC : MSA_INSVE_DESC_BASE<"insve.b", int_mips_insve_b, |
| 1512 | NoItinerary, MSA128, MSA128>; |
| 1513 | class INSVE_H_DESC : MSA_INSVE_DESC_BASE<"insve.h", int_mips_insve_h, |
| 1514 | NoItinerary, MSA128, MSA128>; |
| 1515 | class INSVE_W_DESC : MSA_INSVE_DESC_BASE<"insve.w", int_mips_insve_w, |
| 1516 | NoItinerary, MSA128, MSA128>; |
| 1517 | class INSVE_D_DESC : MSA_INSVE_DESC_BASE<"insve.d", int_mips_insve_d, |
| 1518 | NoItinerary, MSA128, MSA128>; |
| 1519 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 1520 | class LD_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 1521 | ValueType TyNode, InstrItinClass itin, RegisterClass RCWD, |
| 1522 | Operand MemOpnd = mem, ComplexPattern Addr = addr> { |
| 1523 | dag OutOperandList = (outs RCWD:$wd); |
| 1524 | dag InOperandList = (ins MemOpnd:$addr); |
| 1525 | string AsmString = !strconcat(instr_asm, "\t$wd, $addr"); |
| 1526 | list<dag> Pattern = [(set RCWD:$wd, (TyNode (OpNode Addr:$addr)))]; |
| 1527 | InstrItinClass Itinerary = itin; |
| 1528 | } |
| 1529 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1530 | class LD_B_DESC : LD_DESC_BASE<"ld.b", load, v16i8, NoItinerary, MSA128>; |
| 1531 | class LD_H_DESC : LD_DESC_BASE<"ld.h", load, v8i16, NoItinerary, MSA128>; |
| 1532 | class LD_W_DESC : LD_DESC_BASE<"ld.w", load, v4i32, NoItinerary, MSA128>; |
| 1533 | class LD_D_DESC : LD_DESC_BASE<"ld.d", load, v2i64, NoItinerary, MSA128>; |
| 1534 | |
| 1535 | class LDI_B_DESC : MSA_I10_DESC_BASE<"ldi.b", int_mips_ldi_b, |
| 1536 | NoItinerary, MSA128>; |
| 1537 | class LDI_H_DESC : MSA_I10_DESC_BASE<"ldi.h", int_mips_ldi_h, |
| 1538 | NoItinerary, MSA128>; |
| 1539 | class LDI_W_DESC : MSA_I10_DESC_BASE<"ldi.w", int_mips_ldi_w, |
| 1540 | NoItinerary, MSA128>; |
| 1541 | class LDI_D_DESC : MSA_I10_DESC_BASE<"ldi.d", int_mips_ldi_d, |
| 1542 | NoItinerary, MSA128>; |
| 1543 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 1544 | class MADD_Q_H_DESC : MSA_3RF_4RF_DESC_BASE<"madd_q.h", int_mips_madd_q_h, |
| 1545 | NoItinerary, MSA128, MSA128>; |
| 1546 | class MADD_Q_W_DESC : MSA_3RF_4RF_DESC_BASE<"madd_q.w", int_mips_madd_q_w, |
| 1547 | NoItinerary, MSA128, MSA128>; |
| 1548 | |
| 1549 | class MADDR_Q_H_DESC : MSA_3RF_4RF_DESC_BASE<"maddr_q.h", int_mips_maddr_q_h, |
| 1550 | NoItinerary, MSA128, MSA128>; |
| 1551 | class MADDR_Q_W_DESC : MSA_3RF_4RF_DESC_BASE<"maddr_q.w", int_mips_maddr_q_w, |
| 1552 | NoItinerary, MSA128, MSA128>; |
| 1553 | |
| 1554 | class MADDV_B_DESC : MSA_3R_4R_DESC_BASE<"maddv.b", int_mips_maddv_b, |
| 1555 | NoItinerary, MSA128, MSA128>; |
| 1556 | class MADDV_H_DESC : MSA_3R_4R_DESC_BASE<"maddv.h", int_mips_maddv_h, |
| 1557 | NoItinerary, MSA128, MSA128>; |
| 1558 | class MADDV_W_DESC : MSA_3R_4R_DESC_BASE<"maddv.w", int_mips_maddv_w, |
| 1559 | NoItinerary, MSA128, MSA128>; |
| 1560 | class MADDV_D_DESC : MSA_3R_4R_DESC_BASE<"maddv.d", int_mips_maddv_d, |
| 1561 | NoItinerary, MSA128, MSA128>; |
| 1562 | |
| 1563 | class MAX_A_B_DESC : MSA_3R_DESC_BASE<"max_a.b", int_mips_max_a_b, NoItinerary, |
| 1564 | MSA128, MSA128>; |
| 1565 | class MAX_A_H_DESC : MSA_3R_DESC_BASE<"max_a.h", int_mips_max_a_h, NoItinerary, |
| 1566 | MSA128, MSA128>; |
| 1567 | class MAX_A_W_DESC : MSA_3R_DESC_BASE<"max_a.w", int_mips_max_a_w, NoItinerary, |
| 1568 | MSA128, MSA128>; |
| 1569 | class MAX_A_D_DESC : MSA_3R_DESC_BASE<"max_a.d", int_mips_max_a_d, NoItinerary, |
| 1570 | MSA128, MSA128>; |
| 1571 | |
| 1572 | class MAX_S_B_DESC : MSA_3R_DESC_BASE<"max_s.b", int_mips_max_s_b, NoItinerary, |
| 1573 | MSA128, MSA128>; |
| 1574 | class MAX_S_H_DESC : MSA_3R_DESC_BASE<"max_s.h", int_mips_max_s_h, NoItinerary, |
| 1575 | MSA128, MSA128>; |
| 1576 | class MAX_S_W_DESC : MSA_3R_DESC_BASE<"max_s.w", int_mips_max_s_w, NoItinerary, |
| 1577 | MSA128, MSA128>; |
| 1578 | class MAX_S_D_DESC : MSA_3R_DESC_BASE<"max_s.d", int_mips_max_s_d, NoItinerary, |
| 1579 | MSA128, MSA128>; |
| 1580 | |
| 1581 | class MAX_U_B_DESC : MSA_3R_DESC_BASE<"max_u.b", int_mips_max_u_b, NoItinerary, |
| 1582 | MSA128, MSA128>; |
| 1583 | class MAX_U_H_DESC : MSA_3R_DESC_BASE<"max_u.h", int_mips_max_u_h, NoItinerary, |
| 1584 | MSA128, MSA128>; |
| 1585 | class MAX_U_W_DESC : MSA_3R_DESC_BASE<"max_u.w", int_mips_max_u_w, NoItinerary, |
| 1586 | MSA128, MSA128>; |
| 1587 | class MAX_U_D_DESC : MSA_3R_DESC_BASE<"max_u.d", int_mips_max_u_d, NoItinerary, |
| 1588 | MSA128, MSA128>; |
| 1589 | |
| 1590 | class MAXI_S_B_DESC : MSA_I5_DESC_BASE<"maxi_s.b", int_mips_maxi_s_b, |
| 1591 | NoItinerary, MSA128, MSA128>; |
| 1592 | class MAXI_S_H_DESC : MSA_I5_DESC_BASE<"maxi_s.h", int_mips_maxi_s_h, |
| 1593 | NoItinerary, MSA128, MSA128>; |
| 1594 | class MAXI_S_W_DESC : MSA_I5_DESC_BASE<"maxi_s.w", int_mips_maxi_s_w, |
| 1595 | NoItinerary, MSA128, MSA128>; |
| 1596 | class MAXI_S_D_DESC : MSA_I5_DESC_BASE<"maxi_s.d", int_mips_maxi_s_d, |
| 1597 | NoItinerary, MSA128, MSA128>; |
| 1598 | |
| 1599 | class MAXI_U_B_DESC : MSA_I5_DESC_BASE<"maxi_u.b", int_mips_maxi_u_b, |
| 1600 | NoItinerary, MSA128, MSA128>; |
| 1601 | class MAXI_U_H_DESC : MSA_I5_DESC_BASE<"maxi_u.h", int_mips_maxi_u_h, |
| 1602 | NoItinerary, MSA128, MSA128>; |
| 1603 | class MAXI_U_W_DESC : MSA_I5_DESC_BASE<"maxi_u.w", int_mips_maxi_u_w, |
| 1604 | NoItinerary, MSA128, MSA128>; |
| 1605 | class MAXI_U_D_DESC : MSA_I5_DESC_BASE<"maxi_u.d", int_mips_maxi_u_d, |
| 1606 | NoItinerary, MSA128, MSA128>; |
| 1607 | |
| 1608 | class MIN_A_B_DESC : MSA_3R_DESC_BASE<"min_a.b", int_mips_min_a_b, NoItinerary, |
| 1609 | MSA128, MSA128>; |
| 1610 | class MIN_A_H_DESC : MSA_3R_DESC_BASE<"min_a.h", int_mips_min_a_h, NoItinerary, |
| 1611 | MSA128, MSA128>; |
| 1612 | class MIN_A_W_DESC : MSA_3R_DESC_BASE<"min_a.w", int_mips_min_a_w, NoItinerary, |
| 1613 | MSA128, MSA128>; |
| 1614 | class MIN_A_D_DESC : MSA_3R_DESC_BASE<"min_a.d", int_mips_min_a_d, NoItinerary, |
| 1615 | MSA128, MSA128>; |
| 1616 | |
| 1617 | class MIN_S_B_DESC : MSA_3R_DESC_BASE<"min_s.b", int_mips_min_s_b, NoItinerary, |
| 1618 | MSA128, MSA128>; |
| 1619 | class MIN_S_H_DESC : MSA_3R_DESC_BASE<"min_s.h", int_mips_min_s_h, NoItinerary, |
| 1620 | MSA128, MSA128>; |
| 1621 | class MIN_S_W_DESC : MSA_3R_DESC_BASE<"min_s.w", int_mips_min_s_w, NoItinerary, |
| 1622 | MSA128, MSA128>; |
| 1623 | class MIN_S_D_DESC : MSA_3R_DESC_BASE<"min_s.d", int_mips_min_s_d, NoItinerary, |
| 1624 | MSA128, MSA128>; |
| 1625 | |
| 1626 | class MIN_U_B_DESC : MSA_3R_DESC_BASE<"min_u.b", int_mips_min_u_b, NoItinerary, |
| 1627 | MSA128, MSA128>; |
| 1628 | class MIN_U_H_DESC : MSA_3R_DESC_BASE<"min_u.h", int_mips_min_u_h, NoItinerary, |
| 1629 | MSA128, MSA128>; |
| 1630 | class MIN_U_W_DESC : MSA_3R_DESC_BASE<"min_u.w", int_mips_min_u_w, NoItinerary, |
| 1631 | MSA128, MSA128>; |
| 1632 | class MIN_U_D_DESC : MSA_3R_DESC_BASE<"min_u.d", int_mips_min_u_d, NoItinerary, |
| 1633 | MSA128, MSA128>; |
| 1634 | |
| 1635 | class MINI_S_B_DESC : MSA_I5_DESC_BASE<"mini_s.b", int_mips_mini_s_b, |
| 1636 | NoItinerary, MSA128, MSA128>; |
| 1637 | class MINI_S_H_DESC : MSA_I5_DESC_BASE<"mini_s.h", int_mips_mini_s_h, |
| 1638 | NoItinerary, MSA128, MSA128>; |
| 1639 | class MINI_S_W_DESC : MSA_I5_DESC_BASE<"mini_s.w", int_mips_mini_s_w, |
| 1640 | NoItinerary, MSA128, MSA128>; |
| 1641 | class MINI_S_D_DESC : MSA_I5_DESC_BASE<"mini_s.d", int_mips_mini_s_d, |
| 1642 | NoItinerary, MSA128, MSA128>; |
| 1643 | |
| 1644 | class MINI_U_B_DESC : MSA_I5_DESC_BASE<"mini_u.b", int_mips_mini_u_b, |
| 1645 | NoItinerary, MSA128, MSA128>; |
| 1646 | class MINI_U_H_DESC : MSA_I5_DESC_BASE<"mini_u.h", int_mips_mini_u_h, |
| 1647 | NoItinerary, MSA128, MSA128>; |
| 1648 | class MINI_U_W_DESC : MSA_I5_DESC_BASE<"mini_u.w", int_mips_mini_u_w, |
| 1649 | NoItinerary, MSA128, MSA128>; |
| 1650 | class MINI_U_D_DESC : MSA_I5_DESC_BASE<"mini_u.d", int_mips_mini_u_d, |
| 1651 | NoItinerary, MSA128, MSA128>; |
| 1652 | |
| 1653 | class MOD_S_B_DESC : MSA_3R_DESC_BASE<"mod_s.b", int_mips_mod_s_b, NoItinerary, |
| 1654 | MSA128, MSA128>; |
| 1655 | class MOD_S_H_DESC : MSA_3R_DESC_BASE<"mod_s.h", int_mips_mod_s_h, NoItinerary, |
| 1656 | MSA128, MSA128>; |
| 1657 | class MOD_S_W_DESC : MSA_3R_DESC_BASE<"mod_s.w", int_mips_mod_s_w, NoItinerary, |
| 1658 | MSA128, MSA128>; |
| 1659 | class MOD_S_D_DESC : MSA_3R_DESC_BASE<"mod_s.d", int_mips_mod_s_d, NoItinerary, |
| 1660 | MSA128, MSA128>; |
| 1661 | |
| 1662 | class MOD_U_B_DESC : MSA_3R_DESC_BASE<"mod_u.b", int_mips_mod_u_b, NoItinerary, |
| 1663 | MSA128, MSA128>; |
| 1664 | class MOD_U_H_DESC : MSA_3R_DESC_BASE<"mod_u.h", int_mips_mod_u_h, NoItinerary, |
| 1665 | MSA128, MSA128>; |
| 1666 | class MOD_U_W_DESC : MSA_3R_DESC_BASE<"mod_u.w", int_mips_mod_u_w, NoItinerary, |
| 1667 | MSA128, MSA128>; |
| 1668 | class MOD_U_D_DESC : MSA_3R_DESC_BASE<"mod_u.d", int_mips_mod_u_d, NoItinerary, |
| 1669 | MSA128, MSA128>; |
| 1670 | |
| 1671 | class MSUB_Q_H_DESC : MSA_3RF_4RF_DESC_BASE<"msub_q.h", int_mips_msub_q_h, |
| 1672 | NoItinerary, MSA128, MSA128>; |
| 1673 | class MSUB_Q_W_DESC : MSA_3RF_4RF_DESC_BASE<"msub_q.w", int_mips_msub_q_w, |
| 1674 | NoItinerary, MSA128, MSA128>; |
| 1675 | |
| 1676 | class MSUBR_Q_H_DESC : MSA_3RF_4RF_DESC_BASE<"msubr_q.h", int_mips_msubr_q_h, |
| 1677 | NoItinerary, MSA128, MSA128>; |
| 1678 | class MSUBR_Q_W_DESC : MSA_3RF_4RF_DESC_BASE<"msubr_q.w", int_mips_msubr_q_w, |
| 1679 | NoItinerary, MSA128, MSA128>; |
| 1680 | |
| 1681 | class MSUBV_B_DESC : MSA_3R_4R_DESC_BASE<"msubv.b", int_mips_msubv_b, |
| 1682 | NoItinerary, MSA128, MSA128>; |
| 1683 | class MSUBV_H_DESC : MSA_3R_4R_DESC_BASE<"msubv.h", int_mips_msubv_h, |
| 1684 | NoItinerary, MSA128, MSA128>; |
| 1685 | class MSUBV_W_DESC : MSA_3R_4R_DESC_BASE<"msubv.w", int_mips_msubv_w, |
| 1686 | NoItinerary, MSA128, MSA128>; |
| 1687 | class MSUBV_D_DESC : MSA_3R_4R_DESC_BASE<"msubv.d", int_mips_msubv_d, |
| 1688 | NoItinerary, MSA128, MSA128>; |
| 1689 | |
| 1690 | class MUL_Q_H_DESC : MSA_3RF_DESC_BASE<"mul_q.h", int_mips_mul_q_h, |
| 1691 | NoItinerary, MSA128, MSA128>; |
| 1692 | class MUL_Q_W_DESC : MSA_3RF_DESC_BASE<"mul_q.w", int_mips_mul_q_w, |
| 1693 | NoItinerary, MSA128, MSA128>; |
| 1694 | |
| 1695 | class MULR_Q_H_DESC : MSA_3RF_DESC_BASE<"mulr_q.h", int_mips_mulr_q_h, |
| 1696 | NoItinerary, MSA128, MSA128>; |
| 1697 | class MULR_Q_W_DESC : MSA_3RF_DESC_BASE<"mulr_q.w", int_mips_mulr_q_w, |
| 1698 | NoItinerary, MSA128, MSA128>; |
| 1699 | |
| 1700 | class MULV_B_DESC : MSA_3R_DESC_BASE<"mulv.b", int_mips_mulv_b, |
| 1701 | NoItinerary, MSA128, MSA128>; |
| 1702 | class MULV_H_DESC : MSA_3R_DESC_BASE<"mulv.h", int_mips_mulv_h, |
| 1703 | NoItinerary, MSA128, MSA128>; |
| 1704 | class MULV_W_DESC : MSA_3R_DESC_BASE<"mulv.w", int_mips_mulv_w, |
| 1705 | NoItinerary, MSA128, MSA128>; |
| 1706 | class MULV_D_DESC : MSA_3R_DESC_BASE<"mulv.d", int_mips_mulv_d, |
| 1707 | NoItinerary, MSA128, MSA128>; |
| 1708 | |
| 1709 | class NLOC_B_DESC : MSA_2R_DESC_BASE<"nloc.b", int_mips_nloc_b, |
| 1710 | NoItinerary, MSA128, MSA128>; |
| 1711 | class NLOC_H_DESC : MSA_2R_DESC_BASE<"nloc.h", int_mips_nloc_h, |
| 1712 | NoItinerary, MSA128, MSA128>; |
| 1713 | class NLOC_W_DESC : MSA_2R_DESC_BASE<"nloc.w", int_mips_nloc_w, |
| 1714 | NoItinerary, MSA128, MSA128>; |
| 1715 | class NLOC_D_DESC : MSA_2R_DESC_BASE<"nloc.d", int_mips_nloc_d, |
| 1716 | NoItinerary, MSA128, MSA128>; |
| 1717 | |
| 1718 | class NLZC_B_DESC : MSA_2R_DESC_BASE<"nlzc.b", int_mips_nlzc_b, |
| 1719 | NoItinerary, MSA128, MSA128>; |
| 1720 | class NLZC_H_DESC : MSA_2R_DESC_BASE<"nlzc.h", int_mips_nlzc_h, |
| 1721 | NoItinerary, MSA128, MSA128>; |
| 1722 | class NLZC_W_DESC : MSA_2R_DESC_BASE<"nlzc.w", int_mips_nlzc_w, |
| 1723 | NoItinerary, MSA128, MSA128>; |
| 1724 | class NLZC_D_DESC : MSA_2R_DESC_BASE<"nlzc.d", int_mips_nlzc_d, |
| 1725 | NoItinerary, MSA128, MSA128>; |
| 1726 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1727 | class NOR_V_DESC : MSA_VEC_DESC_BASE<"nor.v", int_mips_nor_v, NoItinerary, |
| 1728 | MSA128, MSA128>; |
| 1729 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 1730 | class NORI_B_DESC : MSA_I8_DESC_BASE<"nori.b", int_mips_nori_b, NoItinerary, |
| 1731 | MSA128, MSA128>; |
| 1732 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1733 | class OR_V_DESC : MSA_VEC_DESC_BASE<"or.v", int_mips_or_v, NoItinerary, |
| 1734 | MSA128, MSA128>; |
| 1735 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 1736 | class ORI_B_DESC : MSA_I8_DESC_BASE<"ori.b", int_mips_ori_b, NoItinerary, |
| 1737 | MSA128, MSA128>; |
| 1738 | |
| 1739 | class PCKEV_B_DESC : MSA_3R_DESC_BASE<"pckev.b", int_mips_pckev_b, NoItinerary, |
| 1740 | MSA128, MSA128>; |
| 1741 | class PCKEV_H_DESC : MSA_3R_DESC_BASE<"pckev.h", int_mips_pckev_h, NoItinerary, |
| 1742 | MSA128, MSA128>; |
| 1743 | class PCKEV_W_DESC : MSA_3R_DESC_BASE<"pckev.w", int_mips_pckev_w, NoItinerary, |
| 1744 | MSA128, MSA128>; |
| 1745 | class PCKEV_D_DESC : MSA_3R_DESC_BASE<"pckev.d", int_mips_pckev_d, NoItinerary, |
| 1746 | MSA128, MSA128>; |
| 1747 | |
| 1748 | class PCKOD_B_DESC : MSA_3R_DESC_BASE<"pckod.b", int_mips_pckod_b, NoItinerary, |
| 1749 | MSA128, MSA128>; |
| 1750 | class PCKOD_H_DESC : MSA_3R_DESC_BASE<"pckod.h", int_mips_pckod_h, NoItinerary, |
| 1751 | MSA128, MSA128>; |
| 1752 | class PCKOD_W_DESC : MSA_3R_DESC_BASE<"pckod.w", int_mips_pckod_w, NoItinerary, |
| 1753 | MSA128, MSA128>; |
| 1754 | class PCKOD_D_DESC : MSA_3R_DESC_BASE<"pckod.d", int_mips_pckod_d, NoItinerary, |
| 1755 | MSA128, MSA128>; |
| 1756 | |
| 1757 | class PCNT_B_DESC : MSA_2R_DESC_BASE<"pcnt.b", int_mips_pcnt_b, |
| 1758 | NoItinerary, MSA128, MSA128>; |
| 1759 | class PCNT_H_DESC : MSA_2R_DESC_BASE<"pcnt.h", int_mips_pcnt_h, |
| 1760 | NoItinerary, MSA128, MSA128>; |
| 1761 | class PCNT_W_DESC : MSA_2R_DESC_BASE<"pcnt.w", int_mips_pcnt_w, |
| 1762 | NoItinerary, MSA128, MSA128>; |
| 1763 | class PCNT_D_DESC : MSA_2R_DESC_BASE<"pcnt.d", int_mips_pcnt_d, |
| 1764 | NoItinerary, MSA128, MSA128>; |
| 1765 | |
| 1766 | class SAT_S_B_DESC : MSA_BIT_B_DESC_BASE<"sat_s.b", int_mips_sat_s_b, |
| 1767 | NoItinerary, MSA128, MSA128>; |
| 1768 | class SAT_S_H_DESC : MSA_BIT_H_DESC_BASE<"sat_s.h", int_mips_sat_s_h, |
| 1769 | NoItinerary, MSA128, MSA128>; |
| 1770 | class SAT_S_W_DESC : MSA_BIT_W_DESC_BASE<"sat_s.w", int_mips_sat_s_w, |
| 1771 | NoItinerary, MSA128, MSA128>; |
| 1772 | class SAT_S_D_DESC : MSA_BIT_D_DESC_BASE<"sat_s.d", int_mips_sat_s_d, |
| 1773 | NoItinerary, MSA128, MSA128>; |
| 1774 | |
| 1775 | class SAT_U_B_DESC : MSA_BIT_B_DESC_BASE<"sat_u.b", int_mips_sat_u_b, |
| 1776 | NoItinerary, MSA128, MSA128>; |
| 1777 | class SAT_U_H_DESC : MSA_BIT_H_DESC_BASE<"sat_u.h", int_mips_sat_u_h, |
| 1778 | NoItinerary, MSA128, MSA128>; |
| 1779 | class SAT_U_W_DESC : MSA_BIT_W_DESC_BASE<"sat_u.w", int_mips_sat_u_w, |
| 1780 | NoItinerary, MSA128, MSA128>; |
| 1781 | class SAT_U_D_DESC : MSA_BIT_D_DESC_BASE<"sat_u.d", int_mips_sat_u_d, |
| 1782 | NoItinerary, MSA128, MSA128>; |
| 1783 | |
| 1784 | class SHF_B_DESC : MSA_I8_DESC_BASE<"shf.b", int_mips_shf_b, NoItinerary, |
| 1785 | MSA128, MSA128>; |
| 1786 | class SHF_H_DESC : MSA_I8_DESC_BASE<"shf.h", int_mips_shf_h, NoItinerary, |
| 1787 | MSA128, MSA128>; |
| 1788 | class SHF_W_DESC : MSA_I8_DESC_BASE<"shf.w", int_mips_shf_w, NoItinerary, |
| 1789 | MSA128, MSA128>; |
| 1790 | |
| 1791 | class SLD_B_DESC : MSA_3R_DESC_BASE<"sld.b", int_mips_sld_b, NoItinerary, |
| 1792 | MSA128, MSA128>; |
| 1793 | class SLD_H_DESC : MSA_3R_DESC_BASE<"sld.h", int_mips_sld_h, NoItinerary, |
| 1794 | MSA128, MSA128>; |
| 1795 | class SLD_W_DESC : MSA_3R_DESC_BASE<"sld.w", int_mips_sld_w, NoItinerary, |
| 1796 | MSA128, MSA128>; |
| 1797 | class SLD_D_DESC : MSA_3R_DESC_BASE<"sld.d", int_mips_sld_d, NoItinerary, |
| 1798 | MSA128, MSA128>; |
| 1799 | |
| 1800 | class SLDI_B_DESC : MSA_BIT_B_DESC_BASE<"sldi.b", int_mips_sldi_b, |
| 1801 | NoItinerary, MSA128, MSA128>; |
| 1802 | class SLDI_H_DESC : MSA_BIT_H_DESC_BASE<"sldi.h", int_mips_sldi_h, |
| 1803 | NoItinerary, MSA128, MSA128>; |
| 1804 | class SLDI_W_DESC : MSA_BIT_W_DESC_BASE<"sldi.w", int_mips_sldi_w, |
| 1805 | NoItinerary, MSA128, MSA128>; |
| 1806 | class SLDI_D_DESC : MSA_BIT_D_DESC_BASE<"sldi.d", int_mips_sldi_d, |
| 1807 | NoItinerary, MSA128, MSA128>; |
| 1808 | |
| 1809 | class SLL_B_DESC : MSA_3R_DESC_BASE<"sll.b", int_mips_sll_b, NoItinerary, |
| 1810 | MSA128, MSA128>; |
| 1811 | class SLL_H_DESC : MSA_3R_DESC_BASE<"sll.h", int_mips_sll_h, NoItinerary, |
| 1812 | MSA128, MSA128>; |
| 1813 | class SLL_W_DESC : MSA_3R_DESC_BASE<"sll.w", int_mips_sll_w, NoItinerary, |
| 1814 | MSA128, MSA128>; |
| 1815 | class SLL_D_DESC : MSA_3R_DESC_BASE<"sll.d", int_mips_sll_d, NoItinerary, |
| 1816 | MSA128, MSA128>; |
| 1817 | |
| 1818 | class SLLI_B_DESC : MSA_BIT_B_DESC_BASE<"slli.b", int_mips_slli_b, |
| 1819 | NoItinerary, MSA128, MSA128>; |
| 1820 | class SLLI_H_DESC : MSA_BIT_H_DESC_BASE<"slli.h", int_mips_slli_h, |
| 1821 | NoItinerary, MSA128, MSA128>; |
| 1822 | class SLLI_W_DESC : MSA_BIT_W_DESC_BASE<"slli.w", int_mips_slli_w, |
| 1823 | NoItinerary, MSA128, MSA128>; |
| 1824 | class SLLI_D_DESC : MSA_BIT_D_DESC_BASE<"slli.d", int_mips_slli_d, |
| 1825 | NoItinerary, MSA128, MSA128>; |
| 1826 | |
| 1827 | class SPLAT_B_DESC : MSA_3R_DESC_BASE<"splat.b", int_mips_splat_b, NoItinerary, |
| 1828 | MSA128, MSA128, GPR32>; |
| 1829 | class SPLAT_H_DESC : MSA_3R_DESC_BASE<"splat.h", int_mips_splat_h, NoItinerary, |
| 1830 | MSA128, MSA128, GPR32>; |
| 1831 | class SPLAT_W_DESC : MSA_3R_DESC_BASE<"splat.w", int_mips_splat_w, NoItinerary, |
| 1832 | MSA128, MSA128, GPR32>; |
| 1833 | class SPLAT_D_DESC : MSA_3R_DESC_BASE<"splat.d", int_mips_splat_d, NoItinerary, |
| 1834 | MSA128, MSA128, GPR32>; |
| 1835 | |
| 1836 | class SPLATI_B_DESC : MSA_BIT_B_DESC_BASE<"splati.b", int_mips_splati_b, |
| 1837 | NoItinerary, MSA128, MSA128>; |
| 1838 | class SPLATI_H_DESC : MSA_BIT_H_DESC_BASE<"splati.h", int_mips_splati_h, |
| 1839 | NoItinerary, MSA128, MSA128>; |
| 1840 | class SPLATI_W_DESC : MSA_BIT_W_DESC_BASE<"splati.w", int_mips_splati_w, |
| 1841 | NoItinerary, MSA128, MSA128>; |
| 1842 | class SPLATI_D_DESC : MSA_BIT_D_DESC_BASE<"splati.d", int_mips_splati_d, |
| 1843 | NoItinerary, MSA128, MSA128>; |
| 1844 | |
| 1845 | class SRA_B_DESC : MSA_3R_DESC_BASE<"sra.b", int_mips_sra_b, NoItinerary, |
| 1846 | MSA128, MSA128>; |
| 1847 | class SRA_H_DESC : MSA_3R_DESC_BASE<"sra.h", int_mips_sra_h, NoItinerary, |
| 1848 | MSA128, MSA128>; |
| 1849 | class SRA_W_DESC : MSA_3R_DESC_BASE<"sra.w", int_mips_sra_w, NoItinerary, |
| 1850 | MSA128, MSA128>; |
| 1851 | class SRA_D_DESC : MSA_3R_DESC_BASE<"sra.d", int_mips_sra_d, NoItinerary, |
| 1852 | MSA128, MSA128>; |
| 1853 | |
| 1854 | class SRAI_B_DESC : MSA_BIT_B_DESC_BASE<"srai.b", int_mips_srai_b, |
| 1855 | NoItinerary, MSA128, MSA128>; |
| 1856 | class SRAI_H_DESC : MSA_BIT_H_DESC_BASE<"srai.h", int_mips_srai_h, |
| 1857 | NoItinerary, MSA128, MSA128>; |
| 1858 | class SRAI_W_DESC : MSA_BIT_W_DESC_BASE<"srai.w", int_mips_srai_w, |
| 1859 | NoItinerary, MSA128, MSA128>; |
| 1860 | class SRAI_D_DESC : MSA_BIT_D_DESC_BASE<"srai.d", int_mips_srai_d, |
| 1861 | NoItinerary, MSA128, MSA128>; |
| 1862 | |
| 1863 | class SRL_B_DESC : MSA_3R_DESC_BASE<"srl.b", int_mips_srl_b, NoItinerary, |
| 1864 | MSA128, MSA128>; |
| 1865 | class SRL_H_DESC : MSA_3R_DESC_BASE<"srl.h", int_mips_srl_h, NoItinerary, |
| 1866 | MSA128, MSA128>; |
| 1867 | class SRL_W_DESC : MSA_3R_DESC_BASE<"srl.w", int_mips_srl_w, NoItinerary, |
| 1868 | MSA128, MSA128>; |
| 1869 | class SRL_D_DESC : MSA_3R_DESC_BASE<"srl.d", int_mips_srl_d, NoItinerary, |
| 1870 | MSA128, MSA128>; |
| 1871 | |
| 1872 | class SRLI_B_DESC : MSA_BIT_B_DESC_BASE<"srli.b", int_mips_srli_b, |
| 1873 | NoItinerary, MSA128, MSA128>; |
| 1874 | class SRLI_H_DESC : MSA_BIT_H_DESC_BASE<"srli.h", int_mips_srli_h, |
| 1875 | NoItinerary, MSA128, MSA128>; |
| 1876 | class SRLI_W_DESC : MSA_BIT_W_DESC_BASE<"srli.w", int_mips_srli_w, |
| 1877 | NoItinerary, MSA128, MSA128>; |
| 1878 | class SRLI_D_DESC : MSA_BIT_D_DESC_BASE<"srli.d", int_mips_srli_d, |
| 1879 | NoItinerary, MSA128, MSA128>; |
| 1880 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 1881 | class ST_DESC_BASE<string instr_asm, SDPatternOperator OpNode, |
| 1882 | ValueType TyNode, InstrItinClass itin, RegisterClass RCWD, |
| 1883 | Operand MemOpnd = mem, ComplexPattern Addr = addr> { |
| 1884 | dag OutOperandList = (outs); |
| 1885 | dag InOperandList = (ins RCWD:$wd, MemOpnd:$addr); |
| 1886 | string AsmString = !strconcat(instr_asm, "\t$wd, $addr"); |
| 1887 | list<dag> Pattern = [(OpNode (TyNode RCWD:$wd), Addr:$addr)]; |
| 1888 | InstrItinClass Itinerary = itin; |
| 1889 | } |
| 1890 | |
| 1891 | // Load/Store |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 1892 | class ST_B_DESC : ST_DESC_BASE<"st.b", store, v16i8, NoItinerary, MSA128>; |
| 1893 | class ST_H_DESC : ST_DESC_BASE<"st.h", store, v8i16, NoItinerary, MSA128>; |
| 1894 | class ST_W_DESC : ST_DESC_BASE<"st.w", store, v4i32, NoItinerary, MSA128>; |
| 1895 | class ST_D_DESC : ST_DESC_BASE<"st.d", store, v2i64, NoItinerary, MSA128>; |
| 1896 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 1897 | class SUBS_S_B_DESC : MSA_3R_DESC_BASE<"subs_s.b", int_mips_subs_s_b, |
| 1898 | NoItinerary, MSA128, MSA128>; |
| 1899 | class SUBS_S_H_DESC : MSA_3R_DESC_BASE<"subs_s.h", int_mips_subs_s_h, |
| 1900 | NoItinerary, MSA128, MSA128>; |
| 1901 | class SUBS_S_W_DESC : MSA_3R_DESC_BASE<"subs_s.w", int_mips_subs_s_w, |
| 1902 | NoItinerary, MSA128, MSA128>; |
| 1903 | class SUBS_S_D_DESC : MSA_3R_DESC_BASE<"subs_s.d", int_mips_subs_s_d, |
| 1904 | NoItinerary, MSA128, MSA128>; |
| 1905 | |
| 1906 | class SUBS_U_B_DESC : MSA_3R_DESC_BASE<"subs_u.b", int_mips_subs_u_b, |
| 1907 | NoItinerary, MSA128, MSA128>; |
| 1908 | class SUBS_U_H_DESC : MSA_3R_DESC_BASE<"subs_u.h", int_mips_subs_u_h, |
| 1909 | NoItinerary, MSA128, MSA128>; |
| 1910 | class SUBS_U_W_DESC : MSA_3R_DESC_BASE<"subs_u.w", int_mips_subs_u_w, |
| 1911 | NoItinerary, MSA128, MSA128>; |
| 1912 | class SUBS_U_D_DESC : MSA_3R_DESC_BASE<"subs_u.d", int_mips_subs_u_d, |
| 1913 | NoItinerary, MSA128, MSA128>; |
| 1914 | |
| 1915 | class SUBSUS_U_B_DESC : MSA_3R_DESC_BASE<"subsus_u.b", int_mips_subsus_u_b, |
| 1916 | NoItinerary, MSA128, MSA128>; |
| 1917 | class SUBSUS_U_H_DESC : MSA_3R_DESC_BASE<"subsus_u.h", int_mips_subsus_u_h, |
| 1918 | NoItinerary, MSA128, MSA128>; |
| 1919 | class SUBSUS_U_W_DESC : MSA_3R_DESC_BASE<"subsus_u.w", int_mips_subsus_u_w, |
| 1920 | NoItinerary, MSA128, MSA128>; |
| 1921 | class SUBSUS_U_D_DESC : MSA_3R_DESC_BASE<"subsus_u.d", int_mips_subsus_u_d, |
| 1922 | NoItinerary, MSA128, MSA128>; |
| 1923 | |
| 1924 | class SUBSUU_S_B_DESC : MSA_3R_DESC_BASE<"subsuu_s.b", int_mips_subsuu_s_b, |
| 1925 | NoItinerary, MSA128, MSA128>; |
| 1926 | class SUBSUU_S_H_DESC : MSA_3R_DESC_BASE<"subsuu_s.h", int_mips_subsuu_s_h, |
| 1927 | NoItinerary, MSA128, MSA128>; |
| 1928 | class SUBSUU_S_W_DESC : MSA_3R_DESC_BASE<"subsuu_s.w", int_mips_subsuu_s_w, |
| 1929 | NoItinerary, MSA128, MSA128>; |
| 1930 | class SUBSUU_S_D_DESC : MSA_3R_DESC_BASE<"subsuu_s.d", int_mips_subsuu_s_d, |
| 1931 | NoItinerary, MSA128, MSA128>; |
| 1932 | |
| 1933 | class SUBV_B_DESC : MSA_3R_DESC_BASE<"subv.b", int_mips_subv_b, |
| 1934 | NoItinerary, MSA128, MSA128>; |
| 1935 | class SUBV_H_DESC : MSA_3R_DESC_BASE<"subv.h", int_mips_subv_h, |
| 1936 | NoItinerary, MSA128, MSA128>; |
| 1937 | class SUBV_W_DESC : MSA_3R_DESC_BASE<"subv.w", int_mips_subv_w, |
| 1938 | NoItinerary, MSA128, MSA128>; |
| 1939 | class SUBV_D_DESC : MSA_3R_DESC_BASE<"subv.d", int_mips_subv_d, |
| 1940 | NoItinerary, MSA128, MSA128>; |
| 1941 | |
| 1942 | class SUBVI_B_DESC : MSA_I5_DESC_BASE<"subvi.b", int_mips_subvi_b, NoItinerary, |
| 1943 | MSA128, MSA128>; |
| 1944 | class SUBVI_H_DESC : MSA_I5_DESC_BASE<"subvi.h", int_mips_subvi_h, NoItinerary, |
| 1945 | MSA128, MSA128>; |
| 1946 | class SUBVI_W_DESC : MSA_I5_DESC_BASE<"subvi.w", int_mips_subvi_w, NoItinerary, |
| 1947 | MSA128, MSA128>; |
| 1948 | class SUBVI_D_DESC : MSA_I5_DESC_BASE<"subvi.d", int_mips_subvi_d, NoItinerary, |
| 1949 | MSA128, MSA128>; |
| 1950 | |
| 1951 | class VSHF_B_DESC : MSA_3R_DESC_BASE<"vshf.b", int_mips_vshf_b, |
| 1952 | NoItinerary, MSA128, MSA128>; |
| 1953 | class VSHF_H_DESC : MSA_3R_DESC_BASE<"vshf.h", int_mips_vshf_h, |
| 1954 | NoItinerary, MSA128, MSA128>; |
| 1955 | class VSHF_W_DESC : MSA_3R_DESC_BASE<"vshf.w", int_mips_vshf_w, |
| 1956 | NoItinerary, MSA128, MSA128>; |
| 1957 | class VSHF_D_DESC : MSA_3R_DESC_BASE<"vshf.d", int_mips_vshf_d, |
| 1958 | NoItinerary, MSA128, MSA128>; |
| 1959 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1960 | class XOR_V_DESC : MSA_VEC_DESC_BASE<"xor.v", int_mips_xor_v, NoItinerary, |
| 1961 | MSA128, MSA128>; |
| 1962 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 1963 | class XORI_B_DESC : MSA_I8_DESC_BASE<"xori.b", int_mips_xori_b, NoItinerary, |
| 1964 | MSA128, MSA128>; |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 1965 | // Instruction defs. |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1966 | def ADD_A_B : ADD_A_B_ENC, ADD_A_B_DESC, Requires<[HasMSA]>; |
| 1967 | def ADD_A_H : ADD_A_H_ENC, ADD_A_H_DESC, Requires<[HasMSA]>; |
| 1968 | def ADD_A_W : ADD_A_W_ENC, ADD_A_W_DESC, Requires<[HasMSA]>; |
| 1969 | def ADD_A_D : ADD_A_D_ENC, ADD_A_D_DESC, Requires<[HasMSA]>; |
| 1970 | |
| 1971 | def ADDS_A_B : ADDS_A_B_ENC, ADDS_A_B_DESC, Requires<[HasMSA]>; |
| 1972 | def ADDS_A_H : ADDS_A_H_ENC, ADDS_A_H_DESC, Requires<[HasMSA]>; |
| 1973 | def ADDS_A_W : ADDS_A_W_ENC, ADDS_A_W_DESC, Requires<[HasMSA]>; |
| 1974 | def ADDS_A_D : ADDS_A_D_ENC, ADDS_A_D_DESC, Requires<[HasMSA]>; |
| 1975 | |
| 1976 | def ADDS_S_B : ADDS_S_B_ENC, ADDS_S_B_DESC, Requires<[HasMSA]>; |
| 1977 | def ADDS_S_H : ADDS_S_H_ENC, ADDS_S_H_DESC, Requires<[HasMSA]>; |
| 1978 | def ADDS_S_W : ADDS_S_W_ENC, ADDS_S_W_DESC, Requires<[HasMSA]>; |
| 1979 | def ADDS_S_D : ADDS_S_D_ENC, ADDS_S_D_DESC, Requires<[HasMSA]>; |
| 1980 | |
| 1981 | def ADDS_U_B : ADDS_U_B_ENC, ADDS_U_B_DESC, Requires<[HasMSA]>; |
| 1982 | def ADDS_U_H : ADDS_U_H_ENC, ADDS_U_H_DESC, Requires<[HasMSA]>; |
| 1983 | def ADDS_U_W : ADDS_U_W_ENC, ADDS_U_W_DESC, Requires<[HasMSA]>; |
| 1984 | def ADDS_U_D : ADDS_U_D_ENC, ADDS_U_D_DESC, Requires<[HasMSA]>; |
| 1985 | |
| 1986 | def ADDV_B : ADDV_B_ENC, ADDV_B_DESC, Requires<[HasMSA]>; |
| 1987 | def ADDV_H : ADDV_H_ENC, ADDV_H_DESC, Requires<[HasMSA]>; |
| 1988 | def ADDV_W : ADDV_W_ENC, ADDV_W_DESC, Requires<[HasMSA]>; |
| 1989 | def ADDV_D : ADDV_D_ENC, ADDV_D_DESC, Requires<[HasMSA]>; |
| 1990 | |
| 1991 | def ADDVI_B : ADDVI_B_ENC, ADDVI_B_DESC, Requires<[HasMSA]>; |
| 1992 | def ADDVI_H : ADDVI_H_ENC, ADDVI_H_DESC, Requires<[HasMSA]>; |
| 1993 | def ADDVI_W : ADDVI_W_ENC, ADDVI_W_DESC, Requires<[HasMSA]>; |
| 1994 | def ADDVI_D : ADDVI_D_ENC, ADDVI_D_DESC, Requires<[HasMSA]>; |
| 1995 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 1996 | def AND_V : AND_V_ENC, AND_V_DESC, Requires<[HasMSA]>; |
| 1997 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 1998 | def ANDI_B : ANDI_B_ENC, ANDI_B_DESC, Requires<[HasMSA]>; |
| 1999 | |
| 2000 | def ASUB_S_B : ASUB_S_B_ENC, ASUB_S_B_DESC, Requires<[HasMSA]>; |
| 2001 | def ASUB_S_H : ASUB_S_H_ENC, ASUB_S_H_DESC, Requires<[HasMSA]>; |
| 2002 | def ASUB_S_W : ASUB_S_W_ENC, ASUB_S_W_DESC, Requires<[HasMSA]>; |
| 2003 | def ASUB_S_D : ASUB_S_D_ENC, ASUB_S_D_DESC, Requires<[HasMSA]>; |
| 2004 | |
| 2005 | def ASUB_U_B : ASUB_U_B_ENC, ASUB_U_B_DESC, Requires<[HasMSA]>; |
| 2006 | def ASUB_U_H : ASUB_U_H_ENC, ASUB_U_H_DESC, Requires<[HasMSA]>; |
| 2007 | def ASUB_U_W : ASUB_U_W_ENC, ASUB_U_W_DESC, Requires<[HasMSA]>; |
| 2008 | def ASUB_U_D : ASUB_U_D_ENC, ASUB_U_D_DESC, Requires<[HasMSA]>; |
| 2009 | |
| 2010 | def AVE_S_B : AVE_S_B_ENC, AVE_S_B_DESC, Requires<[HasMSA]>; |
| 2011 | def AVE_S_H : AVE_S_H_ENC, AVE_S_H_DESC, Requires<[HasMSA]>; |
| 2012 | def AVE_S_W : AVE_S_W_ENC, AVE_S_W_DESC, Requires<[HasMSA]>; |
| 2013 | def AVE_S_D : AVE_S_D_ENC, AVE_S_D_DESC, Requires<[HasMSA]>; |
| 2014 | |
| 2015 | def AVE_U_B : AVE_U_B_ENC, AVE_U_B_DESC, Requires<[HasMSA]>; |
| 2016 | def AVE_U_H : AVE_U_H_ENC, AVE_U_H_DESC, Requires<[HasMSA]>; |
| 2017 | def AVE_U_W : AVE_U_W_ENC, AVE_U_W_DESC, Requires<[HasMSA]>; |
| 2018 | def AVE_U_D : AVE_U_D_ENC, AVE_U_D_DESC, Requires<[HasMSA]>; |
| 2019 | |
| 2020 | def AVER_S_B : AVER_S_B_ENC, AVER_S_B_DESC, Requires<[HasMSA]>; |
| 2021 | def AVER_S_H : AVER_S_H_ENC, AVER_S_H_DESC, Requires<[HasMSA]>; |
| 2022 | def AVER_S_W : AVER_S_W_ENC, AVER_S_W_DESC, Requires<[HasMSA]>; |
| 2023 | def AVER_S_D : AVER_S_D_ENC, AVER_S_D_DESC, Requires<[HasMSA]>; |
| 2024 | |
| 2025 | def AVER_U_B : AVER_U_B_ENC, AVER_U_B_DESC, Requires<[HasMSA]>; |
| 2026 | def AVER_U_H : AVER_U_H_ENC, AVER_U_H_DESC, Requires<[HasMSA]>; |
| 2027 | def AVER_U_W : AVER_U_W_ENC, AVER_U_W_DESC, Requires<[HasMSA]>; |
| 2028 | def AVER_U_D : AVER_U_D_ENC, AVER_U_D_DESC, Requires<[HasMSA]>; |
| 2029 | |
| 2030 | def BCLR_B : BCLR_B_ENC, BCLR_B_DESC, Requires<[HasMSA]>; |
| 2031 | def BCLR_H : BCLR_H_ENC, BCLR_H_DESC, Requires<[HasMSA]>; |
| 2032 | def BCLR_W : BCLR_W_ENC, BCLR_W_DESC, Requires<[HasMSA]>; |
| 2033 | def BCLR_D : BCLR_D_ENC, BCLR_D_DESC, Requires<[HasMSA]>; |
| 2034 | |
| 2035 | def BCLRI_B : BCLRI_B_ENC, BCLRI_B_DESC, Requires<[HasMSA]>; |
| 2036 | def BCLRI_H : BCLRI_H_ENC, BCLRI_H_DESC, Requires<[HasMSA]>; |
| 2037 | def BCLRI_W : BCLRI_W_ENC, BCLRI_W_DESC, Requires<[HasMSA]>; |
| 2038 | def BCLRI_D : BCLRI_D_ENC, BCLRI_D_DESC, Requires<[HasMSA]>; |
| 2039 | |
| 2040 | def BINSL_B : BINSL_B_ENC, BINSL_B_DESC, Requires<[HasMSA]>; |
| 2041 | def BINSL_H : BINSL_H_ENC, BINSL_H_DESC, Requires<[HasMSA]>; |
| 2042 | def BINSL_W : BINSL_W_ENC, BINSL_W_DESC, Requires<[HasMSA]>; |
| 2043 | def BINSL_D : BINSL_D_ENC, BINSL_D_DESC, Requires<[HasMSA]>; |
| 2044 | |
| 2045 | def BINSLI_B : BINSLI_B_ENC, BINSLI_B_DESC, Requires<[HasMSA]>; |
| 2046 | def BINSLI_H : BINSLI_H_ENC, BINSLI_H_DESC, Requires<[HasMSA]>; |
| 2047 | def BINSLI_W : BINSLI_W_ENC, BINSLI_W_DESC, Requires<[HasMSA]>; |
| 2048 | def BINSLI_D : BINSLI_D_ENC, BINSLI_D_DESC, Requires<[HasMSA]>; |
| 2049 | |
| 2050 | def BINSR_B : BINSR_B_ENC, BINSR_B_DESC, Requires<[HasMSA]>; |
| 2051 | def BINSR_H : BINSR_H_ENC, BINSR_H_DESC, Requires<[HasMSA]>; |
| 2052 | def BINSR_W : BINSR_W_ENC, BINSR_W_DESC, Requires<[HasMSA]>; |
| 2053 | def BINSR_D : BINSR_D_ENC, BINSR_D_DESC, Requires<[HasMSA]>; |
| 2054 | |
| 2055 | def BINSRI_B : BINSRI_B_ENC, BINSRI_B_DESC, Requires<[HasMSA]>; |
| 2056 | def BINSRI_H : BINSRI_H_ENC, BINSRI_H_DESC, Requires<[HasMSA]>; |
| 2057 | def BINSRI_W : BINSRI_W_ENC, BINSRI_W_DESC, Requires<[HasMSA]>; |
| 2058 | def BINSRI_D : BINSRI_D_ENC, BINSRI_D_DESC, Requires<[HasMSA]>; |
| 2059 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2060 | def BMNZ_V : BMNZ_V_ENC, BMNZ_V_DESC, Requires<[HasMSA]>; |
| 2061 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2062 | def BMNZI_B : BMNZI_B_ENC, BMNZI_B_DESC, Requires<[HasMSA]>; |
| 2063 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2064 | def BMZ_V : BMZ_V_ENC, BMZ_V_DESC, Requires<[HasMSA]>; |
| 2065 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2066 | def BMZI_B : BMZI_B_ENC, BMZI_B_DESC, Requires<[HasMSA]>; |
| 2067 | |
| 2068 | def BNEG_B : BNEG_B_ENC, BNEG_B_DESC, Requires<[HasMSA]>; |
| 2069 | def BNEG_H : BNEG_H_ENC, BNEG_H_DESC, Requires<[HasMSA]>; |
| 2070 | def BNEG_W : BNEG_W_ENC, BNEG_W_DESC, Requires<[HasMSA]>; |
| 2071 | def BNEG_D : BNEG_D_ENC, BNEG_D_DESC, Requires<[HasMSA]>; |
| 2072 | |
| 2073 | def BNEGI_B : BNEGI_B_ENC, BNEGI_B_DESC, Requires<[HasMSA]>; |
| 2074 | def BNEGI_H : BNEGI_H_ENC, BNEGI_H_DESC, Requires<[HasMSA]>; |
| 2075 | def BNEGI_W : BNEGI_W_ENC, BNEGI_W_DESC, Requires<[HasMSA]>; |
| 2076 | def BNEGI_D : BNEGI_D_ENC, BNEGI_D_DESC, Requires<[HasMSA]>; |
| 2077 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2078 | def BSEL_V : BSEL_V_ENC, BSEL_V_DESC, Requires<[HasMSA]>; |
| 2079 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2080 | def BSELI_B : BSELI_B_ENC, BSELI_B_DESC, Requires<[HasMSA]>; |
| 2081 | |
| 2082 | def BSET_B : BSET_B_ENC, BSET_B_DESC, Requires<[HasMSA]>; |
| 2083 | def BSET_H : BSET_H_ENC, BSET_H_DESC, Requires<[HasMSA]>; |
| 2084 | def BSET_W : BSET_W_ENC, BSET_W_DESC, Requires<[HasMSA]>; |
| 2085 | def BSET_D : BSET_D_ENC, BSET_D_DESC, Requires<[HasMSA]>; |
| 2086 | |
| 2087 | def BSETI_B : BSETI_B_ENC, BSETI_B_DESC, Requires<[HasMSA]>; |
| 2088 | def BSETI_H : BSETI_H_ENC, BSETI_H_DESC, Requires<[HasMSA]>; |
| 2089 | def BSETI_W : BSETI_W_ENC, BSETI_W_DESC, Requires<[HasMSA]>; |
| 2090 | def BSETI_D : BSETI_D_ENC, BSETI_D_DESC, Requires<[HasMSA]>; |
| 2091 | |
| 2092 | def CEQ_B : CEQ_B_ENC, CEQ_B_DESC, Requires<[HasMSA]>; |
| 2093 | def CEQ_H : CEQ_H_ENC, CEQ_H_DESC, Requires<[HasMSA]>; |
| 2094 | def CEQ_W : CEQ_W_ENC, CEQ_W_DESC, Requires<[HasMSA]>; |
| 2095 | def CEQ_D : CEQ_D_ENC, CEQ_D_DESC, Requires<[HasMSA]>; |
| 2096 | |
| 2097 | def CEQI_B : CEQI_B_ENC, CEQI_B_DESC, Requires<[HasMSA]>; |
| 2098 | def CEQI_H : CEQI_H_ENC, CEQI_H_DESC, Requires<[HasMSA]>; |
| 2099 | def CEQI_W : CEQI_W_ENC, CEQI_W_DESC, Requires<[HasMSA]>; |
| 2100 | def CEQI_D : CEQI_D_ENC, CEQI_D_DESC, Requires<[HasMSA]>; |
| 2101 | |
| 2102 | def CLE_S_B : CLE_S_B_ENC, CLE_S_B_DESC, Requires<[HasMSA]>; |
| 2103 | def CLE_S_H : CLE_S_H_ENC, CLE_S_H_DESC, Requires<[HasMSA]>; |
| 2104 | def CLE_S_W : CLE_S_W_ENC, CLE_S_W_DESC, Requires<[HasMSA]>; |
| 2105 | def CLE_S_D : CLE_S_D_ENC, CLE_S_D_DESC, Requires<[HasMSA]>; |
| 2106 | |
| 2107 | def CLE_U_B : CLE_U_B_ENC, CLE_U_B_DESC, Requires<[HasMSA]>; |
| 2108 | def CLE_U_H : CLE_U_H_ENC, CLE_U_H_DESC, Requires<[HasMSA]>; |
| 2109 | def CLE_U_W : CLE_U_W_ENC, CLE_U_W_DESC, Requires<[HasMSA]>; |
| 2110 | def CLE_U_D : CLE_U_D_ENC, CLE_U_D_DESC, Requires<[HasMSA]>; |
| 2111 | |
| 2112 | def CLEI_S_B : CLEI_S_B_ENC, CLEI_S_B_DESC, Requires<[HasMSA]>; |
| 2113 | def CLEI_S_H : CLEI_S_H_ENC, CLEI_S_H_DESC, Requires<[HasMSA]>; |
| 2114 | def CLEI_S_W : CLEI_S_W_ENC, CLEI_S_W_DESC, Requires<[HasMSA]>; |
| 2115 | def CLEI_S_D : CLEI_S_D_ENC, CLEI_S_D_DESC, Requires<[HasMSA]>; |
| 2116 | |
| 2117 | def CLEI_U_B : CLEI_U_B_ENC, CLEI_U_B_DESC, Requires<[HasMSA]>; |
| 2118 | def CLEI_U_H : CLEI_U_H_ENC, CLEI_U_H_DESC, Requires<[HasMSA]>; |
| 2119 | def CLEI_U_W : CLEI_U_W_ENC, CLEI_U_W_DESC, Requires<[HasMSA]>; |
| 2120 | def CLEI_U_D : CLEI_U_D_ENC, CLEI_U_D_DESC, Requires<[HasMSA]>; |
| 2121 | |
| 2122 | def CLT_S_B : CLT_S_B_ENC, CLT_S_B_DESC, Requires<[HasMSA]>; |
| 2123 | def CLT_S_H : CLT_S_H_ENC, CLT_S_H_DESC, Requires<[HasMSA]>; |
| 2124 | def CLT_S_W : CLT_S_W_ENC, CLT_S_W_DESC, Requires<[HasMSA]>; |
| 2125 | def CLT_S_D : CLT_S_D_ENC, CLT_S_D_DESC, Requires<[HasMSA]>; |
| 2126 | |
| 2127 | def CLT_U_B : CLT_U_B_ENC, CLT_U_B_DESC, Requires<[HasMSA]>; |
| 2128 | def CLT_U_H : CLT_U_H_ENC, CLT_U_H_DESC, Requires<[HasMSA]>; |
| 2129 | def CLT_U_W : CLT_U_W_ENC, CLT_U_W_DESC, Requires<[HasMSA]>; |
| 2130 | def CLT_U_D : CLT_U_D_ENC, CLT_U_D_DESC, Requires<[HasMSA]>; |
| 2131 | |
| 2132 | def CLTI_S_B : CLTI_S_B_ENC, CLTI_S_B_DESC, Requires<[HasMSA]>; |
| 2133 | def CLTI_S_H : CLTI_S_H_ENC, CLTI_S_H_DESC, Requires<[HasMSA]>; |
| 2134 | def CLTI_S_W : CLTI_S_W_ENC, CLTI_S_W_DESC, Requires<[HasMSA]>; |
| 2135 | def CLTI_S_D : CLTI_S_D_ENC, CLTI_S_D_DESC, Requires<[HasMSA]>; |
| 2136 | |
| 2137 | def CLTI_U_B : CLTI_U_B_ENC, CLTI_U_B_DESC, Requires<[HasMSA]>; |
| 2138 | def CLTI_U_H : CLTI_U_H_ENC, CLTI_U_H_DESC, Requires<[HasMSA]>; |
| 2139 | def CLTI_U_W : CLTI_U_W_ENC, CLTI_U_W_DESC, Requires<[HasMSA]>; |
| 2140 | def CLTI_U_D : CLTI_U_D_ENC, CLTI_U_D_DESC, Requires<[HasMSA]>; |
| 2141 | |
| 2142 | def COPY_S_B : COPY_S_B_ENC, COPY_S_B_DESC, Requires<[HasMSA]>; |
| 2143 | def COPY_S_H : COPY_S_H_ENC, COPY_S_H_DESC, Requires<[HasMSA]>; |
| 2144 | def COPY_S_W : COPY_S_W_ENC, COPY_S_W_DESC, Requires<[HasMSA]>; |
| 2145 | |
| 2146 | def COPY_U_B : COPY_U_B_ENC, COPY_U_B_DESC, Requires<[HasMSA]>; |
| 2147 | def COPY_U_H : COPY_U_H_ENC, COPY_U_H_DESC, Requires<[HasMSA]>; |
| 2148 | def COPY_U_W : COPY_U_W_ENC, COPY_U_W_DESC, Requires<[HasMSA]>; |
| 2149 | |
| 2150 | def DIV_S_B : DIV_S_B_ENC, DIV_S_B_DESC, Requires<[HasMSA]>; |
| 2151 | def DIV_S_H : DIV_S_H_ENC, DIV_S_H_DESC, Requires<[HasMSA]>; |
| 2152 | def DIV_S_W : DIV_S_W_ENC, DIV_S_W_DESC, Requires<[HasMSA]>; |
| 2153 | def DIV_S_D : DIV_S_D_ENC, DIV_S_D_DESC, Requires<[HasMSA]>; |
| 2154 | |
| 2155 | def DIV_U_B : DIV_U_B_ENC, DIV_U_B_DESC, Requires<[HasMSA]>; |
| 2156 | def DIV_U_H : DIV_U_H_ENC, DIV_U_H_DESC, Requires<[HasMSA]>; |
| 2157 | def DIV_U_W : DIV_U_W_ENC, DIV_U_W_DESC, Requires<[HasMSA]>; |
| 2158 | def DIV_U_D : DIV_U_D_ENC, DIV_U_D_DESC, Requires<[HasMSA]>; |
| 2159 | |
| 2160 | def DOTP_S_B : DOTP_S_B_ENC, DOTP_S_B_DESC, Requires<[HasMSA]>; |
| 2161 | def DOTP_S_H : DOTP_S_H_ENC, DOTP_S_H_DESC, Requires<[HasMSA]>; |
| 2162 | def DOTP_S_W : DOTP_S_W_ENC, DOTP_S_W_DESC, Requires<[HasMSA]>; |
| 2163 | def DOTP_S_D : DOTP_S_D_ENC, DOTP_S_D_DESC, Requires<[HasMSA]>; |
| 2164 | |
| 2165 | def DOTP_U_B : DOTP_U_B_ENC, DOTP_U_B_DESC, Requires<[HasMSA]>; |
| 2166 | def DOTP_U_H : DOTP_U_H_ENC, DOTP_U_H_DESC, Requires<[HasMSA]>; |
| 2167 | def DOTP_U_W : DOTP_U_W_ENC, DOTP_U_W_DESC, Requires<[HasMSA]>; |
| 2168 | def DOTP_U_D : DOTP_U_D_ENC, DOTP_U_D_DESC, Requires<[HasMSA]>; |
| 2169 | |
| 2170 | def DPADD_S_H : DPADD_S_H_ENC, DPADD_S_H_DESC, Requires<[HasMSA]>; |
| 2171 | def DPADD_S_W : DPADD_S_W_ENC, DPADD_S_W_DESC, Requires<[HasMSA]>; |
| 2172 | def DPADD_S_D : DPADD_S_D_ENC, DPADD_S_D_DESC, Requires<[HasMSA]>; |
| 2173 | |
| 2174 | def DPADD_U_H : DPADD_U_H_ENC, DPADD_U_H_DESC, Requires<[HasMSA]>; |
| 2175 | def DPADD_U_W : DPADD_U_W_ENC, DPADD_U_W_DESC, Requires<[HasMSA]>; |
| 2176 | def DPADD_U_D : DPADD_U_D_ENC, DPADD_U_D_DESC, Requires<[HasMSA]>; |
| 2177 | |
| 2178 | def DPSUB_S_H : DPSUB_S_H_ENC, DPSUB_S_H_DESC, Requires<[HasMSA]>; |
| 2179 | def DPSUB_S_W : DPSUB_S_W_ENC, DPSUB_S_W_DESC, Requires<[HasMSA]>; |
| 2180 | def DPSUB_S_D : DPSUB_S_D_ENC, DPSUB_S_D_DESC, Requires<[HasMSA]>; |
| 2181 | |
| 2182 | def DPSUB_U_H : DPSUB_U_H_ENC, DPSUB_U_H_DESC, Requires<[HasMSA]>; |
| 2183 | def DPSUB_U_W : DPSUB_U_W_ENC, DPSUB_U_W_DESC, Requires<[HasMSA]>; |
| 2184 | def DPSUB_U_D : DPSUB_U_D_ENC, DPSUB_U_D_DESC, Requires<[HasMSA]>; |
| 2185 | |
| Jack Carter | b95ee69 | 2013-08-15 13:45:36 +0000 | [diff] [blame] | 2186 | def FADD_W : FADD_W_ENC, FADD_W_DESC, Requires<[HasMSA]>; |
| 2187 | def FADD_D : FADD_D_ENC, FADD_D_DESC, Requires<[HasMSA]>; |
| 2188 | |
| 2189 | def FCEQ_W : FCEQ_W_ENC, FCEQ_W_DESC, Requires<[HasMSA]>; |
| 2190 | def FCEQ_D : FCEQ_D_ENC, FCEQ_D_DESC, Requires<[HasMSA]>; |
| 2191 | |
| 2192 | def FCLE_W : FCLE_W_ENC, FCLE_W_DESC, Requires<[HasMSA]>; |
| 2193 | def FCLE_D : FCLE_D_ENC, FCLE_D_DESC, Requires<[HasMSA]>; |
| 2194 | |
| 2195 | def FCLT_W : FCLT_W_ENC, FCLT_W_DESC, Requires<[HasMSA]>; |
| 2196 | def FCLT_D : FCLT_D_ENC, FCLT_D_DESC, Requires<[HasMSA]>; |
| 2197 | |
| 2198 | def FCLASS_W : FCLASS_W_ENC, FCLASS_W_DESC, Requires<[HasMSA]>; |
| 2199 | def FCLASS_D : FCLASS_D_ENC, FCLASS_D_DESC, Requires<[HasMSA]>; |
| 2200 | |
| 2201 | def FCGE_W : FCGE_W_ENC, FCGE_W_DESC, Requires<[HasMSA]>; |
| 2202 | def FCGE_D : FCGE_D_ENC, FCGE_D_DESC, Requires<[HasMSA]>; |
| 2203 | |
| 2204 | def FCGT_W : FCGT_W_ENC, FCGT_W_DESC, Requires<[HasMSA]>; |
| 2205 | def FCGT_D : FCGT_D_ENC, FCGT_D_DESC, Requires<[HasMSA]>; |
| 2206 | |
| 2207 | def FCNE_W : FCNE_W_ENC, FCNE_W_DESC, Requires<[HasMSA]>; |
| 2208 | def FCNE_D : FCNE_D_ENC, FCNE_D_DESC, Requires<[HasMSA]>; |
| 2209 | |
| 2210 | def FCUN_W : FCUN_W_ENC, FCUN_W_DESC, Requires<[HasMSA]>; |
| 2211 | def FCUN_D : FCUN_D_ENC, FCUN_D_DESC, Requires<[HasMSA]>; |
| 2212 | |
| 2213 | def FDIV_W : FDIV_W_ENC, FDIV_W_DESC, Requires<[HasMSA]>; |
| 2214 | def FDIV_D : FDIV_D_ENC, FDIV_D_DESC, Requires<[HasMSA]>; |
| 2215 | |
| 2216 | def FEXDO_H : FEXDO_H_ENC, FEXDO_H_DESC, Requires<[HasMSA]>; |
| 2217 | def FEXDO_W : FEXDO_W_ENC, FEXDO_W_DESC, Requires<[HasMSA]>; |
| 2218 | |
| 2219 | def FEXP2_W : FEXP2_W_ENC, FEXP2_W_DESC, Requires<[HasMSA]>; |
| 2220 | def FEXP2_D : FEXP2_D_ENC, FEXP2_D_DESC, Requires<[HasMSA]>; |
| 2221 | |
| 2222 | def FEXUPL_W : FEXUPL_W_ENC, FEXUPL_W_DESC, Requires<[HasMSA]>; |
| 2223 | def FEXUPL_D : FEXUPL_D_ENC, FEXUPL_D_DESC, Requires<[HasMSA]>; |
| 2224 | |
| 2225 | def FEXUPR_W : FEXUPR_W_ENC, FEXUPR_W_DESC, Requires<[HasMSA]>; |
| 2226 | def FEXUPR_D : FEXUPR_D_ENC, FEXUPR_D_DESC, Requires<[HasMSA]>; |
| 2227 | |
| 2228 | def FFINT_S_W : FFINT_S_W_ENC, FFINT_S_W_DESC, Requires<[HasMSA]>; |
| 2229 | def FFINT_S_D : FFINT_S_D_ENC, FFINT_S_D_DESC, Requires<[HasMSA]>; |
| 2230 | |
| 2231 | def FFINT_U_W : FFINT_U_W_ENC, FFINT_U_W_DESC, Requires<[HasMSA]>; |
| 2232 | def FFINT_U_D : FFINT_U_D_ENC, FFINT_U_D_DESC, Requires<[HasMSA]>; |
| 2233 | |
| 2234 | def FFQL_W : FFQL_W_ENC, FFQL_W_DESC, Requires<[HasMSA]>; |
| 2235 | def FFQL_D : FFQL_D_ENC, FFQL_D_DESC, Requires<[HasMSA]>; |
| 2236 | |
| 2237 | def FFQR_W : FFQR_W_ENC, FFQR_W_DESC, Requires<[HasMSA]>; |
| 2238 | def FFQR_D : FFQR_D_ENC, FFQR_D_DESC, Requires<[HasMSA]>; |
| 2239 | |
| 2240 | def FILL_B : FILL_B_ENC, FILL_B_DESC, Requires<[HasMSA]>; |
| 2241 | def FILL_H : FILL_H_ENC, FILL_H_DESC, Requires<[HasMSA]>; |
| 2242 | def FILL_W : FILL_W_ENC, FILL_W_DESC, Requires<[HasMSA]>; |
| 2243 | |
| 2244 | def FLOG2_W : FLOG2_W_ENC, FLOG2_W_DESC, Requires<[HasMSA]>; |
| 2245 | def FLOG2_D : FLOG2_D_ENC, FLOG2_D_DESC, Requires<[HasMSA]>; |
| 2246 | |
| 2247 | def FMADD_W : FMADD_W_ENC, FMADD_W_DESC, Requires<[HasMSA]>; |
| 2248 | def FMADD_D : FMADD_D_ENC, FMADD_D_DESC, Requires<[HasMSA]>; |
| 2249 | |
| 2250 | def FMAX_W : FMAX_W_ENC, FMAX_W_DESC, Requires<[HasMSA]>; |
| 2251 | def FMAX_D : FMAX_D_ENC, FMAX_D_DESC, Requires<[HasMSA]>; |
| 2252 | |
| 2253 | def FMAX_A_W : FMAX_A_W_ENC, FMAX_A_W_DESC, Requires<[HasMSA]>; |
| 2254 | def FMAX_A_D : FMAX_A_D_ENC, FMAX_A_D_DESC, Requires<[HasMSA]>; |
| 2255 | |
| 2256 | def FMIN_W : FMIN_W_ENC, FMIN_W_DESC, Requires<[HasMSA]>; |
| 2257 | def FMIN_D : FMIN_D_ENC, FMIN_D_DESC, Requires<[HasMSA]>; |
| 2258 | |
| 2259 | def FMIN_A_W : FMIN_A_W_ENC, FMIN_A_W_DESC, Requires<[HasMSA]>; |
| 2260 | def FMIN_A_D : FMIN_A_D_ENC, FMIN_A_D_DESC, Requires<[HasMSA]>; |
| 2261 | |
| 2262 | def FMSUB_W : FMSUB_W_ENC, FMSUB_W_DESC, Requires<[HasMSA]>; |
| 2263 | def FMSUB_D : FMSUB_D_ENC, FMSUB_D_DESC, Requires<[HasMSA]>; |
| 2264 | |
| 2265 | def FMUL_W : FMUL_W_ENC, FMUL_W_DESC, Requires<[HasMSA]>; |
| 2266 | def FMUL_D : FMUL_D_ENC, FMUL_D_DESC, Requires<[HasMSA]>; |
| 2267 | |
| 2268 | def FRINT_W : FRINT_W_ENC, FRINT_W_DESC, Requires<[HasMSA]>; |
| 2269 | def FRINT_D : FRINT_D_ENC, FRINT_D_DESC, Requires<[HasMSA]>; |
| 2270 | |
| 2271 | def FRCP_W : FRCP_W_ENC, FRCP_W_DESC, Requires<[HasMSA]>; |
| 2272 | def FRCP_D : FRCP_D_ENC, FRCP_D_DESC, Requires<[HasMSA]>; |
| 2273 | |
| 2274 | def FRSQRT_W : FRSQRT_W_ENC, FRSQRT_W_DESC, Requires<[HasMSA]>; |
| 2275 | def FRSQRT_D : FRSQRT_D_ENC, FRSQRT_D_DESC, Requires<[HasMSA]>; |
| 2276 | |
| 2277 | def FSEQ_W : FSEQ_W_ENC, FSEQ_W_DESC, Requires<[HasMSA]>; |
| 2278 | def FSEQ_D : FSEQ_D_ENC, FSEQ_D_DESC, Requires<[HasMSA]>; |
| 2279 | |
| 2280 | def FSLE_W : FSLE_W_ENC, FSLE_W_DESC, Requires<[HasMSA]>; |
| 2281 | def FSLE_D : FSLE_D_ENC, FSLE_D_DESC, Requires<[HasMSA]>; |
| 2282 | |
| 2283 | def FSLT_W : FSLT_W_ENC, FSLT_W_DESC, Requires<[HasMSA]>; |
| 2284 | def FSLT_D : FSLT_D_ENC, FSLT_D_DESC, Requires<[HasMSA]>; |
| 2285 | |
| 2286 | def FSGE_W : FSGE_W_ENC, FSGE_W_DESC, Requires<[HasMSA]>; |
| 2287 | def FSGE_D : FSGE_D_ENC, FSGE_D_DESC, Requires<[HasMSA]>; |
| 2288 | |
| 2289 | def FSGT_W : FSGT_W_ENC, FSGT_W_DESC, Requires<[HasMSA]>; |
| 2290 | def FSGT_D : FSGT_D_ENC, FSGT_D_DESC, Requires<[HasMSA]>; |
| 2291 | |
| 2292 | def FSNE_W : FSNE_W_ENC, FSNE_W_DESC, Requires<[HasMSA]>; |
| 2293 | def FSNE_D : FSNE_D_ENC, FSNE_D_DESC, Requires<[HasMSA]>; |
| 2294 | |
| 2295 | def FSQRT_W : FSQRT_W_ENC, FSQRT_W_DESC, Requires<[HasMSA]>; |
| 2296 | def FSQRT_D : FSQRT_D_ENC, FSQRT_D_DESC, Requires<[HasMSA]>; |
| 2297 | |
| 2298 | def FSUB_W : FSUB_W_ENC, FSUB_W_DESC, Requires<[HasMSA]>; |
| 2299 | def FSUB_D : FSUB_D_ENC, FSUB_D_DESC, Requires<[HasMSA]>; |
| 2300 | |
| 2301 | def FTINT_S_W : FTINT_S_W_ENC, FTINT_S_W_DESC, Requires<[HasMSA]>; |
| 2302 | def FTINT_S_D : FTINT_S_D_ENC, FTINT_S_D_DESC, Requires<[HasMSA]>; |
| 2303 | |
| 2304 | def FTINT_U_W : FTINT_U_W_ENC, FTINT_U_W_DESC, Requires<[HasMSA]>; |
| 2305 | def FTINT_U_D : FTINT_U_D_ENC, FTINT_U_D_DESC, Requires<[HasMSA]>; |
| 2306 | |
| 2307 | def FTQ_H : FTQ_H_ENC, FTQ_H_DESC, Requires<[HasMSA]>; |
| 2308 | def FTQ_W : FTQ_W_ENC, FTQ_W_DESC, Requires<[HasMSA]>; |
| 2309 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2310 | def ILVEV_B : ILVEV_B_ENC, ILVEV_B_DESC, Requires<[HasMSA]>; |
| 2311 | def ILVEV_H : ILVEV_H_ENC, ILVEV_H_DESC, Requires<[HasMSA]>; |
| 2312 | def ILVEV_W : ILVEV_W_ENC, ILVEV_W_DESC, Requires<[HasMSA]>; |
| 2313 | def ILVEV_D : ILVEV_D_ENC, ILVEV_D_DESC, Requires<[HasMSA]>; |
| 2314 | |
| 2315 | def ILVL_B : ILVL_B_ENC, ILVL_B_DESC, Requires<[HasMSA]>; |
| 2316 | def ILVL_H : ILVL_H_ENC, ILVL_H_DESC, Requires<[HasMSA]>; |
| 2317 | def ILVL_W : ILVL_W_ENC, ILVL_W_DESC, Requires<[HasMSA]>; |
| 2318 | def ILVL_D : ILVL_D_ENC, ILVL_D_DESC, Requires<[HasMSA]>; |
| 2319 | |
| 2320 | def ILVOD_B : ILVOD_B_ENC, ILVOD_B_DESC, Requires<[HasMSA]>; |
| 2321 | def ILVOD_H : ILVOD_H_ENC, ILVOD_H_DESC, Requires<[HasMSA]>; |
| 2322 | def ILVOD_W : ILVOD_W_ENC, ILVOD_W_DESC, Requires<[HasMSA]>; |
| 2323 | def ILVOD_D : ILVOD_D_ENC, ILVOD_D_DESC, Requires<[HasMSA]>; |
| 2324 | |
| 2325 | def ILVR_B : ILVR_B_ENC, ILVR_B_DESC, Requires<[HasMSA]>; |
| 2326 | def ILVR_H : ILVR_H_ENC, ILVR_H_DESC, Requires<[HasMSA]>; |
| 2327 | def ILVR_W : ILVR_W_ENC, ILVR_W_DESC, Requires<[HasMSA]>; |
| 2328 | def ILVR_D : ILVR_D_ENC, ILVR_D_DESC, Requires<[HasMSA]>; |
| 2329 | |
| 2330 | def INSERT_B : INSERT_B_ENC, INSERT_B_DESC, Requires<[HasMSA]>; |
| 2331 | def INSERT_H : INSERT_H_ENC, INSERT_H_DESC, Requires<[HasMSA]>; |
| 2332 | def INSERT_W : INSERT_W_ENC, INSERT_W_DESC, Requires<[HasMSA]>; |
| 2333 | |
| Daniel Sanders | f2a0f1d | 2013-08-20 09:22:54 +0000 | [diff] [blame^] | 2334 | def INSVE_B : INSVE_B_ENC, INSVE_B_DESC, Requires<[HasMSA]>; |
| 2335 | def INSVE_H : INSVE_H_ENC, INSVE_H_DESC, Requires<[HasMSA]>; |
| 2336 | def INSVE_W : INSVE_W_ENC, INSVE_W_DESC, Requires<[HasMSA]>; |
| 2337 | def INSVE_D : INSVE_D_ENC, INSVE_D_DESC, Requires<[HasMSA]>; |
| 2338 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 2339 | def LD_B: LD_B_ENC, LD_B_DESC, Requires<[HasMSA]>; |
| 2340 | def LD_H: LD_H_ENC, LD_H_DESC, Requires<[HasMSA]>; |
| 2341 | def LD_W: LD_W_ENC, LD_W_DESC, Requires<[HasMSA]>; |
| 2342 | def LD_D: LD_D_ENC, LD_D_DESC, Requires<[HasMSA]>; |
| 2343 | |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2344 | def LDI_B : LDI_B_ENC, LDI_B_DESC, Requires<[HasMSA]>; |
| 2345 | def LDI_H : LDI_H_ENC, LDI_H_DESC, Requires<[HasMSA]>; |
| 2346 | def LDI_W : LDI_W_ENC, LDI_W_DESC, Requires<[HasMSA]>; |
| 2347 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 2348 | def MADD_Q_H : MADD_Q_H_ENC, MADD_Q_H_DESC, Requires<[HasMSA]>; |
| 2349 | def MADD_Q_W : MADD_Q_W_ENC, MADD_Q_W_DESC, Requires<[HasMSA]>; |
| 2350 | |
| 2351 | def MADDR_Q_H : MADDR_Q_H_ENC, MADDR_Q_H_DESC, Requires<[HasMSA]>; |
| 2352 | def MADDR_Q_W : MADDR_Q_W_ENC, MADDR_Q_W_DESC, Requires<[HasMSA]>; |
| 2353 | |
| 2354 | def MADDV_B : MADDV_B_ENC, MADDV_B_DESC, Requires<[HasMSA]>; |
| 2355 | def MADDV_H : MADDV_H_ENC, MADDV_H_DESC, Requires<[HasMSA]>; |
| 2356 | def MADDV_W : MADDV_W_ENC, MADDV_W_DESC, Requires<[HasMSA]>; |
| 2357 | def MADDV_D : MADDV_D_ENC, MADDV_D_DESC, Requires<[HasMSA]>; |
| 2358 | |
| 2359 | def MAX_A_B : MAX_A_B_ENC, MAX_A_B_DESC, Requires<[HasMSA]>; |
| 2360 | def MAX_A_H : MAX_A_H_ENC, MAX_A_H_DESC, Requires<[HasMSA]>; |
| 2361 | def MAX_A_W : MAX_A_W_ENC, MAX_A_W_DESC, Requires<[HasMSA]>; |
| 2362 | def MAX_A_D : MAX_A_D_ENC, MAX_A_D_DESC, Requires<[HasMSA]>; |
| 2363 | |
| 2364 | def MAX_S_B : MAX_S_B_ENC, MAX_S_B_DESC, Requires<[HasMSA]>; |
| 2365 | def MAX_S_H : MAX_S_H_ENC, MAX_S_H_DESC, Requires<[HasMSA]>; |
| 2366 | def MAX_S_W : MAX_S_W_ENC, MAX_S_W_DESC, Requires<[HasMSA]>; |
| 2367 | def MAX_S_D : MAX_S_D_ENC, MAX_S_D_DESC, Requires<[HasMSA]>; |
| 2368 | |
| 2369 | def MAX_U_B : MAX_U_B_ENC, MAX_U_B_DESC, Requires<[HasMSA]>; |
| 2370 | def MAX_U_H : MAX_U_H_ENC, MAX_U_H_DESC, Requires<[HasMSA]>; |
| 2371 | def MAX_U_W : MAX_U_W_ENC, MAX_U_W_DESC, Requires<[HasMSA]>; |
| 2372 | def MAX_U_D : MAX_U_D_ENC, MAX_U_D_DESC, Requires<[HasMSA]>; |
| 2373 | |
| 2374 | def MAXI_S_B : MAXI_S_B_ENC, MAXI_S_B_DESC, Requires<[HasMSA]>; |
| 2375 | def MAXI_S_H : MAXI_S_H_ENC, MAXI_S_H_DESC, Requires<[HasMSA]>; |
| 2376 | def MAXI_S_W : MAXI_S_W_ENC, MAXI_S_W_DESC, Requires<[HasMSA]>; |
| 2377 | def MAXI_S_D : MAXI_S_D_ENC, MAXI_S_D_DESC, Requires<[HasMSA]>; |
| 2378 | |
| 2379 | def MAXI_U_B : MAXI_U_B_ENC, MAXI_U_B_DESC, Requires<[HasMSA]>; |
| 2380 | def MAXI_U_H : MAXI_U_H_ENC, MAXI_U_H_DESC, Requires<[HasMSA]>; |
| 2381 | def MAXI_U_W : MAXI_U_W_ENC, MAXI_U_W_DESC, Requires<[HasMSA]>; |
| 2382 | def MAXI_U_D : MAXI_U_D_ENC, MAXI_U_D_DESC, Requires<[HasMSA]>; |
| 2383 | |
| 2384 | def MIN_A_B : MIN_A_B_ENC, MIN_A_B_DESC, Requires<[HasMSA]>; |
| 2385 | def MIN_A_H : MIN_A_H_ENC, MIN_A_H_DESC, Requires<[HasMSA]>; |
| 2386 | def MIN_A_W : MIN_A_W_ENC, MIN_A_W_DESC, Requires<[HasMSA]>; |
| 2387 | def MIN_A_D : MIN_A_D_ENC, MIN_A_D_DESC, Requires<[HasMSA]>; |
| 2388 | |
| 2389 | def MIN_S_B : MIN_S_B_ENC, MIN_S_B_DESC, Requires<[HasMSA]>; |
| 2390 | def MIN_S_H : MIN_S_H_ENC, MIN_S_H_DESC, Requires<[HasMSA]>; |
| 2391 | def MIN_S_W : MIN_S_W_ENC, MIN_S_W_DESC, Requires<[HasMSA]>; |
| 2392 | def MIN_S_D : MIN_S_D_ENC, MIN_S_D_DESC, Requires<[HasMSA]>; |
| 2393 | |
| 2394 | def MIN_U_B : MIN_U_B_ENC, MIN_U_B_DESC, Requires<[HasMSA]>; |
| 2395 | def MIN_U_H : MIN_U_H_ENC, MIN_U_H_DESC, Requires<[HasMSA]>; |
| 2396 | def MIN_U_W : MIN_U_W_ENC, MIN_U_W_DESC, Requires<[HasMSA]>; |
| 2397 | def MIN_U_D : MIN_U_D_ENC, MIN_U_D_DESC, Requires<[HasMSA]>; |
| 2398 | |
| 2399 | def MINI_S_B : MINI_S_B_ENC, MINI_S_B_DESC, Requires<[HasMSA]>; |
| 2400 | def MINI_S_H : MINI_S_H_ENC, MINI_S_H_DESC, Requires<[HasMSA]>; |
| 2401 | def MINI_S_W : MINI_S_W_ENC, MINI_S_W_DESC, Requires<[HasMSA]>; |
| 2402 | def MINI_S_D : MINI_S_D_ENC, MINI_S_D_DESC, Requires<[HasMSA]>; |
| 2403 | |
| 2404 | def MINI_U_B : MINI_U_B_ENC, MINI_U_B_DESC, Requires<[HasMSA]>; |
| 2405 | def MINI_U_H : MINI_U_H_ENC, MINI_U_H_DESC, Requires<[HasMSA]>; |
| 2406 | def MINI_U_W : MINI_U_W_ENC, MINI_U_W_DESC, Requires<[HasMSA]>; |
| 2407 | def MINI_U_D : MINI_U_D_ENC, MINI_U_D_DESC, Requires<[HasMSA]>; |
| 2408 | |
| 2409 | def MOD_S_B : MOD_S_B_ENC, MOD_S_B_DESC, Requires<[HasMSA]>; |
| 2410 | def MOD_S_H : MOD_S_H_ENC, MOD_S_H_DESC, Requires<[HasMSA]>; |
| 2411 | def MOD_S_W : MOD_S_W_ENC, MOD_S_W_DESC, Requires<[HasMSA]>; |
| 2412 | def MOD_S_D : MOD_S_D_ENC, MOD_S_D_DESC, Requires<[HasMSA]>; |
| 2413 | |
| 2414 | def MOD_U_B : MOD_U_B_ENC, MOD_U_B_DESC, Requires<[HasMSA]>; |
| 2415 | def MOD_U_H : MOD_U_H_ENC, MOD_U_H_DESC, Requires<[HasMSA]>; |
| 2416 | def MOD_U_W : MOD_U_W_ENC, MOD_U_W_DESC, Requires<[HasMSA]>; |
| 2417 | def MOD_U_D : MOD_U_D_ENC, MOD_U_D_DESC, Requires<[HasMSA]>; |
| 2418 | |
| 2419 | def MSUB_Q_H : MSUB_Q_H_ENC, MSUB_Q_H_DESC, Requires<[HasMSA]>; |
| 2420 | def MSUB_Q_W : MSUB_Q_W_ENC, MSUB_Q_W_DESC, Requires<[HasMSA]>; |
| 2421 | |
| 2422 | def MSUBR_Q_H : MSUBR_Q_H_ENC, MSUBR_Q_H_DESC, Requires<[HasMSA]>; |
| 2423 | def MSUBR_Q_W : MSUBR_Q_W_ENC, MSUBR_Q_W_DESC, Requires<[HasMSA]>; |
| 2424 | |
| 2425 | def MSUBV_B : MSUBV_B_ENC, MSUBV_B_DESC, Requires<[HasMSA]>; |
| 2426 | def MSUBV_H : MSUBV_H_ENC, MSUBV_H_DESC, Requires<[HasMSA]>; |
| 2427 | def MSUBV_W : MSUBV_W_ENC, MSUBV_W_DESC, Requires<[HasMSA]>; |
| 2428 | def MSUBV_D : MSUBV_D_ENC, MSUBV_D_DESC, Requires<[HasMSA]>; |
| 2429 | |
| 2430 | def MUL_Q_H : MUL_Q_H_ENC, MUL_Q_H_DESC, Requires<[HasMSA]>; |
| 2431 | def MUL_Q_W : MUL_Q_W_ENC, MUL_Q_W_DESC, Requires<[HasMSA]>; |
| 2432 | |
| 2433 | def MULR_Q_H : MULR_Q_H_ENC, MULR_Q_H_DESC, Requires<[HasMSA]>; |
| 2434 | def MULR_Q_W : MULR_Q_W_ENC, MULR_Q_W_DESC, Requires<[HasMSA]>; |
| 2435 | |
| 2436 | def MULV_B : MULV_B_ENC, MULV_B_DESC, Requires<[HasMSA]>; |
| 2437 | def MULV_H : MULV_H_ENC, MULV_H_DESC, Requires<[HasMSA]>; |
| 2438 | def MULV_W : MULV_W_ENC, MULV_W_DESC, Requires<[HasMSA]>; |
| 2439 | def MULV_D : MULV_D_ENC, MULV_D_DESC, Requires<[HasMSA]>; |
| 2440 | |
| 2441 | def NLOC_B : NLOC_B_ENC, NLOC_B_DESC, Requires<[HasMSA]>; |
| 2442 | def NLOC_H : NLOC_H_ENC, NLOC_H_DESC, Requires<[HasMSA]>; |
| 2443 | def NLOC_W : NLOC_W_ENC, NLOC_W_DESC, Requires<[HasMSA]>; |
| 2444 | def NLOC_D : NLOC_D_ENC, NLOC_D_DESC, Requires<[HasMSA]>; |
| 2445 | |
| 2446 | def NLZC_B : NLZC_B_ENC, NLZC_B_DESC, Requires<[HasMSA]>; |
| 2447 | def NLZC_H : NLZC_H_ENC, NLZC_H_DESC, Requires<[HasMSA]>; |
| 2448 | def NLZC_W : NLZC_W_ENC, NLZC_W_DESC, Requires<[HasMSA]>; |
| 2449 | def NLZC_D : NLZC_D_ENC, NLZC_D_DESC, Requires<[HasMSA]>; |
| 2450 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2451 | def NOR_V : NOR_V_ENC, NOR_V_DESC, Requires<[HasMSA]>; |
| 2452 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 2453 | def NORI_B : NORI_B_ENC, NORI_B_DESC, Requires<[HasMSA]>; |
| 2454 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2455 | def OR_V : OR_V_ENC, OR_V_DESC, Requires<[HasMSA]>; |
| 2456 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 2457 | def ORI_B : ORI_B_ENC, ORI_B_DESC, Requires<[HasMSA]>; |
| 2458 | |
| 2459 | def PCKEV_B : PCKEV_B_ENC, PCKEV_B_DESC, Requires<[HasMSA]>; |
| 2460 | def PCKEV_H : PCKEV_H_ENC, PCKEV_H_DESC, Requires<[HasMSA]>; |
| 2461 | def PCKEV_W : PCKEV_W_ENC, PCKEV_W_DESC, Requires<[HasMSA]>; |
| 2462 | def PCKEV_D : PCKEV_D_ENC, PCKEV_D_DESC, Requires<[HasMSA]>; |
| 2463 | |
| 2464 | def PCKOD_B : PCKOD_B_ENC, PCKOD_B_DESC, Requires<[HasMSA]>; |
| 2465 | def PCKOD_H : PCKOD_H_ENC, PCKOD_H_DESC, Requires<[HasMSA]>; |
| 2466 | def PCKOD_W : PCKOD_W_ENC, PCKOD_W_DESC, Requires<[HasMSA]>; |
| 2467 | def PCKOD_D : PCKOD_D_ENC, PCKOD_D_DESC, Requires<[HasMSA]>; |
| 2468 | |
| 2469 | def PCNT_B : PCNT_B_ENC, PCNT_B_DESC, Requires<[HasMSA]>; |
| 2470 | def PCNT_H : PCNT_H_ENC, PCNT_H_DESC, Requires<[HasMSA]>; |
| 2471 | def PCNT_W : PCNT_W_ENC, PCNT_W_DESC, Requires<[HasMSA]>; |
| 2472 | def PCNT_D : PCNT_D_ENC, PCNT_D_DESC, Requires<[HasMSA]>; |
| 2473 | |
| 2474 | def SAT_S_B : SAT_S_B_ENC, SAT_S_B_DESC, Requires<[HasMSA]>; |
| 2475 | def SAT_S_H : SAT_S_H_ENC, SAT_S_H_DESC, Requires<[HasMSA]>; |
| 2476 | def SAT_S_W : SAT_S_W_ENC, SAT_S_W_DESC, Requires<[HasMSA]>; |
| 2477 | def SAT_S_D : SAT_S_D_ENC, SAT_S_D_DESC, Requires<[HasMSA]>; |
| 2478 | |
| 2479 | def SAT_U_B : SAT_U_B_ENC, SAT_U_B_DESC, Requires<[HasMSA]>; |
| 2480 | def SAT_U_H : SAT_U_H_ENC, SAT_U_H_DESC, Requires<[HasMSA]>; |
| 2481 | def SAT_U_W : SAT_U_W_ENC, SAT_U_W_DESC, Requires<[HasMSA]>; |
| 2482 | def SAT_U_D : SAT_U_D_ENC, SAT_U_D_DESC, Requires<[HasMSA]>; |
| 2483 | |
| 2484 | def SHF_B : SHF_B_ENC, SHF_B_DESC, Requires<[HasMSA]>; |
| 2485 | def SHF_H : SHF_H_ENC, SHF_H_DESC, Requires<[HasMSA]>; |
| 2486 | def SHF_W : SHF_W_ENC, SHF_W_DESC, Requires<[HasMSA]>; |
| 2487 | |
| 2488 | def SLD_B : SLD_B_ENC, SLD_B_DESC, Requires<[HasMSA]>; |
| 2489 | def SLD_H : SLD_H_ENC, SLD_H_DESC, Requires<[HasMSA]>; |
| 2490 | def SLD_W : SLD_W_ENC, SLD_W_DESC, Requires<[HasMSA]>; |
| 2491 | def SLD_D : SLD_D_ENC, SLD_D_DESC, Requires<[HasMSA]>; |
| 2492 | |
| 2493 | def SLDI_B : SLDI_B_ENC, SLDI_B_DESC, Requires<[HasMSA]>; |
| 2494 | def SLDI_H : SLDI_H_ENC, SLDI_H_DESC, Requires<[HasMSA]>; |
| 2495 | def SLDI_W : SLDI_W_ENC, SLDI_W_DESC, Requires<[HasMSA]>; |
| 2496 | def SLDI_D : SLDI_D_ENC, SLDI_D_DESC, Requires<[HasMSA]>; |
| 2497 | |
| 2498 | def SLL_B : SLL_B_ENC, SLL_B_DESC, Requires<[HasMSA]>; |
| 2499 | def SLL_H : SLL_H_ENC, SLL_H_DESC, Requires<[HasMSA]>; |
| 2500 | def SLL_W : SLL_W_ENC, SLL_W_DESC, Requires<[HasMSA]>; |
| 2501 | def SLL_D : SLL_D_ENC, SLL_D_DESC, Requires<[HasMSA]>; |
| 2502 | |
| 2503 | def SLLI_B : SLLI_B_ENC, SLLI_B_DESC, Requires<[HasMSA]>; |
| 2504 | def SLLI_H : SLLI_H_ENC, SLLI_H_DESC, Requires<[HasMSA]>; |
| 2505 | def SLLI_W : SLLI_W_ENC, SLLI_W_DESC, Requires<[HasMSA]>; |
| 2506 | def SLLI_D : SLLI_D_ENC, SLLI_D_DESC, Requires<[HasMSA]>; |
| 2507 | |
| 2508 | def SPLAT_B : SPLAT_B_ENC, SPLAT_B_DESC, Requires<[HasMSA]>; |
| 2509 | def SPLAT_H : SPLAT_H_ENC, SPLAT_H_DESC, Requires<[HasMSA]>; |
| 2510 | def SPLAT_W : SPLAT_W_ENC, SPLAT_W_DESC, Requires<[HasMSA]>; |
| 2511 | def SPLAT_D : SPLAT_D_ENC, SPLAT_D_DESC, Requires<[HasMSA]>; |
| 2512 | |
| 2513 | def SPLATI_B : SPLATI_B_ENC, SPLATI_B_DESC, Requires<[HasMSA]>; |
| 2514 | def SPLATI_H : SPLATI_H_ENC, SPLATI_H_DESC, Requires<[HasMSA]>; |
| 2515 | def SPLATI_W : SPLATI_W_ENC, SPLATI_W_DESC, Requires<[HasMSA]>; |
| 2516 | def SPLATI_D : SPLATI_D_ENC, SPLATI_D_DESC, Requires<[HasMSA]>; |
| 2517 | |
| 2518 | def SRA_B : SRA_B_ENC, SRA_B_DESC, Requires<[HasMSA]>; |
| 2519 | def SRA_H : SRA_H_ENC, SRA_H_DESC, Requires<[HasMSA]>; |
| 2520 | def SRA_W : SRA_W_ENC, SRA_W_DESC, Requires<[HasMSA]>; |
| 2521 | def SRA_D : SRA_D_ENC, SRA_D_DESC, Requires<[HasMSA]>; |
| 2522 | |
| 2523 | def SRAI_B : SRAI_B_ENC, SRAI_B_DESC, Requires<[HasMSA]>; |
| 2524 | def SRAI_H : SRAI_H_ENC, SRAI_H_DESC, Requires<[HasMSA]>; |
| 2525 | def SRAI_W : SRAI_W_ENC, SRAI_W_DESC, Requires<[HasMSA]>; |
| 2526 | def SRAI_D : SRAI_D_ENC, SRAI_D_DESC, Requires<[HasMSA]>; |
| 2527 | |
| 2528 | def SRL_B : SRL_B_ENC, SRL_B_DESC, Requires<[HasMSA]>; |
| 2529 | def SRL_H : SRL_H_ENC, SRL_H_DESC, Requires<[HasMSA]>; |
| 2530 | def SRL_W : SRL_W_ENC, SRL_W_DESC, Requires<[HasMSA]>; |
| 2531 | def SRL_D : SRL_D_ENC, SRL_D_DESC, Requires<[HasMSA]>; |
| 2532 | |
| 2533 | def SRLI_B : SRLI_B_ENC, SRLI_B_DESC, Requires<[HasMSA]>; |
| 2534 | def SRLI_H : SRLI_H_ENC, SRLI_H_DESC, Requires<[HasMSA]>; |
| 2535 | def SRLI_W : SRLI_W_ENC, SRLI_W_DESC, Requires<[HasMSA]>; |
| 2536 | def SRLI_D : SRLI_D_ENC, SRLI_D_DESC, Requires<[HasMSA]>; |
| 2537 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 2538 | def ST_B: ST_B_ENC, ST_B_DESC, Requires<[HasMSA]>; |
| 2539 | def ST_H: ST_H_ENC, ST_H_DESC, Requires<[HasMSA]>; |
| 2540 | def ST_W: ST_W_ENC, ST_W_DESC, Requires<[HasMSA]>; |
| 2541 | def ST_D: ST_D_ENC, ST_D_DESC, Requires<[HasMSA]>; |
| 2542 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 2543 | def SUBS_S_B : SUBS_S_B_ENC, SUBS_S_B_DESC, Requires<[HasMSA]>; |
| 2544 | def SUBS_S_H : SUBS_S_H_ENC, SUBS_S_H_DESC, Requires<[HasMSA]>; |
| 2545 | def SUBS_S_W : SUBS_S_W_ENC, SUBS_S_W_DESC, Requires<[HasMSA]>; |
| 2546 | def SUBS_S_D : SUBS_S_D_ENC, SUBS_S_D_DESC, Requires<[HasMSA]>; |
| 2547 | |
| 2548 | def SUBS_U_B : SUBS_U_B_ENC, SUBS_U_B_DESC, Requires<[HasMSA]>; |
| 2549 | def SUBS_U_H : SUBS_U_H_ENC, SUBS_U_H_DESC, Requires<[HasMSA]>; |
| 2550 | def SUBS_U_W : SUBS_U_W_ENC, SUBS_U_W_DESC, Requires<[HasMSA]>; |
| 2551 | def SUBS_U_D : SUBS_U_D_ENC, SUBS_U_D_DESC, Requires<[HasMSA]>; |
| 2552 | |
| 2553 | def SUBSUS_U_B : SUBSUS_U_B_ENC, SUBSUS_U_B_DESC, Requires<[HasMSA]>; |
| 2554 | def SUBSUS_U_H : SUBSUS_U_H_ENC, SUBSUS_U_H_DESC, Requires<[HasMSA]>; |
| 2555 | def SUBSUS_U_W : SUBSUS_U_W_ENC, SUBSUS_U_W_DESC, Requires<[HasMSA]>; |
| 2556 | def SUBSUS_U_D : SUBSUS_U_D_ENC, SUBSUS_U_D_DESC, Requires<[HasMSA]>; |
| 2557 | |
| 2558 | def SUBSUU_S_B : SUBSUU_S_B_ENC, SUBSUU_S_B_DESC, Requires<[HasMSA]>; |
| 2559 | def SUBSUU_S_H : SUBSUU_S_H_ENC, SUBSUU_S_H_DESC, Requires<[HasMSA]>; |
| 2560 | def SUBSUU_S_W : SUBSUU_S_W_ENC, SUBSUU_S_W_DESC, Requires<[HasMSA]>; |
| 2561 | def SUBSUU_S_D : SUBSUU_S_D_ENC, SUBSUU_S_D_DESC, Requires<[HasMSA]>; |
| 2562 | |
| 2563 | def SUBV_B : SUBV_B_ENC, SUBV_B_DESC, Requires<[HasMSA]>; |
| 2564 | def SUBV_H : SUBV_H_ENC, SUBV_H_DESC, Requires<[HasMSA]>; |
| 2565 | def SUBV_W : SUBV_W_ENC, SUBV_W_DESC, Requires<[HasMSA]>; |
| 2566 | def SUBV_D : SUBV_D_ENC, SUBV_D_DESC, Requires<[HasMSA]>; |
| 2567 | |
| 2568 | def SUBVI_B : SUBVI_B_ENC, SUBVI_B_DESC, Requires<[HasMSA]>; |
| 2569 | def SUBVI_H : SUBVI_H_ENC, SUBVI_H_DESC, Requires<[HasMSA]>; |
| 2570 | def SUBVI_W : SUBVI_W_ENC, SUBVI_W_DESC, Requires<[HasMSA]>; |
| 2571 | def SUBVI_D : SUBVI_D_ENC, SUBVI_D_DESC, Requires<[HasMSA]>; |
| 2572 | |
| 2573 | def VSHF_B : VSHF_B_ENC, VSHF_B_DESC, Requires<[HasMSA]>; |
| 2574 | def VSHF_H : VSHF_H_ENC, VSHF_H_DESC, Requires<[HasMSA]>; |
| 2575 | def VSHF_W : VSHF_W_ENC, VSHF_W_DESC, Requires<[HasMSA]>; |
| 2576 | def VSHF_D : VSHF_D_ENC, VSHF_D_DESC, Requires<[HasMSA]>; |
| 2577 | |
| Daniel Sanders | 869bdad | 2013-08-20 08:38:21 +0000 | [diff] [blame] | 2578 | def XOR_V : XOR_V_ENC, XOR_V_DESC, Requires<[HasMSA]>; |
| 2579 | |
| Jack Carter | d12e837 | 2013-08-15 14:22:07 +0000 | [diff] [blame] | 2580 | def XORI_B : XORI_B_ENC, XORI_B_DESC, Requires<[HasMSA]>; |
| 2581 | |
| Jack Carter | 3a2c2d4 | 2013-08-13 20:54:07 +0000 | [diff] [blame] | 2582 | // Patterns. |
| 2583 | class MSAPat<dag pattern, dag result, Predicate pred = HasMSA> : |
| 2584 | Pat<pattern, result>, Requires<[pred]>; |
| 2585 | |
| Jack Carter | b95ee69 | 2013-08-15 13:45:36 +0000 | [diff] [blame] | 2586 | def LD_FH : MSAPat<(v8f16 (load addr:$addr)), |
| 2587 | (LD_H addr:$addr)>; |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2588 | def LD_FW : MSAPat<(v4f32 (load addr:$addr)), |
| 2589 | (LD_W addr:$addr)>; |
| 2590 | def LD_FD : MSAPat<(v2f64 (load addr:$addr)), |
| 2591 | (LD_D addr:$addr)>; |
| 2592 | |
| Jack Carter | b95ee69 | 2013-08-15 13:45:36 +0000 | [diff] [blame] | 2593 | def ST_FH : MSAPat<(store (v8f16 MSA128:$ws), addr:$addr), |
| 2594 | (ST_H MSA128:$ws, addr:$addr)>; |
| Jack Carter | babdcc8 | 2013-08-15 12:24:57 +0000 | [diff] [blame] | 2595 | def ST_FW : MSAPat<(store (v4f32 MSA128:$ws), addr:$addr), |
| 2596 | (ST_W MSA128:$ws, addr:$addr)>; |
| 2597 | def ST_FD : MSAPat<(store (v2f64 MSA128:$ws), addr:$addr), |
| 2598 | (ST_D MSA128:$ws, addr:$addr)>; |