-mno-sse and -mno-sse2 broken on opteron?

Marcin Dalecki martin@dalecki.de
Thu Jan 6 20:05:00 GMT 2005


On 2005-01-06, at 19:55, Richard Henderson wrote:

> On Thu, Jan 06, 2005 at 07:41:52AM -0800, Steve Kargl wrote:
>> gcc.info implies that one can use -mno-sse{2} with x86_64.
>> If this is not true, then gcc.info needs to be fix and these
>> options should be disabled/removed for x86_64 targets.
>
> It is true.  Indeed, one *wants* to use -mno-sse when compiling
> kernel code, so that you're sure that the compiler won't clobber
> these registers without your knowledge.
>
> It's just that, for user-level code, -mno-sse isn't that useful
> for x86_64.

That's a non issue. You simply don't use floating point arithmetics
when for kernels. Special issues like fast memcpy/bzero or DSP functions
in some drivers aside there is no OS i know about which would do 
different...



More information about the Gcc mailing list