aboutsummaryrefslogtreecommitdiff
path: root/gcc
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
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')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/sparc/sparc.h6
2 files changed, 9 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a80dafe..0bec6d2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2012-08-20 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define.
+
2012-08-20 Patrick Marlier <patrick.marlier@gmail.com>
PR middle-end/53992
@@ -137,7 +141,6 @@
* simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle of
a concatenation.
-
2012-08-17 H.J. Lu <hongjiu.lu@intel.com>
* stor-layout.c (compute_record_mode): Replace
@@ -179,8 +182,7 @@
* configure.ac: Add libintl.h to AC_CHECK_HEADERS list.
* config.in: Regenerate.
* configure: Regenerate.
- * intl.h: Always include libintl.h if HAVE_LIBINTL_H is
- set.
+ * intl.h: Always include libintl.h if HAVE_LIBINTL_H is set.
2012-08-17 Richard Guenther <rguenther@suse.de>
@@ -637,7 +639,6 @@
Julian Brown <julian@codesourcery.com>
MIPS Technologies, Inc.
- gcc/
* config/mips/mips.md (dspmac, dspmacsat, accext, accmod, dspalu)
(dspalusat): Add insn types.
* config/mips/mips-dsp.md (add<DSPV:mode>3)
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) \