From 4e17b6343bcb8830bc54a681c6168e6fde77dd23 Mon Sep 17 00:00:00 2001 From: hubicka Date: Tue, 18 Jan 2000 16:06:54 +0000 Subject: * i386.h (BIGGEST_ALIGNMENT): Set to 128. (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31489 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 3 +++ gcc/config/i386/i386.h | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00ce0986c42..b724cc70488 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 e6111280a7c..9e45815089c 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 -- cgit v1.2.1