Strange behavior with movq

Ian Lance Taylor iant@google.com
Wed May 25 18:31:00 GMT 2011


Olivier Maury <Olivier_maury@mentor.com> writes:

> I've a problem with the movq instruction on a 32 bits OS : when that
> instruction is executed it has a bad effect on the floating stack.

When you are using SSE registers you shouldn't be using the floating
point stack, and vice-versa.  Read up on the EMMS instruction.

Ian



More information about the Gcc-help mailing list