aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2005-04-12 23:07:47 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2005-04-12 21:07:47 +0000
commitd24088cce67917f848210dbb1259ef0d98a748a6 (patch)
tree73429c0c636619f8b503728c14b81dd12a2ab71d /gcc/config/sparc/sparc.h
parentca11b3fb997da7fc100bebcbfb2b2928dc6b1949 (diff)
downloadgcc-d24088cce67917f848210dbb1259ef0d98a748a6.zip
gcc-d24088cce67917f848210dbb1259ef0d98a748a6.tar.gz
gcc-d24088cce67917f848210dbb1259ef0d98a748a6.tar.bz2
sparc.h (APPLY_RESULT_SIZE): Set to 24 in 64-bit mode.
* config/sparc/sparc.h (APPLY_RESULT_SIZE): Set to 24 in 64-bit mode. * config/sparc/sparc.md (untyped_call): Save the registers manually. * config/sparc/sparc.c (legitimate_address_p): Use TARGET_ARCH32. From-SVN: r98044
Diffstat (limited to 'gcc/config/sparc/sparc.h')
-rw-r--r--gcc/config/sparc/sparc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index dcdafa0..ae8624d 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -1680,7 +1680,7 @@ extern char leaf_reg_remap[];
/* Define the size of space to allocate for the return value of an
untyped_call. */
-#define APPLY_RESULT_SIZE 16
+#define APPLY_RESULT_SIZE (TARGET_ARCH64 ? 24 : 16)
/* 1 if N is a possible register number for function argument passing.
On SPARC, these are the "output" registers. v9 also uses %f0-%f31. */