This is the mail archive of the gcc@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: -mno-sse and -mno-sse2 broken on opteron?



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...



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