From: Eric Botcazou Date: Mon, 20 Aug 2012 18:50:13 +0000 (+0000) Subject: * config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define. X-Git-Tag: misc/gccgo-go1_1_2~1280 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=59e08d4f0996d95bb83730f86cc369c53716f79e;p=thirdparty%2Fgcc.git * config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define. From-SVN: r190540 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a80dafe88dc0..0bec6d278224 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-08-20 Eric Botcazou + + * config/sparc/sparc.h (MAX_FIXED_MODE_SIZE): Define. + 2012-08-20 Patrick Marlier 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 * 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 @@ -637,7 +639,6 @@ Julian Brown MIPS Technologies, Inc. - gcc/ * config/mips/mips.md (dspmac, dspmacsat, accext, accmod, dspalu) (dspalusat): Add insn types. * config/mips/mips-dsp.md (add3) diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 387e50b5009d..8f8610007168 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) \