[llvm-commits] [llvm] r135093 - /llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Jim Grosbach
grosbach at apple.com
Wed Jul 13 15:03:11 PDT 2011
Author: grosbach
Date: Wed Jul 13 17:03:11 2011
New Revision: 135093
URL: http://llvm.org/viewvc/llvm-project?rev=135093&view=rev
Log:
Correct range for thumb co-processor immediate
Modified:
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td?rev=135093&r1=135092&r2=135093&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td Wed Jul 13 17:03:11 2011
@@ -3421,7 +3421,7 @@
// Other Coprocessor Instructions.
//
-def tCDP : T2Cop<0b1110, (outs), (ins p_imm:$cop, imm0_15:$opc1,
+def tCDP : T2Cop<0b1110, (outs), (ins p_imm:$cop, imm0_7:$opc1,
c_imm:$CRd, c_imm:$CRn, c_imm:$CRm, imm0_7:$opc2),
"cdp\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
[(int_arm_cdp imm:$cop, imm:$opc1, imm:$CRd, imm:$CRn,
@@ -3444,7 +3444,7 @@
let Inst{23-20} = opc1;
}
-def t2CDP2 : T2Cop<0b1111, (outs), (ins p_imm:$cop, imm0_15:$opc1,
+def t2CDP2 : T2Cop<0b1111, (outs), (ins p_imm:$cop, imm0_7:$opc1,
c_imm:$CRd, c_imm:$CRn, c_imm:$CRm, imm0_7:$opc2),
"cdp2\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
[(int_arm_cdp2 imm:$cop, imm:$opc1, imm:$CRd, imm:$CRn,
More information about the llvm-commits
mailing list