(SPARC_STACK_ALIGN): Define.
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 29 Jun 1992 17:34:10 +0000 (10:34 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 29 Jun 1992 17:34:10 +0000 (10:34 -0700)
From-SVN: r1337

gcc/config/sparc/sparc.h

index 004d19f8f4664d21fe91edce04a7fd8a80c0b383..e2ab152c6a621057a608df909c81eae58a3a7754 100644 (file)
@@ -170,6 +170,10 @@ extern int target_flags;
 /* Boundary (in *bits*) on which stack pointer should be aligned.  */
 #define STACK_BOUNDARY 64
 
+/* ALIGN FRAMES on double word boundaries */
+
+#define SPARC_STACK_ALIGN(LOC) (((LOC)+7) & 0xfffffff8)
+
 /* Allocation boundary (in *bits*) for the code of a function.  */
 #define FUNCTION_BOUNDARY 32