This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] x86: VAESDEC{,LAST} allow memory inputs
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Kirill Yukhin <kirill dot yukhin at gmail dot com>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Fri, 21 Dec 2018 10:05:12 +0100
- Subject: Re: [PATCH] x86: VAESDEC{,LAST} allow memory inputs
- References: <5C1CA7CD020000780020864C@prv1-mh.provo.novell.com>
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}"
>
>
>