[llvm-commits] [llvm] r158315 - /llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
Hal Finkel
hfinkel at anl.gov
Mon Jun 11 08:43:15 PDT 2012
Author: hfinkel
Date: Mon Jun 11 10:43:15 2012
New Revision: 158315
URL: http://llvm.org/viewvc/llvm-project?rev=158315&view=rev
Log:
Emit the two-operand form of the PPC mfcr instruction as mfocrf.
This is necessary on Linux and supported on Darwin, see PR2604.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
Modified: llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td?rev=158315&r1=158314&r2=158315&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCInstrInfo.td Mon Jun 11 10:43:15 2012
@@ -1125,7 +1125,7 @@
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.
More information about the llvm-commits
mailing list