[mips][msa] Updates encoding of 3R instructions to match the latest revision of the...
authorJack Carter <jack.carter@imgtec.com>
Thu, 26 Sep 2013 00:02:44 +0000 (00:02 +0000)
committerJack Carter <jack.carter@imgtec.com>
Thu, 26 Sep 2013 00:02:44 +0000 (00:02 +0000)
Internal changes only.

Patch by Matheus Almeida

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191414 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsMSAInstrInfo.td

index 08b1afbd5f82024bbfd644cb730ffb0dce086fa9..529be491f8fb32c138fb8bb9f6953b2e4030ad6d 100644 (file)
@@ -961,15 +961,15 @@ class SUBS_U_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b010001>;
 class SUBS_U_W_ENC : MSA_3R_FMT<0b001, 0b10, 0b010001>;
 class SUBS_U_D_ENC : MSA_3R_FMT<0b001, 0b11, 0b010001>;
 
-class SUBSUS_U_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b010001>;
-class SUBSUS_U_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010001>;
-class SUBSUS_U_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010001>;
-class SUBSUS_U_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010001>;
-
-class SUBSUU_S_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010001>;
-class SUBSUU_S_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010001>;
-class SUBSUU_S_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010001>;
-class SUBSUU_S_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010001>;
+class SUBSUS_U_B_ENC : MSA_3R_FMT<0b010, 0b00, 0b010001>;
+class SUBSUS_U_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010001>;
+class SUBSUS_U_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010001>;
+class SUBSUS_U_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010001>;
+
+class SUBSUU_S_B_ENC : MSA_3R_FMT<0b011, 0b00, 0b010001>;
+class SUBSUU_S_H_ENC : MSA_3R_FMT<0b011, 0b01, 0b010001>;
+class SUBSUU_S_W_ENC : MSA_3R_FMT<0b011, 0b10, 0b010001>;
+class SUBSUU_S_D_ENC : MSA_3R_FMT<0b011, 0b11, 0b010001>;
 
 class SUBV_B_ENC : MSA_3R_FMT<0b001, 0b00, 0b001110>;
 class SUBV_H_ENC : MSA_3R_FMT<0b001, 0b01, 0b001110>;