This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: biggest alignment for sysv4.h altivec
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 08 Mar 2002 14:49:47 -0800
- Subject: Re: biggest alignment for sysv4.h altivec
- References: <20020308222537.GA22352@redhat.com>
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>