From 10d26d9dd2653c251a1c182ceac21baaeb45e83e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 21 Dec 2018 09:31:30 +0000 Subject: [PATCH] x86: VAESDEC{,LAST} allow memory inputs They are no different from their VAESENC{,LAST} counterparts in this regard. From-SVN: r267321 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/sse.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e3eb937e2a5..c6641033e5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-12-21 Jan Beulich + + * config/i386/sse.md (vaesdec_, vaesdeclast_): Allow + memory input. + 2018-12-21 Alexandre Oliva * 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 3786afdf5e8..5dcb621f7e4 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}" -- 2.30.2