This is the mail archive of the gcc-patches@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]

Re: biggest alignment for sysv4.h altivec


Aldy Hernandez <aldyh@redhat.com> writes:

> obvious.

Not obvious to me.

Why didn't you just change it to 128 always?

> committing to branch and mainline.
> 
> 2002-03-08  Aldy Hernandez  <aldyh@redhat.com>
> 
> 	* config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
> 
> Index: config/rs6000/sysv4.h
> ===================================================================
> RCS file: /cvs/uberbaum/gcc/config/rs6000/sysv4.h,v
> retrieving revision 1.84
> diff -c -p -r1.84 sysv4.h
> *** sysv4.h	2002/02/19 19:40:41	1.84
> --- sysv4.h	2002/03/08 22:23:47
> *************** do {									\
> *** 385,391 ****
>   
>   /* No data type wants to be aligned rounder than this.  */
>   #undef	BIGGEST_ALIGNMENT
> ! #define BIGGEST_ALIGNMENT (TARGET_EABI ? 64 : 128)
>   
>   /* An expression for the alignment of a structure field FIELD if the
>      alignment computed in the usual way is COMPUTED.  */
> --- 385,391 ----
>   
>   /* No data type wants to be aligned rounder than this.  */
>   #undef	BIGGEST_ALIGNMENT
> ! #define BIGGEST_ALIGNMENT ((TARGET_EABI && !TARGET_ALTIVEC) ? 64 : 128)
>   
>   /* An expression for the alignment of a structure field FIELD if the
>      alignment computed in the usual way is COMPUTED.  */

-- 
- Geoffrey Keating <geoffk@geoffk.org> <geoffk@redhat.com>


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