public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH i386 AVX512] [84/n] Add missing immediate checks.
@ 2014-10-22 12:38 Kirill Yukhin
  2014-10-23 18:00 ` Uros Bizjak
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill Yukhin @ 2014-10-22 12:38 UTC (permalink / raw)
  To: Uros Bizjak; +Cc: Jakub Jelinek, Richard Henderson, GCC Patches, kirill.yukhin

Hello,
This tiny patch adds couple of missing immediate checks.

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_args_builtin): Handle
	avx_vpermilv4df_mask, avx_shufpd256_mask, avx_vpermilv2df_mask.

--
Thanks, K

diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 00e1992..510ca5b 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -36610,6 +36610,7 @@ ix86_expand_args_builtin (const struct builtin_description *d,
 	      case CODE_FOR_sse4_1_blendps:
 	      case CODE_FOR_avx_blendpd256:
 	      case CODE_FOR_avx_vpermilv4df:
+	      case CODE_FOR_avx_vpermilv4df_mask:
 	      case CODE_FOR_avx512f_getmantv8df_mask:
 	      case CODE_FOR_avx512f_getmantv16sf_mask:
 	      case CODE_FOR_avx512vl_getmantv8sf_mask:
@@ -36622,12 +36623,14 @@ ix86_expand_args_builtin (const struct builtin_description *d,
 	      case CODE_FOR_avx512dq_rangepv8sf_mask:
 	      case CODE_FOR_avx512dq_rangepv2df_mask:
 	      case CODE_FOR_avx512dq_rangepv4sf_mask:
+	      case CODE_FOR_avx_shufpd256_mask:
 		error ("the last argument must be a 4-bit immediate");
 		return const0_rtx;
 
 	      case CODE_FOR_sha1rnds4:
 	      case CODE_FOR_sse4_1_blendpd:
 	      case CODE_FOR_avx_vpermilv2df:
+	      case CODE_FOR_avx_vpermilv2df_mask:
 	      case CODE_FOR_xop_vpermil2v2df3:
 	      case CODE_FOR_xop_vpermil2v4sf3:
 	      case CODE_FOR_xop_vpermil2v4df3:

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

* Re: [PATCH i386 AVX512] [84/n] Add missing immediate checks.
  2014-10-22 12:38 [PATCH i386 AVX512] [84/n] Add missing immediate checks Kirill Yukhin
@ 2014-10-23 18:00 ` Uros Bizjak
  0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2014-10-23 18:00 UTC (permalink / raw)
  To: Kirill Yukhin; +Cc: Jakub Jelinek, Richard Henderson, GCC Patches

On Wed, Oct 22, 2014 at 2:28 PM, Kirill Yukhin <kirill.yukhin@gmail.com> wrote:
> Hello,
> This tiny patch adds couple of missing immediate checks.
>
> 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_args_builtin): Handle
>         avx_vpermilv4df_mask, avx_shufpd256_mask, avx_vpermilv2df_mask.

OK.

Thanks,
Uros.

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

end of thread, other threads:[~2014-10-23 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-22 12:38 [PATCH i386 AVX512] [84/n] Add missing immediate checks Kirill Yukhin
2014-10-23 18:00 ` 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).