summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJack Carter <jack.carter@imgtec.com>2013-09-26 21:18:57 +0000
committerJack Carter <jack.carter@imgtec.com>2013-09-26 21:18:57 +0000
commit142ec8283d839d82e12495f39f6399bec04e085d (patch)
treefdd6931dfd1c822b300f05d2d8adfe3b72eb9910 /llvm/lib/Target
parentf73430183afcedd5a331c4ac4d4f1ec6dac8f75f (diff)
downloadbcm5719-llvm-142ec8283d839d82e12495f39f6399bec04e085d.tar.gz
bcm5719-llvm-142ec8283d839d82e12495f39f6399bec04e085d.zip
[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 llvm-svn: 191460
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsMSAInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Mips/MipsMSAInstrInfo.td b/llvm/lib/Target/Mips/MipsMSAInstrInfo.td
index fb02d3ff8c0..af0e5e4b21c 100644
--- a/llvm/lib/Target/Mips/MipsMSAInstrInfo.td
+++ b/llvm/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>;
OpenPOWER on IntegriCloud