Fix encoding bits for N3VLInt3_QHS multiclass with 8-bit elements.

Patch by Johnny Chen.

llvm-svn: 84206
This commit is contained in:
Bob Wilson 2009-10-15 21:57:47 +00:00
parent f2a8226515
commit aa08dec009

View 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>;
}