[Bug c++/12902] Invalid assembly generated when using SSE / xmmintrin.h

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 5 04:08:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12902


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-05 04:08 -------
The "a" in the asm corespondes to the variable "a" in foo, not the a in inlined function, swizzle.
So the movaps is coming from:
  c.v = _mm_loadl_pi(c.v,((__m64 *)a0)+1); <--- 8(%eax)

Is that really your problem, or is because main's stack is unaligned and you inlined functions into 
main that use sse?



More information about the Gcc-bugs mailing list