mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Emit the two-operand form of the PPC mfcr instruction as mfocrf.
This is necessary on Linux and supported on Darwin, see PR2604. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158315 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bd0acd250
commit
0a1852b774
@ -1125,7 +1125,7 @@ def MFCR : XFXForm_3<31, 19, (outs GPRC:$rT), (ins),
|
|||||||
PPC970_MicroCode, PPC970_Unit_CRU;
|
PPC970_MicroCode, PPC970_Unit_CRU;
|
||||||
|
|
||||||
def MFOCRF: XFXForm_5a<31, 19, (outs GPRC:$rT), (ins crbitm:$FXM),
|
def MFOCRF: XFXForm_5a<31, 19, (outs GPRC:$rT), (ins crbitm:$FXM),
|
||||||
"mfcr $rT, $FXM", SprMFCR>,
|
"mfocrf $rT, $FXM", SprMFCR>,
|
||||||
PPC970_DGroup_First, PPC970_Unit_CRU;
|
PPC970_DGroup_First, PPC970_Unit_CRU;
|
||||||
|
|
||||||
// Instructions to manipulate FPSCR. Only long double handling uses these.
|
// Instructions to manipulate FPSCR. Only long double handling uses these.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user