aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-10-15 21:57:47 +0000
committerBob Wilson <bob.wilson@apple.com>2009-10-15 21:57:47 +0000
commit6f122625dde52dd112ca18cc016e4846734b9a4f (patch)
tree4b7432b36b08aabe584f4e6c9a45a158c6c7613d /lib
parente2a98dd2a4f007d5d9d3c71460cfbe0a825b8993 (diff)
downloadexternal_llvm-6f122625dde52dd112ca18cc016e4846734b9a4f.zip
external_llvm-6f122625dde52dd112ca18cc016e4846734b9a4f.tar.gz
external_llvm-6f122625dde52dd112ca18cc016e4846734b9a4f.tar.bz2
Fix encoding bits for N3VLInt3_QHS multiclass with 8-bit elements.
Patch by Johnny Chen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84206 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/ARMInstrNEON.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrNEON.td b/lib/Target/ARM/ARMInstrNEON.td
index b34aff7..8e27095 100644
--- a/lib/Target/ARM/ARMInstrNEON.td
+++ b/lib/Target/ARM/ARMInstrNEON.td
@@ -1381,7 +1381,7 @@ multiclass N3VLInt3SL_HS<bit op24, bits<4> op11_8,
multiclass N3VLInt3_QHS<bit op24, bit op23, bits<4> op11_8, bit op4,
string OpcodeStr, Intrinsic IntOp>
: N3VLInt3_HS<op24, op23, op11_8, op4, OpcodeStr, IntOp> {
- def v8i16 : N3VLInt3<op24, op23, 0b01, op11_8, op4, IIC_VMACi16D,
+ def v8i16 : N3VLInt3<op24, op23, 0b00, op11_8, op4, IIC_VMACi16D,
!strconcat(OpcodeStr, "8"), v8i16, v8i8, IntOp>;
}