From 98725d4441cc6b7828ed18f331b7f077b4e90f6b Mon Sep 17 00:00:00 2001 From: Alexander Ivchenko Date: Fri, 22 Aug 2014 09:49:40 +0000 Subject: [PATCH] sse.md (define_mode_iterator VI8_AVX512VL): New. gcc/ * config/i386/sse.md (define_mode_iterator VI8_AVX512VL): New. (define_insn "avx512cd_maskb_vec_dup"): Macroize. 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: r214308 --- gcc/ChangeLog | 13 +++++++++++++ gcc/config/i386/sse.md | 9 ++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f5555b6759..9e30a61b18b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2014-08-22 Alexander Ivchenko + Maxim Kuznetsov + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * config/i386/sse.md + (define_mode_iterator VI8_AVX512VL): New. + (define_insn "avx512cd_maskb_vec_dup"): Macroize. + 2014-08-22 Kirill Yukhin * gcc/config/i386/sse.md (define_mode_iterator V_AVX512VL): Delete. diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index ca944a33382..3acae748733 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -267,6 +267,9 @@ (define_mode_iterator VI8 [(V8DI "TARGET_AVX512F") (V4DI "TARGET_AVX") V2DI]) +(define_mode_iterator VI8_AVX512VL + [V8DI (V4DI "TARGET_AVX512VL") (V2DI "TARGET_AVX512VL")]) + (define_mode_iterator VI1_AVX2 [(V32QI "TARGET_AVX2") V16QI]) @@ -14511,9 +14514,9 @@ (set_attr "prefix" "vex") (set_attr "mode" "")]) -(define_insn "avx512cd_maskb_vec_dupv8di" - [(set (match_operand:V8DI 0 "register_operand" "=v") - (vec_duplicate:V8DI +(define_insn "avx512cd_maskb_vec_dup" + [(set (match_operand:VI8_AVX512VL 0 "register_operand" "=v") + (vec_duplicate:VI8_AVX512VL (zero_extend:DI (match_operand:QI 1 "register_operand" "Yk"))))] "TARGET_AVX512CD" -- 2.30.2