http://llvm.org/bugs/show_bug.cgi?id=2604
Summary: mfocrf definition in PPCInstrInfo.td contradicts PowerPC
spec
Product: libraries
Version: 2.3
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: PowerPC
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
The definition for the "mfocrf" instruction in PPCInstrInfo.td appears to be
incorrect:
def MFOCRF: XFXForm_5a<31, 19, (outs GPRC:$rT), (ins crbitm:$FXM),
"mfcr $rT, $FXM", SprMFCR>,
According to the PowerPC programming environment manual, there is only one form
of mfcr which takes only a destination register as a parameter. This should
read as follows:
def MFOCRF: XFXForm_5a<31, 19, (outs GPRC:$rT), (ins crbitm:$FXM),
"mfocrf $rT, $FXM", SprMFCR>,
Reference link:
http://publib.boulder.ibm.com/infocenter/systems/topic/com.ibm.aix.aixassem/doc/alangref/mfocrf.htm
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs