From: Jan Hubicka Date: Tue, 18 Jan 2000 16:06:54 +0000 (+0100) Subject: i386.h (BIGGEST_ALIGNMENT): Set to 128. X-Git-Tag: prereleases/libstdc++-2.92~8654 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17f24ff04d5e70fdf5c20df8957f7a8864b10dbb;p=thirdparty%2Fgcc.git i386.h (BIGGEST_ALIGNMENT): Set to 128. * i386.h (BIGGEST_ALIGNMENT): Set to 128. (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32) From-SVN: r31489 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00ce0986c42c..b724cc70488e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ Tue Jan 18 16:19:55 MET 2000 Jan Hubicka + * i386.h (BIGGEST_ALIGNMENT): Set to 128. + (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32) + * i386.md (memstr): Do not use rep stosb for counts divisible by 4 when optimize_size. (clrstrsi): Rewrite. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index e6111280a7c2..9e45815089c2 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -448,12 +448,18 @@ extern int ix86_arch; /* Minimum size in bits of the largest boundary to which any and all fundamental data types supported by the hardware might need to be aligned. No data type wants to be aligned - rounder than this. The i386 supports 64-bit floating point - quantities, but these can be aligned on any 32-bit boundary. - The published ABIs say that doubles should be aligned on word - boundaries, but the Pentium gets better performance with them - aligned on 64 bit boundaries. */ -#define BIGGEST_ALIGNMENT (TARGET_ALIGN_DOUBLE ? 64 : 32) + rounder than this. + + Pentium+ preferrs DFmode values to be alignmed to 64 bit boundary + and Pentium Pro XFmode values at 128 bit boundaries. */ + +#define BIGGEST_ALIGNMENT 128 + +/* The published ABIs say that doubles should be aligned on word + boundaries, so lower the aligmnet for structure fields unless + -malign_double is set. */ + +#define BIGGEST_FIELD_ALIGNMENT (TARGET_ALIGN_DOUBLE ? 64 : 32) /* If defined, a C expression to compute the alignment given to a constant that is being placed in memory. CONSTANT is the constant