mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 19:11:14 +08:00
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>
|
||||
|
||||
* 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. */
|
||||
|
||||
static bool
|
||||
static unsigned int
|
||||
mips_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return TARGET_PAIRED_SINGLE_FLOAT ? 8 : UNITS_PER_WORD;
|
||||
|
@ -1085,7 +1085,7 @@ static bool rs6000_builtin_support_vector_misalignment (enum
|
||||
int, bool);
|
||||
static int rs6000_builtin_vectorization_cost (enum vect_cost_for_stmt,
|
||||
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 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. */
|
||||
|
||||
static int
|
||||
static unsigned int
|
||||
rs6000_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
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);
|
||||
#endif
|
||||
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
|
||||
/* 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. */
|
||||
|
||||
static bool
|
||||
static unsigned int
|
||||
sparc_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
|
||||
{
|
||||
return TARGET_VIS ? 8 : UNITS_PER_WORD;
|
||||
|
Loading…
x
Reference in New Issue
Block a user