From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id EC050385E001 for ; Wed, 12 Oct 2022 13:51:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EC050385E001 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1665582710; bh=1ZXHMqx7S3PI8Xb36D3jT1Y6bqbkQPNeJyWtHUAEh1w=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=DXq7diLwRs3nfzLtdpyPS/3i6/0n8yFsySHIEUkrp52HCnlYOgvd7NYCDdIs9pad/ UqkzxHVt8Qqfd5RAq+XwtMUvy8Bya/b5uNwB5BTurrapyegbyqLnwUdfpLD/qn3JMZ dK03Z9WgJyvgMctkb7JcYD+nyqo4vUrTk9FSlRhw= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 8021C66A32; Wed, 12 Oct 2022 09:51:49 -0400 (EDT) Message-ID: Subject: Re: [PATCH] Optimize nested permutation to single VEC_PERM_EXPR [PR54346] From: Xi Ruoyao To: Liwei Xu , gcc-patches@gcc.gnu.org Cc: wilson@tuliptree.org, admin@levyhsu.com, Lulu Cheng Date: Wed, 12 Oct 2022 21:51:47 +0800 In-Reply-To: <20220926065604.783193-1-liwei.xu@intel.com> References: <20220926065604.783193-1-liwei.xu@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 2022-09-26 at 14:56 +0800, Liwei Xu via Gcc-patches wrote: > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 This patch implemented the opt= imization in PR 54346, which Merges >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0c =3D VEC_PERM_EXPR ; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 d =3D VEC_PERM_EXPR ; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 to > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 d =3D VEC_PERM_EXPR ; >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Bootstrapped and regteste= d on x86_64-pc-linux-gnu{-m32,} > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 tree-ssa/forwprop-19.c fail to= pass but I'm not sure whether it > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 is ok to removed it. I'm getting: FAIL: gcc.dg/pr54346.c scan-tree-dump dse1 "VEC_PERM_EXPR.*{ 3, 6, 0, 0 }" FAIL: gcc.dg/pr54346.c scan-tree-dump-times dse1 "VEC_PERM_EXPR" 1 on loongarch64-linux-gnu. Not sure why. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University