Still fldl/fstpl use with fpmath=sse?
Uros Bizjak
uros@kss-loka.si
Mon Jan 10 18:47:00 GMT 2005
Hello!
>Use of x87 has improved considerably with -mfpmath=sse, but
>I still see a lot of double moves going through the fp stack,
>like:
>
>.L8350:
> fldl (%esi)
> fstpl -40(%ebp)
>
These are generated by FP compares. Please read
http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00394.html
I tried to separate x87 and SSE compares, but they are so unbeliveably
interwoven together that I lost my will to fix them... There is a
mixture of x87 and SSE compare patterns, min/max patterns and especially
SSE and x87 cmove patterns that somehow interfere and finally produce a
mixture of SSE and x87 instructions. You can try to add -mno-80387, but
this can (and will) produce an ICE (PR 19307).
Uros.
More information about the Gcc
mailing list