aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2018-12-21 09:31:30 +0000
committerJan Beulich <jbeulich@gcc.gnu.org>2018-12-21 09:31:30 +0000
commit10d26d9dd2653c251a1c182ceac21baaeb45e83e (patch)
tree279c7b71c87e19d499a27da9c82893b4b8c73956
parent5d6551f527a1cc39ce44d1f560cfdb9113a5a92d (diff)
downloadgcc-10d26d9dd2653c251a1c182ceac21baaeb45e83e.zip
gcc-10d26d9dd2653c251a1c182ceac21baaeb45e83e.tar.gz
gcc-10d26d9dd2653c251a1c182ceac21baaeb45e83e.tar.bz2
x86: VAESDEC{,LAST} allow memory inputs
They are no different from their VAESENC{,LAST} counterparts in this regard. From-SVN: r267321
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/sse.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e3eb937..c664103 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
index 3786afd..5dcb621 100644
--- 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}"