This is the mail archive of the gcc-patches@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]

Re: [patch] require sse3 for fisttp


Andrew Pinski wrote:
On Sat, 2006-09-16 at 14:58 -0700, Eric Christopher wrote:
No, this isn't OK if he has a core that is very like nocona, but
doesn't have the sse3 instruction set. This will cause an invalid instruction
error.

The user should not have used -march=nocona but instead -mtune=nocona if he wants the tuning but not the architecture features that the nocona core has.


Not if he wanted all of the processor features as well.


Here's to sum up my position:

-mno-sse3 should turn off all instructions that will fault if there is no sse3 support on a chip.

-eric


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