From afee613bf390b255eef9cd46fd336fecc7663a1a Mon Sep 17 00:00:00 2001 From: Jack Carter Date: Thu, 26 Sep 2013 00:02:44 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191414 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsMSAInstrInfo.td | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/Target/Mips/MipsMSAInstrInfo.td b/lib/Target/Mips/MipsMSAInstrInfo.td index 08b1afbd5f8..529be491f8f 100644 --- a/lib/Target/Mips/MipsMSAInstrInfo.td +++ b/lib/Target/Mips/MipsMSAInstrInfo.td @@ -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 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>;