Message ID | 4b7cc8a3-9ba3-3166-cfa3-96343c23c0df@linux.ibm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp152261dyb; Wed, 17 Jan 2024 22:10:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlSpVhIWiVLkDPKD39KFOMDO7Fmc6T6Gkz4JH5LadGqeWH9x+jHDOOqD+uNK06EWvejvQ1 X-Received: by 2002:a05:6808:2211:b0:3bc:3b3d:108e with SMTP id bd17-20020a056808221100b003bc3b3d108emr350071oib.11.1705558252384; Wed, 17 Jan 2024 22:10:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705558252; cv=pass; d=google.com; s=arc-20160816; b=SZMEnOH8BHZwBDJucplWC9M8MOQzYgd66Y/xIsjrPYCItKhVPpq+Al85eyTqXWfMWf f8iVwqCORjOT2J5BZUTzTWW/RpXvwKvlS/Ks/xsb/HjeESDWA8vSn8fQDjj9ct54hngu nwuU9dnEsXGPnPcWJbCVSyM+6Oh2au/sDUzqVuqIjQgLqXUMOQxrwHterHEzMg1mOcz2 8sXR6n+Z0T/v5KmFFPv3nNzGIimKkG00PLon2kaPMyplu8rv1cRo5R6dAw5GtZHPcTP8 sIcSVHkhktM8nWmr14uajNzM8dLhISHdDOmscQmhL+zrMxneJ77971HlR1e+cfH5+H2V /2ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=1lmILvIju94upU+4K9ocEhxLHV3kdKjgbpDyXMTz2RU=; fh=0LUQGTSXVWIeygzztONOV51BaMFVW3iUOIk/Jnny79c=; b=X4wKBO+HMhA3LVUDX0u9s9n9hwMlUyycjBqnDQuf19LHwoLdBY3yNix4EzSCQ8YNZ4 /IJTA5gjAG3iRBGSkNx5VnKgrQi1BmVrw5sWL1VGo+lRK7fBf0deoQyrf1Bp6lwUid7+ hxN3/S81vlab39r1dI53JT+prig8zaiyTxGypKHKTcvHeonIgNU1VwrMk9mrPuBo9OFX HrwKfv2SQueGXdorLNosOa3w06F7aozAOUVEKhppEQgW0cOzpjhoKgjxnRQ6CCFseda9 lXVASv4j5ento6aTN+bM98hvGpahrXoGIoys1dG2Zm7Qjak90xZBis0lL2ml6Xq4wQE4 ENZQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JtkGBpzO; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id j20-20020ac85f94000000b00429be56095esi13177937qta.149.2024.01.17.22.10.52 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 22:10:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=JtkGBpzO; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1A4FB3858420 for <ouuuleilei@gmail.com>; Thu, 18 Jan 2024 06:10:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 478A83858D33 for <gcc-patches@gcc.gnu.org>; Thu, 18 Jan 2024 06:09:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 478A83858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 478A83858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705558189; cv=none; b=o18daYub/d9rmFMM+wbWJ8O4jnGDRIWPZZzWcnWyb4wYOtTcTTo/eauQ/nH7pTb33p1AJlFl10untjfUEwFUR+UbPfZgYAcoq96ervn1OCUFyRr4ltpRxN6nmIFowo+g8RyC3TPoSdLXWzj3GKrI7kO+wQkVvizYRZcWkEnD/x0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705558189; c=relaxed/simple; bh=KJe4Wndo9lX11MYPZiHNOLQSIzGHdNRrnCA4b4i+8fQ=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=Kv+Dec2kFPd8v+J3+fKTW3j29C9A/o/I+4gm4V743N6FRA1oC6VFOrLMrUCM9XlKHLW8qySUee5Rk1vz/HXLhgAnaAK/c8p6lp4INlFwlWLfpvvyLb+w2vDY3ek3B+4nAmMbZ0q8wSvFu/s5pIFXJRW7rRGHp1bTP7NNAHpds6g= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40I61UhH005473; Thu, 18 Jan 2024 06:09:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : to : cc : from : subject : content-type : content-transfer-encoding; s=pp1; bh=1lmILvIju94upU+4K9ocEhxLHV3kdKjgbpDyXMTz2RU=; b=JtkGBpzOilP5NobwRqHAb6dt0Cs5DTsvTCziR7qdJ26cjfl+UJfIg+1D7b10xr0PbVWS QUKuyBOkxKihY0aj4R7vBxsVHojC8tCkqke6bvoT1CJNQRQWnPsj8WbSOh8P1SDPAjI8 VQSYgqYrYRXn36XOkhOh/T5Rbtbfk5Qj4yKRJ9pnBs9udA9epuGgeh/BF52epBnTyGWu 9iswkzHm9NTa8oDZY6Ety+wjzD3w8//bAXVvmpLmIHsT6m00IpccuUqBUfiosxKCtJ5R W9io/RRRKkU0DYM8knFETwf5i2SfEM8ZkEkouKRGXRQSUCB/phK/SzikJ9bxR0GSbZhk xA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vpw6pstu5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 06:09:46 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40I62HfQ007880; Thu, 18 Jan 2024 06:09:45 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vpw6psttv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 06:09:45 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 40I3LT3w011004; Thu, 18 Jan 2024 06:09:45 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3vm57ysw91-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 06:09:44 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40I69hSp40829584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Jan 2024 06:09:43 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 09B9C2004D; Thu, 18 Jan 2024 06:09:43 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5F4692004B; Thu, 18 Jan 2024 06:09:41 +0000 (GMT) Received: from [9.200.56.27] (unknown [9.200.56.27]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 18 Jan 2024 06:09:41 +0000 (GMT) Message-ID: <4b7cc8a3-9ba3-3166-cfa3-96343c23c0df@linux.ibm.com> Date: Thu, 18 Jan 2024 14:09:39 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Content-Language: en-US To: GCC Patches <gcc-patches@gcc.gnu.org> Cc: Segher Boessenkool <segher@kernel.crashing.org>, David Edelsohn <dje.gcc@gmail.com>, Peter Bergner <bergner@linux.ibm.com> From: "Kewen.Lin" <linkw@linux.ibm.com> Subject: [committed] testsuite, rs6000: Adjust fold-vec-extract-char.p7.c [PR111850] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: PRvIm0jBNPFGqx_DaljIAu8lzulECzJf X-Proofpoint-ORIG-GUID: u7nssekKKMzlT6w_nsyaZiNMSfb4R2XT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-18_02,2024-01-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=986 priorityscore=1501 phishscore=0 adultscore=0 clxscore=1015 mlxscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401180040 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 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> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788407449807706666 X-GMAIL-MSGID: 1788407449807706666 |
Series |
[committed] testsuite, rs6000: Adjust fold-vec-extract-char.p7.c [PR111850]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kewen.Lin
Jan. 18, 2024, 6:09 a.m. UTC
Hi, As PR101169 comment #c4 shows, previously the addi count update on fold-vec-extract-char.p7.c covered a sub-optimal code gen issue. On trunk, pass fold-mem-offsets helps to recover the best code sequence, so this patch is to revert the count back to the original which matches the optimal addi count. Tested well on powerpc64-linux-gnu P8/P9, powerpc64le-linux-gnu P9/P10 and powerpc-ibm-aix. Pushed as r14-8201. PR testsuite/111850 gcc/testsuite/ChangeLog: * gcc.target/powerpc/fold-vec-extract-char.p7.c: Update the checking count of addi to 6. --- gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c index 29a8aa84db2..42599c214e4 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-extract-char.p7.c @@ -11,7 +11,7 @@ /* one extsb (extend sign-bit) instruction generated for each test against unsigned types */ -/* { dg-final { scan-assembler-times {\maddi\M} 9 } } */ +/* { dg-final { scan-assembler-times {\maddi\M} 6 } } */ /* { dg-final { scan-assembler-times {\mli\M} 6 } } */ /* { dg-final { scan-assembler-times {\mstxvw4x\M|\mstvx\M|\mstxv\M} 6 } } */ /* -m32 target uses rlwinm in place of rldicl. */