(SECONDARY_MEMORY_NEEDED_RTX): Define.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 16 Mar 1993 19:54:08 +0000 (11:54 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 16 Mar 1993 19:54:08 +0000 (11:54 -0800)
From-SVN: r3759

gcc/config/sparc/sparc.h

index be46d31893266703f1d15d818d63e8684a39a8bf..3771a3dffad06b1e5c6efefc08fde6752d9e2867 100644 (file)
@@ -635,6 +635,10 @@ extern char leaf_reg_backmap[];
   (((CLASS1) == FP_REGS && (CLASS2) == GENERAL_REGS)   \
    || ((CLASS1) == GENERAL_REGS && (CLASS2) == FP_REGS))
 
+/* Return the stack location to use for secondary memory needed reloads.  */
+#define SECONDARY_MEMORY_NEEDED_RTX(MODE) \
+  gen_rtx (MEM, MODE, gen_rtx (PLUS, Pmode, frame_pointer_rtx, GEN_INT (-8)))
+
 /* Return the maximum number of consecutive registers
    needed to represent mode MODE in a register of class CLASS.  */
 /* On SPARC, this is the size of MODE in words.  */