[PATCH] Move targetm.units_per_simd_word to largest_simd_mode
Richard Sandiford
rdsandiford@googlemail.com
Tue Oct 5 17:57:00 GMT 2010
Richard Guenther <rguenther@suse.de> writes:
> ! /* Implement TARGET_VECTORIZE_UNITS_PER_SIMD_WORD. */
>
> ! static unsigned int
> ! mips_units_per_simd_word (enum machine_mode mode ATTRIBUTE_UNUSED)
> {
> ! return TARGET_PAIRED_SINGLE_FLOAT ? 8 : UNITS_PER_WORD;
> }
>
> /* Implement TARGET_INIT_LIBFUNCS. */
> --- 11140,11154 ----
> return default_scalar_mode_supported_p (mode);
> }
>
> ! /* Implement TARGET_VECTORIZE_LARGEST_SIMD_MODE. */
>
> ! static enum machine_mode
> ! mips_largest_simd_mode (enum machine_mode mode ATTRIBUTE_UNUSED)
> {
> ! if (TARGET_PARIED_SINGLE_FLOAT
^^^^^^^^^^^^^^^^^^^^^^^^^^
Typo. Looks good otherwise.
Richard
More information about the Gcc-patches
mailing list