public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] x86: VAESDEC{,LAST} allow memory inputs
@ 2018-12-21  8:51 Jan Beulich
  2018-12-21  9:07 ` Uros Bizjak
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2018-12-21  8:51 UTC (permalink / raw)
  To: gcc-patches; +Cc: Kirill Yukhin, ubizjak, hubicka

They are no different from their VAESENC{,LAST} counterparts in this
regard.

gcc/
2018-12-21  Jan Beulich  <jbeulich@suse.com>

	* config/i386/sse.md (vaesdec_<mode>, vaesdeclast_<mode>): Allow
	memory input.

--- a/gcc/config/i386/sse.md
+++ b/gcc/config/i386/sse.md
@@ -21659,7 +21659,7 @@
   [(set (match_operand:VI1_AVX512VL_F 0 "register_operand" "=v")
 	(unspec:VI1_AVX512VL_F
 	  [(match_operand:VI1_AVX512VL_F 1 "register_operand" "v")
-	   (match_operand:VI1_AVX512VL_F 2 "vector_operand" "v")]
+	   (match_operand:VI1_AVX512VL_F 2 "vector_operand" "vm")]
 	  UNSPEC_VAESDEC))]
   "TARGET_VAES"
   "vaesdec\t{%2, %1, %0|%0, %1, %2}"
@@ -21669,7 +21669,7 @@
   [(set (match_operand:VI1_AVX512VL_F 0 "register_operand" "=v")
 	(unspec:VI1_AVX512VL_F
 	  [(match_operand:VI1_AVX512VL_F 1 "register_operand" "v")
-	   (match_operand:VI1_AVX512VL_F 2 "vector_operand" "v")]
+	   (match_operand:VI1_AVX512VL_F 2 "vector_operand" "vm")]
 	  UNSPEC_VAESDECLAST))]
   "TARGET_VAES"
   "vaesdeclast\t{%2, %1, %0|%0, %1, %2}"



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

* Re: [PATCH] x86: VAESDEC{,LAST} allow memory inputs
  2018-12-21  8:51 [PATCH] x86: VAESDEC{,LAST} allow memory inputs Jan Beulich
@ 2018-12-21  9:07 ` Uros Bizjak
  0 siblings, 0 replies; 2+ messages in thread
From: Uros Bizjak @ 2018-12-21  9:07 UTC (permalink / raw)
  To: Jan Beulich; +Cc: gcc-patches, Kirill Yukhin, Jan Hubicka

On Fri, Dec 21, 2018 at 9:43 AM Jan Beulich <JBeulich@suse.com> wrote:
>
> They are no different from their VAESENC{,LAST} counterparts in this
> regard.
>
> gcc/
> 2018-12-21  Jan Beulich  <jbeulich@suse.com>
>
>         * config/i386/sse.md (vaesdec_<mode>, vaesdeclast_<mode>): Allow
>         memory input.

OK.

Thanks,
Uros.

> --- a/gcc/config/i386/sse.md
> +++ b/gcc/config/i386/sse.md
> @@ -21659,7 +21659,7 @@
>    [(set (match_operand:VI1_AVX512VL_F 0 "register_operand" "=v")
>         (unspec:VI1_AVX512VL_F
>           [(match_operand:VI1_AVX512VL_F 1 "register_operand" "v")
> -          (match_operand:VI1_AVX512VL_F 2 "vector_operand" "v")]
> +          (match_operand:VI1_AVX512VL_F 2 "vector_operand" "vm")]
>           UNSPEC_VAESDEC))]
>    "TARGET_VAES"
>    "vaesdec\t{%2, %1, %0|%0, %1, %2}"
> @@ -21669,7 +21669,7 @@
>    [(set (match_operand:VI1_AVX512VL_F 0 "register_operand" "=v")
>         (unspec:VI1_AVX512VL_F
>           [(match_operand:VI1_AVX512VL_F 1 "register_operand" "v")
> -          (match_operand:VI1_AVX512VL_F 2 "vector_operand" "v")]
> +          (match_operand:VI1_AVX512VL_F 2 "vector_operand" "vm")]
>           UNSPEC_VAESDECLAST))]
>    "TARGET_VAES"
>    "vaesdeclast\t{%2, %1, %0|%0, %1, %2}"
>
>
>

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

end of thread, other threads:[~2018-12-21  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21  8:51 [PATCH] x86: VAESDEC{,LAST} allow memory inputs Jan Beulich
2018-12-21  9:07 ` 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).