diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-05-22 12:43:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-05-22 05:43:16 -0700 |
commit | 9d3a9de1ee02811717f605b56bb0064cad19a82e (patch) | |
tree | 63f0f4421ad75511d63828fa645f16face8c9dc8 /gcc/config/sparc | |
parent | d36f0e7895c96cbbbb6f67a9691c3ee839c73af1 (diff) | |
download | gcc-9d3a9de1ee02811717f605b56bb0064cad19a82e.zip gcc-9d3a9de1ee02811717f605b56bb0064cad19a82e.tar.gz gcc-9d3a9de1ee02811717f605b56bb0064cad19a82e.tar.bz2 |
defaults.h (UNITS_PER_SIMD_WORD): Add scalar mode as argument.
2008-05-22 H.J. Lu <hongjiu.lu@intel.com>
* defaults.h (UNITS_PER_SIMD_WORD): Add scalar mode as argument.
* doc/tm.texi (UNITS_PER_SIMD_WORD): Likewise.
* tree-vect-analyze.c (vect_compute_data_ref_alignment): Replace
UNITS_PER_SIMD_WORD with GET_MODE_SIZE (TYPE_MODE (vectype)).
(vect_update_misalignment_for_peel): Likewise.
(vector_alignment_reachable_p): Likewise.
* tree-vect-transform.c (vectorizable_load): Likewise.
* tree-vectorizer.c (vect_supportable_dr_alignment): Likewise.
* tree-vectorizer.c (get_vectype_for_scalar_type): Pass mode of
scalar_type to UNITS_PER_SIMD_WORD.
* config/arm/arm.h (UNITS_PER_SIMD_WORD): Updated.
* config/i386/i386.h (UNITS_PER_SIMD_WORD): Likewise.
* config/mips/mips.h (UNITS_PER_SIMD_WORD): Likewise.
* config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Likewise.
* config/sparc/sparc.h (UNITS_PER_SIMD_WORD): Likewise.
From-SVN: r135759
Diffstat (limited to 'gcc/config/sparc')
-rw-r--r-- | gcc/config/sparc/sparc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 6e9e3ea..ef60292 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -606,7 +606,7 @@ extern struct sparc_cpu_select sparc_select[]; #define MIN_UNITS_PER_WORD 4 #endif -#define UNITS_PER_SIMD_WORD (TARGET_VIS ? 8 : UNITS_PER_WORD) +#define UNITS_PER_SIMD_WORD(MODE) (TARGET_VIS ? 8 : UNITS_PER_WORD) /* Now define the sizes of the C data types. */ |