summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-13 22:03:11 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-13 22:03:11 +0000
commitccc207773ddb7b5ba4567bd83379a7d0bfa66067 (patch)
tree1ff2414cdb042704e73ca029712585881e0fdd0a /llvm/lib
parent31756c2283b99b7eecd1547a7888ac70254534fd (diff)
downloadbcm5719-llvm-ccc207773ddb7b5ba4567bd83379a7d0bfa66067.tar.gz
bcm5719-llvm-ccc207773ddb7b5ba4567bd83379a7d0bfa66067.zip
Correct range for thumb co-processor immediate
llvm-svn: 135093
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index 68fc69d0d7f..6a498e0c9dc 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td
@@ -3421,7 +3421,7 @@ def t2MRRC2 : t2MovRRCopro<0b1111, "mrrc2", 1>;
// 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 @@ def tCDP : T2Cop<0b1110, (outs), (ins p_imm:$cop, imm0_15:$opc1,
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,
OpenPOWER on IntegriCloud