[Bug target/28069] __m128 local variables don't get properly aligned.

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Jun 17 09:07:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-06-17 06:30 -------
(In reply to comment #1) 
> Use gcc -S -msse and look at the assembly. GCC allocates __m128 locals directly
> on the stack without adjusting ESP, which might not be 16-byte aligned. But GCC
> uses movaps, which requires its operand to be 16-byte aligned, to access those
> locals.

In a way this is a dup of bug 27537.  Though there is an attribute to realign
the stack in 4.2.0 so using that might just fix this issue instead.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |27537


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



More information about the Gcc-bugs mailing list