Add Uros to Cc.
On Tue, Oct 23, 2012 at 2:45 PM, Andrey Turetskiy <andrey.turets...@gmail.com> wrote: > Hi, > > This patch replaces large const_vector constructions with > match_operand in sse.md to decrease its size. > Is it ok? > > Changelog: > > 2012-10-23 Andrey Turetskiy <andrey.turets...@gmail.com> > > * config/i386/avx2intrin.h (_mm256_avg_epu8): Add new operand. > (_mm256_avg_epu16): Ditto. > (_mm256_mulhrs_epi16): Ditto. > * config/i386/emmintrin.h (_mm_avg_epu8): Ditto. > (_mm_avg_epu16): Ditto. > * config/i386/tmmintrin.h (_mm_mulhrs_epi16): Ditto. > (_mm_mulhrs_pi16): Ditto. > * config/i386/i386-builtin-types.def > DEF_FUNCTION_TYPE (V4HI, V4HI, V4HI, V4HI): New type. > * config/i386/i386.c (bdesc_args): Extend builtins types. > (ix86_expand_args_builtin): Add support for new types and allow expander > to generate const_vector filled with all ones. > * config/i386/predicates.md (vector1_operand): New predicate which match > const_vector filled with all ones. > * config/i386/sse.md (sse2_uavgv16qi3): Replace const_vector with > vector1_operand. > (sse2_uavgv8hi3): Ditto. > (ssse3_pmulhrswv8hi3): Ditto. > (ssse3_pmulhrswv4hi3): Ditto. > (avx2_uavgv32qi3): Ditto. > (avx2_uavgv16hi3): Ditto. > (avx2_umulhrswv16hi3): Ditto. > > --- > Best regards, > Andrey Turetskiy