projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd0acd
)
Emit the two-operand form of the PPC mfcr instruction as mfocrf.
author
Hal Finkel
<hfinkel@anl.gov>
Mon, 11 Jun 2012 15:43:15 +0000
(15:43 +0000)
committer
Hal Finkel
<hfinkel@anl.gov>
Mon, 11 Jun 2012 15:43:15 +0000
(15:43 +0000)
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
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index f75f4e522eb85a477b638b78c216799a8ab26b82..30d593e996589bc07bc68df1fa27c3c393ecb0ff 100644
(file)
--- 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),
- "mf
cr
$rT, $FXM", SprMFCR>,
+ "mf
ocrf
$rT, $FXM", SprMFCR>,
PPC970_DGroup_First, PPC970_Unit_CRU;
// Instructions to manipulate FPSCR. Only long double handling uses these.