Discussion:
[PATCH i386 AVX512] [73/n] Extend reduc min/max autogen.
Kirill Yukhin
2014-10-09 11:55:20 UTC
Permalink
Hello,
This patch extends pattern for reducation maxmin autogen.

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

Is it ok for trunk?

gcc/
* config/i386/sse.md
(define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.

--
Thanks, K

diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 852cb30..d4adc33 100644
--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -2316,7 +2316,8 @@
[(V32QI "TARGET_AVX2") (V16HI "TARGET_AVX2")
(V8SI "TARGET_AVX2") (V4DI "TARGET_AVX2")
(V8SF "TARGET_AVX") (V4DF "TARGET_AVX")
- (V4SF "TARGET_SSE") (V16SI "TARGET_AVX512F")
+ (V4SF "TARGET_SSE") (V64QI "TARGET_AVX512BW")
+ (V32HI "TARGET_AVX512BW") (V16SI "TARGET_AVX512F")
(V8DI "TARGET_AVX512F") (V16SF "TARGET_AVX512F")
(V8DF "TARGET_AVX512F")])
Uros Bizjak
2014-10-09 15:49:41 UTC
Permalink
Post by Kirill Yukhin
Hello,
This patch extends pattern for reducation maxmin autogen.
Bootstrapped.
AVX-512* tests on top of patch-set all pass
under simulator.
Is it ok for trunk?
gcc/
* config/i386/sse.md
(define_mode_iterator REDUC_SMINMAX_MODE): Add V64QI and V32HI modes.
OK.

Thanks,
Uros.

Loading...