Message ID | 20210917052505.2469224-1-luoxhu@linux.ibm.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B9009385841E for <patchwork@sourceware.org>; Fri, 17 Sep 2021 05:26:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9009385841E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1631856418; bh=lGW1L/WT2FvCcJCSFeQVzwaAFhug7lu2M1cIVVTKS5Y=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=oLWprN3C1NeRXD8HfKGOFgNTPe5ZudfcgMOSZ6v+DLN4K1sYWdTgzjfnj2iDuuiKV dzqCPGqjakxInghchiEL/CckImjKeme7x0oiDtPNhJqX3hCpIHyeE9+LwaQWIr44Ow 8CPBTZp25uNnRvu5edv7KmYkidMSlYrs16BJKc7U= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 52F693858420; Fri, 17 Sep 2021 05:25:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 52F693858420 Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 18H4UPwD010290; Fri, 17 Sep 2021 01:25:19 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b4g6f4g19-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Sep 2021 01:25:19 -0400 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 18H5GGsQ010853; Fri, 17 Sep 2021 01:25:19 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 3b4g6f4g0w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Sep 2021 01:25:18 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 18H5N1xY009596; Fri, 17 Sep 2021 05:25:17 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma04ams.nl.ibm.com with ESMTP id 3b0m3asehg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 17 Sep 2021 05:25:17 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 18H5PBKC44827044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 17 Sep 2021 05:25:11 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 89175A406F; Fri, 17 Sep 2021 05:25:11 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 535BCA406E; Fri, 17 Sep 2021 05:25:10 +0000 (GMT) Received: from genoa.aus.stglabs.ibm.com (unknown [9.40.192.157]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 17 Sep 2021 05:25:10 +0000 (GMT) To: gcc-patches@gcc.gnu.org Subject: [PATCH v2 0/2] Fix vec_sel code generation and merge xxsel to vsel Date: Fri, 17 Sep 2021 00:25:03 -0500 Message-Id: <20210917052505.2469224-1-luoxhu@linux.ibm.com> X-Mailer: git-send-email 2.25.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: dIH0bDhCSsshSIQzZunEU0KBVFYJ7v75 X-Proofpoint-ORIG-GUID: Ty5aER7e__FqDp9g26vw9u8FD_at60Am Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-17_02,2021-09-16_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 bulkscore=0 adultscore=0 clxscore=1015 mlxscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2109030001 definitions=main-2109170032 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Xionghu Luo via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Xionghu Luo <luoxhu@linux.ibm.com> Cc: segher@kernel.crashing.org, Xionghu Luo <luoxhu@linux.ibm.com>, wschmidt@linux.ibm.com, linkw@gcc.gnu.org, dje.gcc@gmail.com Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Series |
Fix vec_sel code generation and merge xxsel to vsel
|
|
Message
Xionghu Luo
Sept. 17, 2021, 5:25 a.m. UTC
These two patches are updated version from: https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html Changes: 1. Fix alignment error in md files. 2. Replace rtx_equal_p with match_dup. 3. Use register_operand instead of gpc_reg_operand to align with vperm/xxperm. 4. Regression tested pass on P8LE. Xionghu Luo (2): rs6000: Fix wrong code generation for vec_sel [PR94613] rs6000: Fold xxsel to vsel since they have same semantics gcc/config/rs6000/altivec.md | 84 ++++++++++++++----- gcc/config/rs6000/rs6000-call.c | 62 ++++++++++++++ gcc/config/rs6000/rs6000.c | 19 ++--- gcc/config/rs6000/vector.md | 26 +++--- gcc/config/rs6000/vsx.md | 25 ------ gcc/testsuite/gcc.target/powerpc/builtins-1.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr94613.c | 47 +++++++++++ 7 files changed, 193 insertions(+), 72 deletions(-) create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c
Comments
Ping, thanks. On 2021/9/17 13:25, Xionghu Luo wrote: > These two patches are updated version from: > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html > > Changes: > 1. Fix alignment error in md files. > 2. Replace rtx_equal_p with match_dup. > 3. Use register_operand instead of gpc_reg_operand to align with > vperm/xxperm. > 4. Regression tested pass on P8LE. > > Xionghu Luo (2): > rs6000: Fix wrong code generation for vec_sel [PR94613] > rs6000: Fold xxsel to vsel since they have same semantics > > gcc/config/rs6000/altivec.md | 84 ++++++++++++++----- > gcc/config/rs6000/rs6000-call.c | 62 ++++++++++++++ > gcc/config/rs6000/rs6000.c | 19 ++--- > gcc/config/rs6000/vector.md | 26 +++--- > gcc/config/rs6000/vsx.md | 25 ------ > gcc/testsuite/gcc.target/powerpc/builtins-1.c | 2 +- > gcc/testsuite/gcc.target/powerpc/pr94613.c | 47 +++++++++++ > 7 files changed, 193 insertions(+), 72 deletions(-) > create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c >
Ping^2, thanks. https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579637.html On 2021/10/8 09:17, Xionghu Luo via Gcc-patches wrote: > Ping, thanks. > > > On 2021/9/17 13:25, Xionghu Luo wrote: >> These two patches are updated version from: >> https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html >> >> Changes: >> 1. Fix alignment error in md files. >> 2. Replace rtx_equal_p with match_dup. >> 3. Use register_operand instead of gpc_reg_operand to align with >> vperm/xxperm. >> 4. Regression tested pass on P8LE. >> >> Xionghu Luo (2): >> rs6000: Fix wrong code generation for vec_sel [PR94613] >> rs6000: Fold xxsel to vsel since they have same semantics >> >> gcc/config/rs6000/altivec.md | 84 ++++++++++++++----- >> gcc/config/rs6000/rs6000-call.c | 62 ++++++++++++++ >> gcc/config/rs6000/rs6000.c | 19 ++--- >> gcc/config/rs6000/vector.md | 26 +++--- >> gcc/config/rs6000/vsx.md | 25 ------ >> gcc/testsuite/gcc.target/powerpc/builtins-1.c | 2 +- >> gcc/testsuite/gcc.target/powerpc/pr94613.c | 47 +++++++++++ >> 7 files changed, 193 insertions(+), 72 deletions(-) >> create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c >> >
Ping^3, thanks. https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579637.html On 2021/10/15 14:28, Xionghu Luo via Gcc-patches wrote: > Ping^2, thanks. > > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579637.html > > > On 2021/10/8 09:17, Xionghu Luo via Gcc-patches wrote: >> Ping, thanks. >> >> >> On 2021/9/17 13:25, Xionghu Luo wrote: >>> These two patches are updated version from: >>> https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html >>> >>> Changes: >>> 1. Fix alignment error in md files. >>> 2. Replace rtx_equal_p with match_dup. >>> 3. Use register_operand instead of gpc_reg_operand to align with >>> vperm/xxperm. >>> 4. Regression tested pass on P8LE. >>> >>> Xionghu Luo (2): >>> rs6000: Fix wrong code generation for vec_sel [PR94613] >>> rs6000: Fold xxsel to vsel since they have same semantics >>> >>> gcc/config/rs6000/altivec.md | 84 ++++++++++++++----- >>> gcc/config/rs6000/rs6000-call.c | 62 ++++++++++++++ >>> gcc/config/rs6000/rs6000.c | 19 ++--- >>> gcc/config/rs6000/vector.md | 26 +++--- >>> gcc/config/rs6000/vsx.md | 25 ------ >>> gcc/testsuite/gcc.target/powerpc/builtins-1.c | 2 +- >>> gcc/testsuite/gcc.target/powerpc/pr94613.c | 47 +++++++++++ >>> 7 files changed, 193 insertions(+), 72 deletions(-) >>> create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c >>> >> >
This patch series is okay. Thanks, David On Thu, Oct 21, 2021 at 11:25 PM Xionghu Luo <luoxhu@linux.ibm.com> wrote: > > Ping^3, thanks. > > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579637.html > > > On 2021/10/15 14:28, Xionghu Luo via Gcc-patches wrote: > > Ping^2, thanks. > > > > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579637.html > > > > > > On 2021/10/8 09:17, Xionghu Luo via Gcc-patches wrote: > >> Ping, thanks. > >> > >> > >> On 2021/9/17 13:25, Xionghu Luo wrote: > >>> These two patches are updated version from: > >>> https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579490.html > >>> > >>> Changes: > >>> 1. Fix alignment error in md files. > >>> 2. Replace rtx_equal_p with match_dup. > >>> 3. Use register_operand instead of gpc_reg_operand to align with > >>> vperm/xxperm. > >>> 4. Regression tested pass on P8LE. > >>> > >>> Xionghu Luo (2): > >>> rs6000: Fix wrong code generation for vec_sel [PR94613] > >>> rs6000: Fold xxsel to vsel since they have same semantics > >>> > >>> gcc/config/rs6000/altivec.md | 84 ++++++++++++++----- > >>> gcc/config/rs6000/rs6000-call.c | 62 ++++++++++++++ > >>> gcc/config/rs6000/rs6000.c | 19 ++--- > >>> gcc/config/rs6000/vector.md | 26 +++--- > >>> gcc/config/rs6000/vsx.md | 25 ------ > >>> gcc/testsuite/gcc.target/powerpc/builtins-1.c | 2 +- > >>> gcc/testsuite/gcc.target/powerpc/pr94613.c | 47 +++++++++++ > >>> 7 files changed, 193 insertions(+), 72 deletions(-) > >>> create mode 100644 gcc/testsuite/gcc.target/powerpc/pr94613.c > >>> > >> > > > > -- > Thanks, > Xionghu