From patchwork Sun Aug 6 22:28:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Sayle X-Patchwork-Id: 131629 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1114568vqr; Sun, 6 Aug 2023 15:28:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHpiYzwsXzwscjYcJgdayST0H9W+StFXEw4onJL0IYP400kyX1empl9rkqZ+1+53qqn915p X-Received: by 2002:a17:906:209c:b0:99b:d599:5086 with SMTP id 28-20020a170906209c00b0099bd5995086mr8247116ejq.75.1691360919755; Sun, 06 Aug 2023 15:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691360919; cv=none; d=google.com; s=arc-20160816; b=TrU7yDTV/En/J3+Ot2YUrdceGCvFjRLKZZSki/Lt/ev/qh+3WZEt0VEnJ9rMU8vhJG gRKr4WeR/RnPzuHQgIekkPS+bfjKL5KECFHrFh0BfcOZDASvZJT0WB1XW+PRAoYho7Fu XKRS1GeuPbv75dkQ32xstPdEIxXwrRZ7GCWlk3Hs5mRy6K5ocV4GPKEWn440N0tJR5Rp zkhBp/OU0EZKva4XGT421772BuYqufMTlrSmHVs9vbIjzNCTBKppSo7GQfqfXIAym8t8 5sn/wOM5sdhulrFjhc5HK8M+tKvJoiuk5ZljxQLG0FHGFn8TZAnsRLSS8fTKX3Ol3J01 5A6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-language:thread-index :mime-version:message-id:date:subject:to:from:dkim-signature :dmarc-filter:delivered-to; bh=m8YooRdqsKkw6m5moUj9HvOR3TyTnFKvvfXeuOaS6sw=; fh=DfnDlPCeFLqrv37HF9+TwvnAeon9XSZzF2Y4zj5YFXs=; b=LXfQVq4nhnvo7fgvQST7JJIM8C5RD51MjuE+D82TkvtArcdsf5p4yChnBQ5+srbihm 3pQHkmbjiwHhgEBf1X2l2oV5GAnzz3BxvZb/7CvxYzWbQ2oksemhNURgd3n3XJItYjrK H5TsS7VXbsCdaFLSqzMSuh11xvspMov+PlktTgHO63xOk0H8S9ccwMMCxDxjSKmgubOI OeOrYGDq3Wz6I/aWoZx0i86jpQhukGAnz3ROpg2VWFfV+tni+rwYSsvlP8a4PMPqBV7o /5HPOuNA6Ozgqymo/KlN5wDA/OUv8cTpY6t7kWt3G8SC7HHYG0mlAkhYta06KeV7siZr 532w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nextmovesoftware.com header.s=default header.b=QdnCZdLT; 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" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q16-20020a170906541000b00992a0f83dfcsi1736428ejo.471.2023.08.06.15.28.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Aug 2023 15:28:39 -0700 (PDT) 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=fail header.i=@nextmovesoftware.com header.s=default header.b=QdnCZdLT; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DE1E33858414 for ; Sun, 6 Aug 2023 22:28:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server.nextmovesoftware.com (server.nextmovesoftware.com [162.254.253.69]) by sourceware.org (Postfix) with ESMTPS id 14EC93858C2D for ; Sun, 6 Aug 2023 22:28:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 14EC93858C2D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nextmovesoftware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nextmovesoftware.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nextmovesoftware.com; s=default; h=Content-Type:MIME-Version:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m8YooRdqsKkw6m5moUj9HvOR3TyTnFKvvfXeuOaS6sw=; b=QdnCZdLTUG6aSpCwpI+3ZLCg3t 2ROZW7YguaePB8dV2Vd6+i5T5Tp62ZF3D+FkFPeDy/ZvyDcGkjC+svpW3NYPCwCbTI0MgG5fCHrTA J/MDMQ2rcXlCrjxAQ6A6MeTwyALNm7Pqz2vH0mCtndIJgdRO479y7mZrgfv19GqvWhCfpdyK5yoN1 7XnctDFs+R1uhQm9qHOMXZcBOP8n8qD4jVSC9lkblk7kEHniGrDxA5pGsyb60JIuApF7HDWvxqDs/ 1wAMA5veXX/Icj88B2tyQoEzI4XHEBFuRQ7+2Mz4qDwJz0ciAtsQndCgckhdnxLnkSaKIiiBAKRz0 ui6/fBXQ==; Received: from host86-161-68-50.range86-161.btcentralplus.com ([86.161.68.50]:53059 helo=Dell) by server.nextmovesoftware.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qSmEK-00041H-1I for gcc-patches@gcc.gnu.org; Sun, 06 Aug 2023 18:28:08 -0400 From: "Roger Sayle" To: Subject: [Committed] Avoid FAIL of gcc.target/i386/pr110792.c Date: Sun, 6 Aug 2023 23:28:05 +0100 Message-ID: <004b01d9c8b5$465df9e0$d319eda0$@nextmovesoftware.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdnItN4XRiZslptHSfW6l2cUY48nDQ== Content-Language: en-gb X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextmovesoftware.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nextmovesoftware.com X-Get-Message-Sender-Via: server.nextmovesoftware.com: authenticated_id: roger@nextmovesoftware.com X-Authenticated-Sender: server.nextmovesoftware.com: roger@nextmovesoftware.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP 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.29 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 Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773520467667696206 X-GMAIL-MSGID: 1773520467667696206 My apologies (again), I managed to mess up the 64-bit version of the test case for PR 110792. Unlike the 32-bit version, the 64-bit case contains exactly the same load instructions, just in a different order making the correct and incorrect behaviours impossible to distinguish with a scan-assembler-not. Somewhere between checking that this test failed in a clean tree without the patch, and getting the escaping correct, I'd failed to notice that this also FAILs in the patched tree. Doh! Instead of removing the test completely, I've left it as a compilation test. The original fix is tested by the 32-bit test case. Committed to mainline as obvious. Sorry for the inconvenience. 2023-08-06 Roger Sayle gcc/testsuite/ChangeLog PR target/110792 * gcc.target/i386/pr110792.c: Remove dg-final scan-assembler-not. diff --git a/gcc/testsuite/gcc.target/i386/pr110792.c b/gcc/testsuite/gcc.target/i386/pr110792.c index b65125c48b6..eea4e1877db 100644 --- a/gcc/testsuite/gcc.target/i386/pr110792.c +++ b/gcc/testsuite/gcc.target/i386/pr110792.c @@ -15,4 +15,3 @@ unsigned __int128 whirl(unsigned char x0) asm("":::"memory"); return tt; } -/* { dg-final { scan-assembler-not "movq\tWHIRL_S\\+8\\(%rdi\\), %rdi" } } */