Correct XXX_units_per_simd_word return type.
2010-09-14 H.J. Lu <hongjiu.lu@intel.com> PR bootstrap/45672 * config/mips/mips.c (mips_units_per_simd_word): Correct return type. * config/rs6000/rs6000.c (rs6000_units_per_simd_word): Likewise. * config/sparc/sparc.c (sparc_units_per_simd_word): Likewise. From-SVN: r164296
This commit is contained in:
parent
969c37b70d
commit
2b7237bbeb
|
@ -1,3 +1,11 @@
|
||||||
|
2010-09-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR bootstrap/45672
|
||||||
|
* config/mips/mips.c (mips_units_per_simd_word): Correct return
|
||||||
|
type.
|
||||||
|
* config/rs6000/rs6000.c (rs6000_units_per_simd_word): Likewise.
|
||||||
|
* config/sparc/sparc.c (sparc_units_per_simd_word): Likewise.
|
||||||
|
|
||||||
2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com>
|
2010-09-15 Laurynas Biveinis <laurynas.biveinis@gmail.com>
|
||||||
|
|
||||||
* c-lang.h (struct lang_type): Add variable_size GTY option.
|
* c-lang.h (struct lang_type): Add variable_size GTY option.
|
||||||
|
|
|
@ -11142,7 +11142,7 @@ mips_scalar_mode_supported_p (enum machine_mode mode)
|
||||||
|
|
||||||
/* Implement TARGET_VECTORIZE_UNITS_PER_SIMD_WORD. */
|
/* Implement TARGET_VECTORIZE_UNITS_PER_SIMD_WORD. */
|
||||||
|
|
||||||
static bool
|
static unsigned int
|
||||||
mips_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
mips_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return TARGET_PAIRED_SINGLE_FLOAT ? 8 : UNITS_PER_WORD;
|
return TARGET_PAIRED_SINGLE_FLOAT ? 8 : UNITS_PER_WORD;
|
||||||
|
|
|
@ -1085,7 +1085,7 @@ static bool rs6000_builtin_support_vector_misalignment (enum
|
||||||
int, bool);
|
int, bool);
|
||||||
static int rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt,
|
static int rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt,
|
||||||
tree, int);
|
tree, int);
|
||||||
static int rs6000_units_per_simd_word (enum machine_mode);
|
static unsigned int rs6000_units_per_simd_word (enum machine_mode);
|
||||||
|
|
||||||
static void def_builtin (int, const char *, tree, int);
|
static void def_builtin (int, const char *, tree, int);
|
||||||
static bool rs6000_vector_alignment_reachable (const_tree, bool);
|
static bool rs6000_vector_alignment_reachable (const_tree, bool);
|
||||||
|
@ -3576,7 +3576,7 @@ rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt type_of_cost,
|
||||||
|
|
||||||
/* Implement targetm.vectorize.units_per_simd_word. */
|
/* Implement targetm.vectorize.units_per_simd_word. */
|
||||||
|
|
||||||
static int
|
static unsigned int
|
||||||
rs6000_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
rs6000_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return (TARGET_VSX ? UNITS_PER_VSX_WORD
|
return (TARGET_VSX ? UNITS_PER_VSX_WORD
|
||||||
|
|
|
@ -434,7 +434,7 @@ static bool sparc_can_eliminate (const int, const int);
|
||||||
static const char *sparc_mangle_type (const_tree);
|
static const char *sparc_mangle_type (const_tree);
|
||||||
#endif
|
#endif
|
||||||
static void sparc_trampoline_init (rtx, tree, rtx);
|
static void sparc_trampoline_init (rtx, tree, rtx);
|
||||||
static bool sparc_units_per_simd_word (enum machine_mode);
|
static unsigned int sparc_units_per_simd_word (enum machine_mode);
|
||||||
|
|
||||||
#ifdef SUBTARGET_ATTRIBUTE_TABLE
|
#ifdef SUBTARGET_ATTRIBUTE_TABLE
|
||||||
/* Table of valid machine attributes. */
|
/* Table of valid machine attributes. */
|
||||||
|
@ -6239,7 +6239,7 @@ sparc_vector_mode_supported_p (enum machine_mode mode)
|
||||||
|
|
||||||
/* Implement the TARGET_VECTORIZE_UNITS_PER_SIMD_WORD target hook. */
|
/* Implement the TARGET_VECTORIZE_UNITS_PER_SIMD_WORD target hook. */
|
||||||
|
|
||||||
static bool
|
static unsigned int
|
||||||
sparc_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
sparc_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return TARGET_VIS ? 8 : UNITS_PER_WORD;
|
return TARGET_VIS ? 8 : UNITS_PER_WORD;
|
||||||
|
|
Loading…
Reference in New Issue