mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Correct range for thumb co-processor immediate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135093 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83ab070fc1
commit
91eb0aa5de
@ -3421,7 +3421,7 @@ def t2MRRC2 : t2MovRRCopro<0b1111, "mrrc2", 1>;
|
|||||||
// Other Coprocessor Instructions.
|
// 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),
|
c_imm:$CRd, c_imm:$CRn, c_imm:$CRm, imm0_7:$opc2),
|
||||||
"cdp\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
|
"cdp\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
|
||||||
[(int_arm_cdp imm:$cop, imm:$opc1, imm:$CRd, imm:$CRn,
|
[(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;
|
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),
|
c_imm:$CRd, c_imm:$CRn, c_imm:$CRm, imm0_7:$opc2),
|
||||||
"cdp2\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
|
"cdp2\t$cop, $opc1, $CRd, $CRn, $CRm, $opc2",
|
||||||
[(int_arm_cdp2 imm:$cop, imm:$opc1, imm:$CRd, imm:$CRn,
|
[(int_arm_cdp2 imm:$cop, imm:$opc1, imm:$CRd, imm:$CRn,
|
||||||
|
Loading…
Reference in New Issue
Block a user