]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.h (BIGGEST_ALIGNMENT): Set to 128.
authorJan Hubicka <hubicka@freesoft.cz>
Tue, 18 Jan 2000 16:06:54 +0000 (17:06 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 18 Jan 2000 16:06:54 +0000 (16:06 +0000)
* i386.h (BIGGEST_ALIGNMENT): Set to 128.
(BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)

From-SVN: r31489

gcc/ChangeLog
gcc/config/i386/i386.h

index 00ce0986c42c4361e76013daba2e86c93d491a79..b724cc70488e9be93647e0a4037067df799f2e87 100644 (file)
@@ -1,5 +1,8 @@
 Tue Jan 18 16:19:55 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
 
+       * 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.
index e6111280a7c23857da85a5930200ebd6b04f4b63..9e45815089c2bd5057c04f9dd113314ffd134e93 100644 (file)
@@ -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