Fix encoding bits for N3VLInt3_QHS multiclass with 8-bit elements.
authorBob Wilson <bob.wilson@apple.com>
Thu, 15 Oct 2009 21:57:47 +0000 (21:57 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 15 Oct 2009 21:57:47 +0000 (21:57 +0000)
Patch by Johnny Chen.

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

lib/Target/ARM/ARMInstrNEON.td

index b34aff7dcb3e44af2022723c9c7254c129995c45..8e2709543c6540ac2b4c3206b3e3fa338a1f036f 100644 (file)
@@ -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>;
 }