[mips][msa] Updates encoding of 3RF instructions to match the latest revision of...
authorJack Carter <jack.carter@imgtec.com>
Thu, 26 Sep 2013 21:18:57 +0000 (21:18 +0000)
committerJack Carter <jack.carter@imgtec.com>
Thu, 26 Sep 2013 21:18:57 +0000 (21:18 +0000)
This does not affect any of the existing output.

Patch by Matheus Almeida

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

lib/Target/Mips/MipsMSAInstrInfo.td

index fb02d3ff8c0fefb9911f080d3a329bc09702c1f3..af0e5e4b21c667b8ea799065ae9c63cc13ee5b7c 100644 (file)
@@ -813,8 +813,8 @@ class MSUBV_H_ENC : MSA_3R_FMT<0b010, 0b01, 0b010010>;
 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>;