]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define.
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 20 Aug 2012 18:50:13 +0000 (18:50 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 20 Aug 2012 18:50:13 +0000 (18:50 +0000)
From-SVN: r190540

gcc/ChangeLog
gcc/config/sparc/sparc.h

index a80dafe88dc02c7dc15e1a94b5359f221e89ad21..0bec6d278224e15960efae4eae61e0078b42aa87 100644 (file)
@@ -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
        * 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
        * 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>
 
            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)
index 387e50b5009d273dd1b7710519b6f1b54471636e..8f86100071683b5d6b964113d308bcb117ca3bde 100644 (file)
@@ -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) \