Message ID | 5C1CA7CD020000780020864C@prv1-mh.provo.novell.com |
---|---|
State | New |
Headers | show |
Series | x86: VAESDEC{,LAST} allow memory inputs | expand |
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}" > > >
--- 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}"