[llvm-commits] [llvm] r84131 - /llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
Jim Grosbach
grosbach at apple.com
Wed Oct 14 13:31:01 PDT 2009
Author: grosbach
Date: Wed Oct 14 15:31:01 2009
New Revision: 84131
URL: http://llvm.org/viewvc/llvm-project?rev=84131&view=rev
Log:
Inst{11-8} for vshl should be 0b0101, not 0b1111.
Refs: A7-17 & A8-750.
Patch by Johnny Chen.
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrNEON.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrNEON.td?rev=84131&r1=84130&r2=84131&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrNEON.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrNEON.td Wed Oct 14 15:31:01 2009
@@ -2038,7 +2038,7 @@
defm VSHLu : N3VInt_QHSD<1, 0, 0b0100, 0, IIC_VSHLiD, IIC_VSHLiD, IIC_VSHLiQ,
IIC_VSHLiQ, "vshl.u", int_arm_neon_vshiftu, 0>;
// VSHL : Vector Shift Left (Immediate)
-defm VSHLi : N2VSh_QHSD<0, 1, 0b0111, 1, IIC_VSHLiD, "vshl.i", NEONvshl>;
+defm VSHLi : N2VSh_QHSD<0, 1, 0b0101, 1, IIC_VSHLiD, "vshl.i", NEONvshl>;
// VSHR : Vector Shift Right (Immediate)
defm VSHRs : N2VSh_QHSD<0, 1, 0b0000, 1, IIC_VSHLiD, "vshr.s", NEONvshrs>;
defm VSHRu : N2VSh_QHSD<1, 1, 0b0000, 1, IIC_VSHLiD, "vshr.u", NEONvshru>;
More information about the llvm-commits
mailing list