pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Mon, 4 Feb 2002 21:37:14 +0000 (21:37 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Mon, 4 Feb 2002 21:37:14 +0000 (21:37 +0000)
* pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
(BIGGEST_ALIGNMENT): Change to 128.

From-SVN: r49496

gcc/ChangeLog
gcc/config/pa/pa.h

index be1174fc73d2336baea68aafe65948645c1f0787..a3aa6bef5533c47e891f612ae703b0807359eac1 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
+       (BIGGEST_ALIGNMENT): Change to 128.
+
 2002-02-04  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * pa32-linux.h (LINK_COMMAND_SPEC): Define.
index d12a92784d8c11ec3c692661512838d769229a05..6c865a29fdab2deb02f1e8019c1e8a311ac5f931 100644 (file)
@@ -423,6 +423,8 @@ extern int target_flags;
    but that happens late in the compilation process.  */
 #define STACK_BOUNDARY (TARGET_64BIT ? 128 : 64)
 
+#define PREFERRED_STACK_BOUNDARY 512
+
 /* Allocation boundary (in *bits*) for the code of a function.  */
 #define FUNCTION_BOUNDARY (TARGET_64BIT ? 64 : 32)
 
@@ -435,8 +437,9 @@ extern int target_flags;
 /* A bitfield declared as `int' forces `int' alignment for the struct.  */
 #define PCC_BITFIELD_TYPE_MATTERS 1
 
-/* No data type wants to be aligned rounder than this.  */
-#define BIGGEST_ALIGNMENT 64
+/* No data type wants to be aligned rounder than this.  This is set
+   to 128 bits to allow for lock semaphores in the stack frame.*/
+#define BIGGEST_ALIGNMENT 128
 
 /* Get around hp-ux assembler bug, and make strcpy of constants fast.  */
 #define CONSTANT_ALIGNMENT(CODE, TYPEALIGN) \