[llvm] r191414 - [mips][msa] Updates encoding of 3R instructions to match the latest revision of the MSA spec (1.06).

Jack Carter jack.carter at imgtec.com
Wed Sep 25 17:02:44 PDT 2013

Author: jacksprat
Date: Wed Sep 25 19:02:44 2013
New Revision: 191414

URL: http://llvm.org/viewvc/llvm-project?rev=191414&view=rev
[mips][msa] Updates encoding of 3R instructions to match the latest revision of the MSA spec (1.06).
Internal changes only.
Patch by Matheus Almeida


Modified: llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td?rev=191414&r1=191413&r2=191414&view=diff
--- llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td Wed Sep 25 19:02:44 2013
@@ -961,15 +961,15 @@ class SUBS_U_H_ENC : MSA_3R_FMT<0b001, 0
 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 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<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 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>;

More information about the llvm-commits mailing list