aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2012-08-20 18:50:13 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2012-08-20 18:50:13 +0000
commit59e08d4f0996d95bb83730f86cc369c53716f79e (patch)
tree41e521e283dd7806c721d720877fba138a2280aa /gcc/config/sparc
parentd952d7ad3121f9119b1b842efcd884233854c599 (diff)
downloadgcc-59e08d4f0996d95bb83730f86cc369c53716f79e.zip
gcc-59e08d4f0996d95bb83730f86cc369c53716f79e.tar.gz
gcc-59e08d4f0996d95bb83730f86cc369c53716f79e.tar.bz2
* config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define.
From-SVN: r190540
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r--gcc/config/sparc/sparc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index 387e50b..8f86100 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -475,7 +475,6 @@ extern enum cmodel sparc_cmodel;
#endif
/* Now define the sizes of the C data types. */
-
#define SHORT_TYPE_SIZE 16
#define INT_TYPE_SIZE 32
#define LONG_TYPE_SIZE (TARGET_ARCH64 ? 64 : 32)
@@ -512,7 +511,6 @@ extern enum cmodel sparc_cmodel;
#define SPARC_STACK_BOUNDARY_HACK (TARGET_ARCH64 && TARGET_STACK_BIAS)
/* ALIGN FRAMES on double word boundaries */
-
#define SPARC_STACK_ALIGN(LOC) \
(TARGET_ARCH64 ? (((LOC)+15) & ~15) : (((LOC)+7) & ~7))
@@ -551,6 +549,10 @@ extern enum cmodel sparc_cmodel;
: MAX ((COMPUTED), (SPECIFIED))) \
: MAX ((COMPUTED), (SPECIFIED)))
+/* An integer expression for the size in bits of the largest integer machine
+ mode that should actually be used. We allow pairs of registers. */
+#define MAX_FIXED_MODE_SIZE GET_MODE_BITSIZE (TARGET_ARCH64 ? TImode : DImode)
+
/* We need 2 words, so we can save the stack pointer and the return register
of the function containing a non-local goto target. */
#define STACK_SAVEAREA_MODE(LEVEL) \