From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1383) id 75FA03858C2C; Wed, 5 Oct 2022 19:12:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75FA03858C2C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664997179; bh=j/ndZlj3OC/LCe0vA4wJfapAn9UfEgYV8Ea3ByuAr7A=; h=From:To:Subject:Date:From; b=sP9jHWqWguLuYjIZSto9kTjua6ytEEr9hf5tAs6PQAmW6VnGyXqh6CHDBmXgccnAD EveP3KF1wGwQhOstSU3+PcFgAZjt7m4xkBaDmnju3daWqjnoMQ73ubVo8ZaHcSEvRT 4V1imR4e4UNos6Pvy9tbQgjCzKmKPBbSCigieLgs= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Segher Boessenkool To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-3098] rs6000: Remove "wD" from *vsx_extract__store X-Act-Checkin: gcc X-Git-Author: Segher Boessenkool X-Git-Refname: refs/heads/master X-Git-Oldrev: 59110467908baf11d3c2100e29bdbf7090e11940 X-Git-Newrev: c3d131531a23c71e09c032d6222d0b5ff0eb8162 Message-Id: <20221005191259.75FA03858C2C@sourceware.org> Date: Wed, 5 Oct 2022 19:12:59 +0000 (GMT) List-Id: https://gcc.gnu.org/g:c3d131531a23c71e09c032d6222d0b5ff0eb8162 commit r13-3098-gc3d131531a23c71e09c032d6222d0b5ff0eb8162 Author: Segher Boessenkool Date: Mon Oct 3 22:43:48 2022 +0000 rs6000: Remove "wD" from *vsx_extract__store We can use "n" instead of "wD" if we simply test the value of the integer constant directly. 2022-10-05 Segher Boessenkool * config/rs6000/vsx.md (*vsx_extract__store): Use "n" instead of "wD" constraint. Diff: --- gcc/config/rs6000/vsx.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gcc/config/rs6000/vsx.md b/gcc/config/rs6000/vsx.md index e226a93bbe5..79a759b1ccf 100644 --- a/gcc/config/rs6000/vsx.md +++ b/gcc/config/rs6000/vsx.md @@ -3466,8 +3466,9 @@ [(set (match_operand: 0 "memory_operand" "=m,Z,wY") (vec_select: (match_operand:VSX_D 1 "register_operand" "d,v,v") - (parallel [(match_operand:QI 2 "vsx_scalar_64bit" "wD,wD,wD")])))] - "VECTOR_MEM_VSX_P (mode)" + (parallel [(match_operand:QI 2 "vsx_scalar_64bit" "n,n,n")])))] + "VECTOR_MEM_VSX_P (mode) + && INTVAL (operands[2]) == (BYTES_BIG_ENDIAN ? 0 : 1)" "@ stfd%U0%X0 %1,%0 stxsdx %x1,%y0