altivec patches

Aldy Hernandez aldyh@redhat.com
Wed Nov 7 10:34:00 GMT 2001


> 	As I pointed out AIX does care.
> 
> 	Again, Apple changed BIGGEST_ALIGNMENT to 128 and must have done
> something to ROUND_TYPE_ALIGN to avoid ABI incompatibility.  Dale still
> has not explained what Apple did and Apple never submitted that change

ok, i'll let apple do their own thing and submit a patch.  let's focus
on aix then.

re aix, do we want BIGGEST_ALIGNMENT to be 64 *even* if we are
generating with -maltivec?  because it seems that if we are generating
altivec instructions, BIGGEST_ALIGNMENT should be 128.

so having:

#define BIGGEST_ALIGNMENT	(TARGET_ALTIVEC ? 128 : 64)

would not break anything in aix (or anything else).  or perhaps key it
on TARGET_ALTIVEC_ABI-- on an explicit abi adjustment.

?

-- 
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.



More information about the Gcc-patches mailing list