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

Jack Carter jack.carter at imgtec.com
Thu Sep 26 14:18:57 PDT 2013


Author: jacksprat
Date: Thu Sep 26 16:18:57 2013
New Revision: 191460

URL: http://llvm.org/viewvc/llvm-project?rev=191460&view=rev
Log:
[mips][msa] Updates encoding of 3RF instructions to match the latest revision of the MSA spec (1.06).

This does not affect any of the existing output.

Patch by Matheus Almeida

Modified:
    llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td

Modified: llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td?rev=191460&r1=191459&r2=191460&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsMSAInstrInfo.td Thu Sep 26 16:18:57 2013
@@ -813,8 +813,8 @@ class MSUBV_H_ENC : MSA_3R_FMT<0b010, 0b
 class MSUBV_W_ENC : MSA_3R_FMT<0b010, 0b10, 0b010010>;
 class MSUBV_D_ENC : MSA_3R_FMT<0b010, 0b11, 0b010010>;
 
-class MUL_Q_H_ENC : MSA_3RF_FMT<0b0000, 0b0, 0b011100>;
-class MUL_Q_W_ENC : MSA_3RF_FMT<0b0000, 0b1, 0b011100>;
+class MUL_Q_H_ENC : MSA_3RF_FMT<0b0100, 0b0, 0b011100>;
+class MUL_Q_W_ENC : MSA_3RF_FMT<0b0100, 0b1, 0b011100>;
 
 class MULR_Q_H_ENC : MSA_3RF_FMT<0b1100, 0b0, 0b011100>;
 class MULR_Q_W_ENC : MSA_3RF_FMT<0b1100, 0b1, 0b011100>;





More information about the llvm-commits mailing list