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 kcook at gcc dot gnu dot org  2005-03-10 22:12 -------
Uros,

Instead of making a brand new x86_fsittp flag and TARGET_FSITTP this should just
entirely depend on the existing macro TARGET_SSE3.

Note that the vol 2A of the IA-32 manual [3-251-2] says:

FISTTP: Store Integer with Truncation
...
Protected Mode Exceptions
...
#UD If CPUID.SSE3(ECX bit 0) = 0.

Also note that this would takes care of the other testing problems as AMD64
doesn't include SSE3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kcook at gcc dot gnu dot org


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]