ppc64 floating point usage [was Re: PPC64 Compiler bug !!]

Eric Christopher echristo@redhat.com
Sat Aug 9 02:23:00 GMT 2003


David,

> 
> Alan> * config/rs6000/rs6000.md (fctiwz): Don't ignore fpr preference.
> Alan> (floatdidf2, fix_truncdfdi2, floatdisf2_internal1): Likewise.
> Alan> (floatditf2, fix_trunctfdi2): Likewise.
> 
> 	Removing the ignore flag on all of the patterns is incorrect.
> This activity continues to fix symptoms instead of problems.

I always reserve the right to be mistaken, but from my reading of the
ppc instruction set the change looks good to me since those instructions
require a floating point register. Perhaps could you explain more
please?

-eric

-- 
Eric Christopher <echristo@redhat.com>



More information about the Gcc-patches mailing list