From 00a5b53e148cd0c840650504fcd6e92dee132c1a Mon Sep 17 00:00:00 2001 From: Jack Carter Date: Thu, 26 Sep 2013 21:18:57 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191460 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MipsMSAInstrInfo.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/Mips/MipsMSAInstrInfo.td b/lib/Target/Mips/MipsMSAInstrInfo.td index fb02d3ff8c0..af0e5e4b21c 100644 --- a/lib/Target/Mips/MipsMSAInstrInfo.td +++ b/lib/Target/Mips/MipsMSAInstrInfo.td @@ -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>;