This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12902] Invalid assembly generated when using SSE / xmmintrin.h
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2003 04:08:39 -0000
- Subject: [Bug c++/12902] Invalid assembly generated when using SSE / xmmintrin.h
- References: <20031105013127.12902.kbowers@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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?