From patchwork Thu Jan 25 00:38:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Andrew Pinski (QUIC)" X-Patchwork-Id: 191800 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1338121dyi; Wed, 24 Jan 2024 16:39:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IHbmHM3n0ANJ6BwsAy7CQpbXpYAfozAYCgFT+TBgqrfIsbFx17vL98FlC4KXwxmtkSAwAZU X-Received: by 2002:a05:622a:1051:b0:42a:6691:71ab with SMTP id f17-20020a05622a105100b0042a669171abmr147728qte.2.1706143147206; Wed, 24 Jan 2024 16:39:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706143147; cv=pass; d=google.com; s=arc-20160816; b=UiUyvWTItnoj8RmXAeU2miNmp0pFPRwpiPX6KmQ68g9XKImaL5a0ydUSIV7osaQYiL J2QXZxLWvKiRLIu87ZAnNBiF/cCDUTsBxfAgeRclX+LJSg3k6mVRpdxEJJsAQ04oOPnU M9ZwOLzbfsdlDR7lf6KqMFGOkihqu1nt2bwMn6cTi9hw4DqTE1hLBnNZgR/d7aYGiee4 T85kv07jFKAPY2gy6mPQidRWXLn2I+rycBPJKVk+Ngh2BTeP400UJ1a8OXptOhwYvPwC nwUvx91BKhNvqVJE4TL7KYgDSQPZQQphE3BQVAQeoEIMRxfyMKaUUqWZnn1QJHlmy3QB W+8Q== 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 :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=ekyIYoRhoIwZJrVLhy7zo354l9KUOis5mq2GqjF1YVw=; fh=o3CEdS3yGN/eIa89Zn0Kf01WYLxTE9IjKuSQGVPeOHI=; b=i+T9AiFmFbjlqpJXzPRAf8AMeEOSY6tTmO7vdv3khVV8ipafTAJEPDzmk1ySjedv1J k+tANLHLZ+UgR0X8jeVdTRAjDtv6tuJCAZEUA5CmKke7gBQMulHW8DU3v70t7tzzd/GM epGE6KkCBUpddw9w8tA79AUA6HKEN3WEOsiel0yNhk1xPxVOFvALKmJL7SkVW17F1R4L O+bg1Hmt2G1XEEhskvhgNN14d6Hm/ctMt5bKCR5NoDoFpUoZaqTK/YRkaAi1ArpbD/FE gsCYgyID+ME5CG8KJueRE6m9XDJrTZuz0QEd4IwVO8o1w07HFUPJnUHKEmxyKLCRRhKv enlw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eslIRoIJ; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id g8-20020ac87d08000000b0042a2af5e591si11461763qtb.173.2024.01.24.16.39.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 16:39:07 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eslIRoIJ; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D9D1338582AD for ; Thu, 25 Jan 2024 00:39:06 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by sourceware.org (Postfix) with ESMTPS id E9DBE3858416 for ; Thu, 25 Jan 2024 00:38:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E9DBE3858416 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=quicinc.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E9DBE3858416 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706143101; cv=none; b=odeuO0ClSCbKL19Nf92vcjF0KBprRhSiHV8BKYly5SNVCHouZf4omVEVl3oj2D39FdWZSYUaTkKT9bl2MO9Ov/NUO7/vSZkiNkT2owUEJRdCq94tQS96MAs4zqhTqITY1c5/IWzyRYHbfP4OWqfPhtQKTd1Vv7YlbnnlQKPbp1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706143101; c=relaxed/simple; bh=fAg7N2uCt16DoC7WFaX2+yASzB/5zcbK4iR8Z31Z/Dk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=NxKOohA7oK/3DfgtowhpzrRor13Vzloxp1EtT9+TBkiKmRSHM0+DQUpVQzBLuFXtWWS/FKHednI2uQB6RQUjsnKDQe++2m9gJdlJV1W4ASUZocwGT+zdE47d77x9WPdQ2hj+58u259QiBdDaCV9JTAlumOKy+Q22imwik/AKKJk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40P0C4GE016469 for ; Thu, 25 Jan 2024 00:38:17 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=qcppdkim1; bh=ekyIYoR hoIwZJrVLhy7zo354l9KUOis5mq2GqjF1YVw=; b=eslIRoIJP/gaZzqZE4JdCW9 i2JKqSmctwzR6Y9DbHtqYQfLH/ZKx72WW4QF5jcWonHHPRwSnSyhgetoUPpCJAlF MFP++sdNCGmtBWdnkyFdsVbTUIz9cpsU6UjLu43ltK/ewgms/S1CZtxlXbcgkAe1 T914BB3/r+oYG0POYgS5YlNmzPWvmb+oLiy9g4Duju9EYeT48Z5HJiNjQrvTCVMV fQVCeFiZpVfIVHbtr8HRLm1PxeY1Cycgux+CfBHSdLHfaXB/rPOsAK8/rCXCZb7n 0gsUxIgcmeLKIPRx9jEvtBfzQGWe6DXQrqyBoCCrPoGNplvmiJlHJPAJ///oeag= = Received: from nasanppmta04.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vu81g8nwh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 25 Jan 2024 00:38:17 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 40P0cG6P008739 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 25 Jan 2024 00:38:16 GMT Received: from hu-apinski-lv.qualcomm.com (10.49.16.6) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 24 Jan 2024 16:38:16 -0800 From: Andrew Pinski To: CC: Andrew Pinski Subject: [COMMITTED] Fix check_effective_target_vect_long_mult Date: Wed, 24 Jan 2024 16:38:04 -0800 Message-ID: <20240125003804.4176747-1-quic_apinski@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: MoiaY9AxevQgX75XnVCF3BRroGw9F4sZ X-Proofpoint-ORIG-GUID: MoiaY9AxevQgX75XnVCF3BRroGw9F4sZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-24_12,2024-01-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 lowpriorityscore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 malwarescore=0 impostorscore=0 mlxscore=0 mlxlogscore=921 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401250002 X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789020756540493057 X-GMAIL-MSGID: 1789020756540493057 My last commit I tested on aarch64 but vect_long_mult was not actually invoked and I didn't notice that I was missing a `[` in front of check_effective_target_aarch64_sve. When I ran the testsuite on x86_64, I got the failure. Committed as obvious after testing on x86_64. gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_long_mult): Fix small typo for aarch64*-*-*. Signed-off-by: Andrew Pinski --- gcc/testsuite/lib/target-supports.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 82520119026..49e748caf17 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -9092,7 +9092,7 @@ proc check_effective_target_vect_long_mult { } { || ([istarget sparc*-*-*] && [check_effective_target_ilp32]) || ([istarget aarch64*-*-*] && ([check_effective_target_ilp32] - || check_effective_target_aarch64_sve])) + || [check_effective_target_aarch64_sve])) || ([istarget mips*-*-*] && [et-is-effective-target mips_msa]) || ([istarget riscv*-*-*]