https://bugs.freedesktop.org/show_bug.cgi?id=86788

José Fonseca <jfons...@vmware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jfons...@vmware.com

--- Comment #6 from José Fonseca <jfons...@vmware.com> ---
> ./ioUrbanTerror.i386
[..]
> unsigned vec_count __attribute__ ((aligned (16)));

This won;'t work on 32-bits unless you use -mstackrealign or
-mincoming-stack-boundary=2.

This is because some years ago gcc started to assume the stack alignment is
16-bytes.   But old applications were still built with 4-byte stack aligment. 
And because Mesa drivers can't get to choose, they must assume the worst, ie. 4
bytes stack alignment.



BTW, wefore we start investing on custom SSE code paths, we really should be
using -mfpmath=sse on Linux 32bits too.  It's recommend by Intel and the
default on MSVC.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to