This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/44948] -mavx changes ABI



------- Comment #14 from hjl dot tools at gmail dot com  2010-07-15 19:07 -------
(In reply to comment #13)
> struct A {
>   long b[8] __attribute__((aligned (32)));
>   __m128i x;
> };
> 
> What alignment should we use to pass it on stack?
> 

I think when such a struct is passed on stack, the
alignment attributes, if they are > PARM_BOUNDARY,
 are ignored when computing structure alignment.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]