This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Should -msse3 enable fisttp?
- From: Uros Bizjak <uros dot bizjak at kss-loka dot si>
- To: Evan Cheng <echeng at apple dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 04 Oct 2005 09:06:03 +0200
- Subject: Re: Should -msse3 enable fisttp?
- References: <179A6816-4A60-4FC6-B9AE-CC920FBBC16A@apple.com> <E7B54782-15C9-494F-BBFF-8E05DAFF317C@apple.com>
- Reply-to: ubizjak at gmail dot com
Quoting Evan Cheng <echeng@apple.com>:
> Let me know what you think. I kind of agree with your argument. But
> for practical reasons I thinkg -msse3 should enable fisttp. Certainly
> here in Apple, a few folks have been surprised by this.
Following simple patch should implement your suggested approach:
-march=prescott enables fisttp
-msse3 enables fisttp
-march=prescott -mno-sse3 enables fisttp
Otherwise fisttp is disabled.
2005-10-05 Uros Bizjak <uros@kss-loka.si>
* config/i386/i386.h (TARGET_FISTTP): Enable for TARGET_SSE3.
Uros.