Discussion:
[PATCH i386 AVX512] [77/n] Use blend for cond-set V32HI and V64QI.
Kirill Yukhin
2014-10-09 15:07:08 UTC
Permalink
Hello,
This patch extends movcc/vcond autogen.

Bootstrapped.
AVX-512* tests on top of patch-set all pass
under simulator.

Is it ok for trunk?

gcc/
* config/i386/i386.c
(ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
(ix86_expand_int_vcond): Ditto.

--
Thanks, K

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 8a7853e..f86aa1b 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -21015,6 +21015,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;
@@ -21331,6 +21337,8 @@ ix86_expand_int_vcond (rtx operands[])
}
break;

+ case V64QImode:
+ case V32HImode:
case V32QImode:
case V16HImode:
case V16QImode:
Uros Bizjak
2014-10-09 16:08:45 UTC
Permalink
Post by Kirill Yukhin
Hello,
This patch extends movcc/vcond autogen.
Bootstrapped.
AVX-512* tests on top of patch-set all pass
under simulator.
Is it ok for trunk?
gcc/
* config/i386/i386.c
(ix86_expand_sse_movcc): Handle V64QI and V32HI mode.
(ix86_expand_int_vcond): Ditto.
OK.

Thanks,
Uros.

Loading...