From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id 1CCCE3857418; Sat, 26 Mar 2022 14:16:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CCCE3857418 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: H.J. Lu To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7829] x86: Use x constraint on KL patterns X-Act-Checkin: gcc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/master X-Git-Oldrev: 99591cf43fc1da0fb72b3da02ba937ba30bd2bf2 X-Git-Newrev: ede5f5224d55b84b9f186b288164df9c06fd85e7 Message-Id: <20220326141635.1CCCE3857418@sourceware.org> Date: Sat, 26 Mar 2022 14:16:35 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2022 14:16:35 -0000 https://gcc.gnu.org/g:ede5f5224d55b84b9f186b288164df9c06fd85e7 commit r12-7829-gede5f5224d55b84b9f186b288164df9c06fd85e7 Author: H.J. Lu Date: Fri Mar 25 10:48:16 2022 -0700 x86: Use x constraint on KL patterns Since KL instructions have no AVX512 version, replace the "v" register constraint with the "x" register constraint. PR target/105058 * config/i386/sse.md (loadiwkey): Replace "v" with "x". (aesu8): Likewise. Diff: --- gcc/config/i386/sse.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 29802d00ce6..33bd2c4768a 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -28364,8 +28364,8 @@ ;; KEYLOCKER (define_insn "loadiwkey" - [(unspec_volatile:V2DI [(match_operand:V2DI 0 "register_operand" "v") - (match_operand:V2DI 1 "register_operand" "v") + [(unspec_volatile:V2DI [(match_operand:V2DI 0 "register_operand" "x") + (match_operand:V2DI 1 "register_operand" "x") (match_operand:V2DI 2 "register_operand" "Yz") (match_operand:SI 3 "register_operand" "a")] UNSPECV_LOADIWKEY) @@ -28498,7 +28498,7 @@ (UNSPECV_AESENC256KLU8 "enc256kl")]) (define_insn "aesu8" - [(set (match_operand:V2DI 0 "register_operand" "=v") + [(set (match_operand:V2DI 0 "register_operand" "=x") (unspec_volatile:V2DI [(match_operand:V2DI 1 "register_operand" "0") (match_operand:BLK 2 "memory_operand" "m")] AESDECENCKL))