[PATCH] Fix mfcr for POWER targets other than POWER4

Alan Modra amodra@bigpond.net.au
Sun Nov 5 23:09:00 GMT 2006


On Fri, Nov 03, 2006 at 06:27:02PM +1100, Troy Rollo wrote:
> The patch at <http://sources.redhat.com/ml/binutils/2003-07/msg00094.html> 
> introduced an alternative (faster) mfcr instruction for POWER4 targets, 
> however the flags were changed on the old instruction so that it was no 
> longer available when targeting POWER architectures other than POWER4.

Eh?  The old single operand is still available.  What makes you think
otherwise?  Please write a little testcase and "as" invocation to show
what you mean.

> You can see some of the problems this has caused by googling for "Unrecognized 
> opcode mfcr".

All I see is people using the wrong assembler, and cases where the new
insn wasn't available.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list