x86: VAESDEC{,LAST} allow memory inputs
authorJan Beulich <jbeulich@suse.com>
Fri, 21 Dec 2018 09:31:30 +0000 (09:31 +0000)
committerJan Beulich <jbeulich@gcc.gnu.org>
Fri, 21 Dec 2018 09:31:30 +0000 (09:31 +0000)
They are no different from their VAESENC{,LAST} counterparts in this
regard.

From-SVN: r267321

gcc/ChangeLog
gcc/config/i386/sse.md

index e3eb937e2a57e58e99953cc061baff19a4ce83b5..c6641033e5e9d78783998ab592c90291c0cf9162 100644 (file)
@@ -1,3 +1,8 @@
+2018-12-21  Jan Beulich  <jbeulich@suse.com>
+
+       * config/i386/sse.md (vaesdec_<mode>, vaesdeclast_<mode>): Allow
+       memory input.
+
 2018-12-21  Alexandre Oliva <oliva@adacore.com>
 
        * config.gcc (tmake_file): Add name to tmake_file for
index 3786afdf5e8087ad260aeb25a0e88c5323e64838..5dcb621f7e4dbfbbd97b4e22ae977d5a3dc9d956 100644 (file)
   [(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}"
   [(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}"