diff options
author | Hal Finkel <hfinkel@anl.gov> | 2012-06-11 15:43:15 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2012-06-11 15:43:15 +0000 |
commit | 0a1852b7748212632dc105670fda34c41311fa1e (patch) | |
tree | f02b4fff36876418c98936222342ba336c54cb6a /lib/Target/PowerPC/PPCInstrInfo.td | |
parent | 2bd0acd2506c664573d2f0d7671932101c46899e (diff) |
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
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r-- | lib/Target/PowerPC/PPCInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index f75f4e522e..30d593e996 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -1125,7 +1125,7 @@ def MFCR : XFXForm_3<31, 19, (outs GPRC:$rT), (ins), PPC970_MicroCode, PPC970_Unit_CRU; 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; // Instructions to manipulate FPSCR. Only long double handling uses these. |