mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
ARM range checking for mode on CPS instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136473 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71d3d67508
commit
b48ce900f9
@ -1319,13 +1319,13 @@ class CPS<dag iops, string asm_ops>
|
||||
}
|
||||
|
||||
let M = 1 in
|
||||
def CPS3p : CPS<(ins imod_op:$imod, iflags_op:$iflags, i32imm:$mode),
|
||||
def CPS3p : CPS<(ins imod_op:$imod, iflags_op:$iflags, imm0_15:$mode),
|
||||
"$imod\t$iflags, $mode">;
|
||||
let mode = 0, M = 0 in
|
||||
def CPS2p : CPS<(ins imod_op:$imod, iflags_op:$iflags), "$imod\t$iflags">;
|
||||
|
||||
let imod = 0, iflags = 0, M = 1 in
|
||||
def CPS1p : CPS<(ins i32imm:$mode), "\t$mode">;
|
||||
def CPS1p : CPS<(ins imm0_15:$mode), "\t$mode">;
|
||||
|
||||
// Preload signals the memory system of possible future data/instruction access.
|
||||
// These are for disassembly only.
|
||||
|
Loading…
x
Reference in New Issue
Block a user