sse.md (reduc_umin_v8hi): New pattern.
* config/i386/sse.md (reduc_umin_v8hi): New pattern. * config/i386/i386.c (ix86_build_const_vector): Handle also V32QI, V16QI, V16HI and V8HI modes. (emit_reduc_half): New function. (ix86_expand_reduc): Use phminposuw insn for V8HImode UMIN. Use emit_reduc_half helper function. * gcc.target/i386/sse4_1-phminposuw-2.c: New test. * gcc.target/i386/sse4_1-phminposuw-3.c: New test. * gcc.target/i386/avx-vphminposuw-2.c: New test. * gcc.target/i386/avx-vphminposuw-3.c: New test. From-SVN: r179929
Showing
Please
register
or
sign in
to comment