power4 optimization

Hollis Blanchard hollisb at us.ibm.com
Fri Oct 17 01:25:09 EST 2003


On Wednesday, Oct 15, 2003, at 19:19 US/Central, Alan Modra wrote:
>
> No, it hasn't been backported, but Hollis is asking the wrong question
> if the point is to determine which toolchain versions will generate
> power4 opcodes.  The critical part of the toolchain is gas.  From
> 2003-07-04, "as -mpower4" will optimize mtcrf to use the power4 form of
> the instruction where possible.  This happens regardless of gcc
> version.

Thanks for the clarification. Updated (2.5) patch attached, which now
reads:
	The resulting binary will not work on POWER3 or RS64 processors when
compiled
	with binutils newer than 4 Jul 2003.

Mike, ready to apply?

--
Hollis Blanchard
IBM Linux Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: power4-tune.diff
Type: application/octet-stream
Size: 1168 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20031016/48f4edff/attachment.obj 


More information about the Linuxppc64-dev mailing list