mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Add XCore intrinsic for settw instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -817,7 +817,7 @@ def SETD_2r : _F2R<(outs), (ins GRRegs:$r, GRRegs:$val),
|
||||
[(int_xcore_setd GRRegs:$r, GRRegs:$val)]>;
|
||||
|
||||
// Two operand long
|
||||
// TODO settw, setclk, setrdy, setpsc, endin, peek,
|
||||
// TODO setclk, setrdy, setpsc, endin, peek,
|
||||
// getd, testlcl, tinitlr, getps, setps
|
||||
def BITREV_l2r : _FL2R<(outs GRRegs:$dst), (ins GRRegs:$src),
|
||||
"bitrev $dst, $src",
|
||||
@@ -835,6 +835,10 @@ def SETC_l2r : _FRU6<(outs), (ins GRRegs:$r, GRRegs:$val),
|
||||
"setc res[$r], $val",
|
||||
[(int_xcore_setc GRRegs:$r, GRRegs:$val)]>;
|
||||
|
||||
def SETTW_l2r : _FL2R<(outs), (ins GRRegs:$r, GRRegs:$val),
|
||||
"settw res[$r], $val",
|
||||
[(int_xcore_settw GRRegs:$r, GRRegs:$val)]>;
|
||||
|
||||
// One operand short
|
||||
// TODO edu, eeu, waitet, waitef, tstart, msync, mjoin, clrtp
|
||||
// setdp, setcp, setv, setev, kcall
|
||||
|
||||
Reference in New Issue
Block a user