From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1039) id CC816385741D; Sat, 26 Mar 2022 20:03:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC816385741D 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 r11-9695] x86: Use x constraint on KL patterns X-Act-Checkin: gcc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: ee25401b10a1ca6157c0a02f49f47e7b253af123 X-Git-Newrev: f0ed5f0763933de8287b3e01aa7fd3efdd77d485 Message-Id: <20220326200300.CC816385741D@sourceware.org> Date: Sat, 26 Mar 2022 20:03:00 +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 20:03:01 -0000 https://gcc.gnu.org/g:f0ed5f0763933de8287b3e01aa7fd3efdd77d485 commit r11-9695-gf0ed5f0763933de8287b3e01aa7fd3efdd77d485 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. (cherry picked from commit ede5f5224d55b84b9f186b288164df9c06fd85e7) 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 8f044c48b3b..32c2036b3a2 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -24079,8 +24079,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) @@ -24213,7 +24213,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))