From patchwork Sun Aug 7 21:23:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Sayle X-Patchwork-Id: 421 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:20da:b0:2d3:3019:e567 with SMTP id n26csp1492657pxc; Sun, 7 Aug 2022 14:23:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cM65y8EgjxibCOcCYPnhQdW2sC1OydBcBXZWhmbLFAhRbyFCU8O+CxHbxd01le598lkKn X-Received: by 2002:a17:907:1ca8:b0:730:871e:498c with SMTP id nb40-20020a1709071ca800b00730871e498cmr11506212ejc.651.1659907427548; Sun, 07 Aug 2022 14:23:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659907427; cv=none; d=google.com; s=arc-20160816; b=BMNKEVddYNCA2W2Ui5g620eNDrY6pp7Bh7obVN4jxaKWzXEJhMf5D9A4pgdHQN5xqy hpT54Z8ULKF0zDPJDy8xPTK3eCbxKK8fNozrrS0wT1uUvqSq8Qf7H+HoZREmOm4I8fYA oKPbiv1/jbW8GGYvHSxdjJZlDjsDe3lY+1gs+5xwnMDSaeYqMQisa2nZJa96C8CClsBa EQLkn1EbB53M3tADqQ2JrrYd7MU++h9VMWHee2ZnNM+ETTr/4531UidwP/TQ6KAXSd8y HixU5QvK/okHXmFcWWm26pTXazisOAD5YQDEqOTmEPoFn5RX3QVxZFwkLi3EEdVBmC2c wkwQ== 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=O5rYb57JiRvTZxZsXegSBRr30Jipo7fy1z+/tUvW1RU=; b=EY4KhlPCdtrF43kWgCRyE7uN5pt2aUYKnoJSjHSLQqNXrST5jICqlI9+A4KmQtgr6J J2kk2Hg9lW5v94tgszTZInfL0POgTJ+55EbDT26TYttHHCWm1iCDz2BPHPxhcrMJ9Cdn vnNXHjpuudvbh2b1a4IEYPaly2iWugviEkAza1QsiAYcvpdtK/+cb2gQw3iRueXdQBZO IuiWgxXdaTg2ETW4AZ/UI4diyZdKL52Vqp5qEbC+s7FOQ++565mm/FRVKr/+GirLzixc 1FVqTszJM1/f9eb9GszyAKoQqt3EqLYctcO2KKSyqM7s8AZKDab0w4seXnGKahLJ3Ism pBzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nextmovesoftware.com header.s=default header.b=W+1pC5tA; 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 sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id m13-20020a056402510d00b0043bd77de21esi5459475edd.51.2022.08.07.14.23.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Aug 2022 14:23:47 -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=W+1pC5tA; 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 E94F53857C67 for ; Sun, 7 Aug 2022 21:23:36 +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 AC58D3858424 for ; Sun, 7 Aug 2022 21:23:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AC58D3858424 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=O5rYb57JiRvTZxZsXegSBRr30Jipo7fy1z+/tUvW1RU=; b=W+1pC5tANfnoMS6IvW6HWHYyAy Fp39Vd9U3Xm8P748CzEtQYOu5LuG5mE1P0xWr3jENl9O4MXiRMdktziYej78JQY2LyT9sJj+s7Zut gEJte7zwouwPVgL2d5Cdlmx/zLdHwV3rI9c9OR6ehRm2YbriBfVEVIpu8ycykY7hyoH1ro4XYTrjp FH7DdEwwcjKpQSnHn1pW8Sq1Jdj+osqadeKxd+oAYEpWUL6PWvLtfPcle0UICi8LgXdw6fvRdL+cp NfUWQ+SizCJgCtVqGcR4Y7Mx4xMnaE3NvCnt5NDqEMS28YaBnZWMjZpnGhgoMfN0m65GCJeesAxkY N3HgelMA==; Received: from host86-169-41-119.range86-169.btcentralplus.com ([86.169.41.119]:52954 helo=Dell) by server.nextmovesoftware.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oKnjr-0002Rn-Sa for gcc-patches@gcc.gnu.org; Sun, 07 Aug 2022 17:23:12 -0400 From: "Roger Sayle" To: Subject: [Committed] Add -mno-stv to new gcc.target/i386/cmpti2.c test case. Date: Sun, 7 Aug 2022 22:23:10 +0100 Message-ID: <000901d8aaa3$e5a497b0$b0edc710$@nextmovesoftware.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adiqo3kPh2otf2L/S1ygbrCqczHZMw== 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, 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.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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1740539090963516619?= X-GMAIL-MSGID: =?utf-8?q?1740539090963516619?= Adding -march=cascadelake to the command line options of the new cmpti2.c testcase triggers TImode STV and produces vector code that doesn't match the scalar implementation that this test was intended to check. Adding -mno-stv to the options fixes this. Committed as obvious. 2022-08-07 Roger Sayle gcc/testsuite/ChangeLog * gcc.target/i386/cmpti2.c: Add -mno-stv to dg-options. Roger diff --git a/gcc/testsuite/gcc.target/i386/cmpti2.c b/gcc/testsuite/gcc.target/i386/cmpti2.c index ad9572901ce..ba7dd7292a0 100644 --- a/gcc/testsuite/gcc.target/i386/cmpti2.c +++ b/gcc/testsuite/gcc.target/i386/cmpti2.c @@ -1,5 +1,5 @@ /* { dg-do compile { target int128 } } */ -/* { dg-options "-O2" } */ +/* { dg-options "-O2 -mno-stv" } */ __int128 x; __int128 y;