public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH i386 AVX512] [79/n] Extend expand_mul_widen_hilo.
@ 2014-10-16  6:56 Kirill Yukhin
  2014-10-16 11:20 ` Uros Bizjak
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Yukhin @ 2014-10-16  6:56 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: Jakub Jelinek, Richard Henderson, GCC Patches, kirill.yukhin

Hello,
This patch extends expand_mul_widen_hilo to 512-bit QI,SI,HI modes.

Bootstrapped and regtested

gcc/
	* config/i386/i386.c
	(ix86_expand_mul_widen_hilo): Handle V32HI, V16SI, V64QI modes.

Is it ok for trunk?

--
Thanks, K

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index ae64c44..945bc8d 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -45610,6 +45610,9 @@ ix86_expand_mul_widen_hilo (rtx dest, rtx op1, rtx op2,
 
     case V16QImode:
     case V32QImode:
+    case V32HImode:
+    case V16SImode:
+    case V64QImode:
       t1 = gen_reg_rtx (wmode);
       t2 = gen_reg_rtx (wmode);
       ix86_expand_sse_unpack (t1, op1, uns_p, high_p);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH i386 AVX512] [79/n] Extend expand_mul_widen_hilo.
  2014-10-16  6:56 [PATCH i386 AVX512] [79/n] Extend expand_mul_widen_hilo Kirill Yukhin
@ 2014-10-16 11:20 ` Uros Bizjak
  0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2014-10-16 11:20 UTC (permalink / raw)
  To: Kirill Yukhin; +Cc: Jakub Jelinek, Richard Henderson, GCC Patches

On Thu, Oct 16, 2014 at 8:28 AM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> This patch extends expand_mul_widen_hilo to 512-bit QI,SI,HI modes.
>
> Bootstrapped and regtested
>
> gcc/
>         * config/i386/i386.c
>         (ix86_expand_mul_widen_hilo): Handle V32HI, V16SI, V64QI modes.
>
> Is it ok for trunk?

OK.

Thanks,
Uros.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-16 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16  6:56 [PATCH i386 AVX512] [79/n] Extend expand_mul_widen_hilo Kirill Yukhin
2014-10-16 11:20 ` Uros Bizjak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).