From patchwork Sun Dec 24 19:11:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 183109 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp86335dyb; Sun, 24 Dec 2023 11:12:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IERtXMy5seShU2zMp/QymA8LEv2yoW3U7HzyrRXZHGsl5cAy+wxWuMgbk6higfen3fIRbZj X-Received: by 2002:a05:620a:198a:b0:781:4be4:a3ac with SMTP id bm10-20020a05620a198a00b007814be4a3acmr454628qkb.115.1703445147480; Sun, 24 Dec 2023 11:12:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1703445147; cv=pass; d=google.com; s=arc-20160816; b=YtzUOYs+60nGxnoOBidb8jdBszEKJlIxiENmCImZJbvMS3FE1pTasDRxVz6/L6IgS0 gw3C4gZToScIOon468wgXCikHxUGqDahtgMMenytPIgfrB9BsxuI9U4p346m7juHbSg+ oILf5XJLN/alraxTBOI5cS1Sa1198Tys3l4FQExFWEjSEfHNnGghdh3tqobAoHzwfZwX rZNR0kzJzbZFvycADSbMY1nTRFoaZ6N2nRjOnnQeTvCyYotDCL4ivJH4oi/8tRMo9w93 xbBKAokR5nA2w6PiMuEAubyyiGHf34OnwdM7smlwixjqmdmwH/lkPd6ZjMRpjHrJdM6j kKuQ== 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-disposition :mime-version:message-id:subject:to:from:date:arc-filter :dmarc-filter:delivered-to; bh=s0PT3U7vIBsd2eZIUMOVgOBGk5cZ13YToIltvqEdQYE=; fh=1L2/IiukS00vgiXcKREcvt+pFBEM8GuYOng2C1a9k1k=; b=IuwE6JDMbPRs8Y4cRtq6UyA/SIqyRGw17AZ3BgdETdWprCrGfgPpotGs9iUnZn9WUY 1DEwTiWVyxYm4ob7lgZTQCRaZLW4CqSjZKamqKVjUYbqnQE4FCwR1S9FGfkazDOXPo/U iUTMFOwnT9hp8biZE+KTXNNEsCRK9tizYfgB4w/jf7aWxB5sPMNEOuGC03Idt0Ik/tVa OLimY2y4gtjdmwCOCcZDVSBduhs72QYwBwhCDCFSa+S5s3v+sZO65YNwuhe96hsFqCCz anTc4f/+pp6SYzMwA4jSNN89aZApdVxsPUtvkPeBVJs4oWHpncB1cH0CqPpT84soMmnW gflw== ARC-Authentication-Results: i=2; mx.google.com; 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" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id m8-20020a05620a24c800b007788fb75a90si9619736qkn.620.2023.12.24.11.12.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Dec 2023 11:12:27 -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; 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" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3201E385843E for ; Sun, 24 Dec 2023 19:12:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from dellerweb.de (unknown [IPv6:2a02:c207:3003:236::1]) by sourceware.org (Postfix) with ESMTPS id 9E49E3858C98 for ; Sun, 24 Dec 2023 19:11:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9E49E3858C98 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=parisc-linux.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=parisc-linux.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9E49E3858C98 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a02:c207:3003:236::1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703445108; cv=none; b=f9gGXHbXPeRGueokzLUe/eariXGqHexzyrCOhnYZ0jFHyu+r3q8a46agXvRvCNzrWHiAvqqj0fJLhELX4bvT9dpMHDpQzOFdrX10zgvDoY2oZhdBsE0UdSYWOiiFo9uDQSnETUqX2o7v6ntWI8aVB7irxWZ5ioUY3QRKCjo0R9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703445108; c=relaxed/simple; bh=PrZ08LhstECOgDb/Up5URVVOxAdELzQtLGrWgBvFq+w=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=CSEJ0FNjUIjByi5EfRXkHBTPmr7Zf4oInv4dBih7Zyy5sb6ljjWY9Z7obhpJOhEq0xn4u7kjgCCPcNLflOn/gs00JGJEdYfm7svEWnFspiyKhvN+Ps5A2luJTC9TBFpn/uHdZL3tAzWsU98Dao8fm+mdP7LJiE6uwWXZKDIW51o= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mx3210.localdomain (unknown [142.126.114.79]) by dellerweb.de (Postfix) with ESMTPSA id B9E74160006F; Sun, 24 Dec 2023 20:11:43 +0100 (CET) Received: by mx3210.localdomain (Postfix, from userid 1000) id E10A322012C; Sun, 24 Dec 2023 19:11:31 +0000 (UTC) Date: Sun, 24 Dec 2023 19:11:31 +0000 From: John David Anglin To: GCC Patches Subject: [committed] hppa: Fix pr110279-1.c on hppa Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, 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: 1786191698976329753 X-GMAIL-MSGID: 1786191698976329753 This test needs fma support. It is only available on hppa in PA 2.0. Tested on hppa-unknown-linux-gnu. Committed to trunk. Dave --- hppa: Fix pr110279-1.c on hppa 2023-12-24 John David Anglin gcc/testsuite/ChangeLog: * gcc.dg/pr110279-1.c: Add -march=2.0 option on hppa*-*-*. diff --git a/gcc/testsuite/gcc.dg/pr110279-1.c b/gcc/testsuite/gcc.dg/pr110279-1.c index f25b6aec967..291824c0a48 100644 --- a/gcc/testsuite/gcc.dg/pr110279-1.c +++ b/gcc/testsuite/gcc.dg/pr110279-1.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-Ofast --param avoid-fma-max-bits=512 --param tree-reassoc-width=4 -fdump-tree-widening_mul-details" } */ /* { dg-additional-options "-march=armv8.2-a" { target aarch64-*-* } } */ +/* { dg-additional-options "-march=2.0" { target hppa*-*-* } } */ #define LOOP_COUNT 800000000 typedef double data_e;