From: Alexander Ivchenko Date: Thu, 28 Aug 2014 06:34:06 +0000 (+0000) Subject: AVX-512. Add vps[rl]ldq insn patterns. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98ee4d9bb726a0e6a5ca09f5cd62b47db5a5416f;p=gcc.git AVX-512. Add vps[rl]ldq insn patterns. gcc/ * config/i386/sse.md (define_mode_iterator VIMAX_AVX2): Add V4TI mode. (define_insn "_ashl3"): Add EVEX version. (define_insn "_lshr3"): 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: r214670 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 326919a29c9..4054c094850 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2014-08-28 Alexander Ivchenko + Maxim Kuznetsov + Anna Tikhonova + Ilya Tocar + Andrey Turetskiy + Ilya Verbin + Kirill Yukhin + Michael Zolotukhin + + * config/i386/sse.md + (define_mode_iterator VIMAX_AVX2): Add V4TI mode. + (define_insn "_ashl3"): Add EVEX version. + (define_insn "_lshr3"): Ditto. + 2014-08-28 Alexander Ivchenko Maxim Kuznetsov Anna Tikhonova diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 6c99d846062..a208400b124 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -331,7 +331,7 @@ ;; ??? We should probably use TImode instead. (define_mode_iterator VIMAX_AVX2 - [(V2TI "TARGET_AVX2") V1TI]) + [(V4TI "TARGET_AVX512BW") (V2TI "TARGET_AVX2") V1TI]) ;; ??? This should probably be dropped in favor of VIMAX_AVX2. (define_mode_iterator SSESCALARMODE @@ -8819,9 +8819,9 @@ }) (define_insn "_ashl3" - [(set (match_operand:VIMAX_AVX2 0 "register_operand" "=x,x") + [(set (match_operand:VIMAX_AVX2 0 "register_operand" "=x,v") (ashift:VIMAX_AVX2 - (match_operand:VIMAX_AVX2 1 "register_operand" "0,x") + (match_operand:VIMAX_AVX2 1 "register_operand" "0,v") (match_operand:SI 2 "const_0_to_255_mul_8_operand" "n,n")))] "TARGET_SSE2" { @@ -8858,9 +8858,9 @@ }) (define_insn "_lshr3" - [(set (match_operand:VIMAX_AVX2 0 "register_operand" "=x,x") + [(set (match_operand:VIMAX_AVX2 0 "register_operand" "=x,v") (lshiftrt:VIMAX_AVX2 - (match_operand:VIMAX_AVX2 1 "register_operand" "0,x") + (match_operand:VIMAX_AVX2 1 "register_operand" "0,v") (match_operand:SI 2 "const_0_to_255_mul_8_operand" "n,n")))] "TARGET_SSE2" {