Should -msse3 enable fisttp

Andrew Pinski pinskia@physics.uc.edu
Mon Oct 3 22:41:00 GMT 2005


On Oct 3, 2005, at 5:56 PM, Evan Cheng wrote:

> My mistake. I misunderstood the meaning of -msse3 (it only enables the 
> sse3 builtins). Please ignore.


Actually it enables more than the builtins.  It enables the use sse3
instructions.  This is just like -maltivec on PowerPC and -msse and 
-msse
on x86, etc.

Hmm, but from the original patch:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01119.html
"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."

And then RTH agreed:
http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01432.html

So from the sound of it fisttp is not a SSE3 instruction.

Thanks,
Andrew Pinski



More information about the Gcc mailing list