This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/18668] use prescott's fisttp


------- Additional Comments From uros at kss-loka dot si  2005-03-11 09:31 -------
Updated patch (no need for FLAGS_REG clobber and some mode macro stuff) at
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01119.html

Regarding comment #4:
I have the same thought as Ferdinand. fisttp insn should not be disabled by
-mno-sse3, that is why TARGET_FISTTP was introduced. As K8 isn't TARGET_FISTTP,
I see no problems here. However for AMD64 instruction set (without fisttp insn),
the generation of fistp and/or cvts?2si should remain exactly the same as
without fisttp patch: cvts?2siq for DImode operands and all -mfpmath settings.

Ferdinand, thanks for testing the patch!


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18668


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]