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 Thu, Jan 06, 2005 at 08:44:36PM +0100, Marcin Dalecki wrote:
> That's a non issue. You simply don't use floating point arithmetics
> when for kernels.

How naieve you are.  The compiler is getting smart enough to use
SSE for non floating-point applications.  While looking at a bug
the other week, I caught it doing exactly that with a bit of
kernel code.

If you're not either turning off sse, or saving and restoring all
sse state on entry to the kernel, then you risk data corruption.


r~


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