[PATCH, i386] PR target/18668: use prescott's fisttp - TAKE 2

Richard Henderson rth@redhat.com
Tue Mar 15 13:22:00 GMT 2005


On Fri, Mar 11, 2005 at 10:18:24AM +0100, Uros Bizjak wrote:
> This patch was bootstrapped on pentium4-pc-linux-gnu and regtested for c 
> and c++. As stated in PR 18668, comment #5 by Ferdinand (thanks!), 
> generated fisttp insn works OK. Again, povray was built & ran for all 
> -march and -mfpmath combinations, but -march=prescott  and -march=nocona 
> TARGET_64BIT code was inspected only by visual check.

Matthew Wilcox helpfully bootstrapped the patch --with-arch=prescott.

> BTW: Regarding TARGET_FISTTP macro: according to documentation, fisttp 
> insn indeed depends on (TARGET_80387 && TARGET_SSE3). However, this insn 
> is not a SSE3 instruction, so it should not be disabled by -mno-sse3 flag.

Agreed.

Patch is ok.


r~



More information about the Gcc-patches mailing list