From: Alexander Ivchenko Date: Tue, 14 Oct 2014 08:56:56 +0000 (+0000) Subject: AVX-512. 77/n. Use blend for cond-set V32HI and V64QI. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebe87abf2bdad817320b230638365ebcfd2bda1d;p=gcc.git AVX-512. 77/n. Use blend for cond-set V32HI and V64QI. gcc/ * config/i386/i386.c (ix86_expand_sse_movcc): Handle V64QI and V32HI mode. (ix86_expand_int_vcond): Ditto. Co-Authored-By: Andrey Turetskiy Co-Authored-By: Anna Tikhonova Co-Authored-By: Ilya Tocar Co-Authored-By: Ilya Verbin Co-Authored-By: Kirill Yukhin Co-Authored-By: Maxim Kuznetsov Co-Authored-By: Michael Zolotukhin From-SVN: r216193 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79dcc11a005..59ae412d23b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2014-10-14 Alexander Ivchenko + Maxim Kuznetsov + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * config/i386/i386.c + (ix86_expand_sse_movcc): Handle V64QI and V32HI mode. + (ix86_expand_int_vcond): Ditto. + 2014-10-14 Alexander Ivchenko Maxim Kuznetsov Anna Tikhonova diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 9deee91bc16..698066ba838 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -21040,6 +21040,12 @@ ix86_expand_sse_movcc (rtx dest, rtx cmp, rtx op_true, rtx op_false) } break; + case V64QImode: + gen = gen_avx512bw_blendmv64qi; + break; + case V32HImode: + gen = gen_avx512bw_blendmv32hi; + break; case V16SImode: gen = gen_avx512f_blendmv16si; break; @@ -21356,6 +21362,8 @@ ix86_expand_int_vcond (rtx operands[]) } break; + case V64QImode: + case V32HImode: case V32QImode: case V16HImode: case V16QImode: