From patchwork Tue Dec 6 10:44:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 30232 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2748386wrr; Tue, 6 Dec 2022 02:50:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf4YZro+I2iQn79kj+aXePuK5efpFEGi+SV5IHzuv+d2DkGslcQGsDiuEJJWWe53dIL9Tvbs X-Received: by 2002:a05:6402:1050:b0:467:e9a5:77c5 with SMTP id e16-20020a056402105000b00467e9a577c5mr33121140edu.289.1670323803200; Tue, 06 Dec 2022 02:50:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670323803; cv=none; d=google.com; s=arc-20160816; b=T9DN3do0ECeQ4vALPD0sV+/6SD0IV5yoDz5S/tBDOR9jmMmZJAlgHn2qMx5pkhMYfF zPuAU/12iCRnagEi5L6emgWk27dib65GDpWcLCxTC5Pk1fr1v/8psJeDNqg/McrReBGT PSGjBxrAwApQaBF/8aPkFIeMUtiJuLaM3eGs2rU7Qu2V8ZoFnsecwhiJ485T84iAsiYD CmK9MnJUjp7LIJl1uRXx5Lw/XEdui3JvPCVSMYo9oSOTviLnn4BMtdZum9CtRkr0DC6K Z+9825NpcVt1km8kYQUk4S8QZDFZiUgxHIgDs5+TROxzZQdQDCqSXk6ALSx/IaXb9nQ4 lmcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=oIHTPdccWQ0EyKQNWlsGbYUKCCu0hVac68fmZr2f8eM=; b=d1S75UZ7fHcCAvmJFqEKuMJ1nevA2WuZxGzI5SWWjXNMFP2taJJSPNhb+z0stJkvyH 3H/n4e6bvm+1fq4GSLXE63FL5grQpTR54VHEPRxYT2vettKdnl1AtUJuD5yeP5yTm5Q+ XsXV5fj7xCZUInJoDf+eHYkrJJph8ThnsMYzk/vo9F7RMyXbPh6Lot6dXBYKX0VLFjG4 bEhWqVSe1ACdzVLzRj7jXyTFlqipklyA7axgKCgT/1pN7YxcAHqrI0B+3bq4W0UM9tGg IuXkQnCZ6zQN7w31ABun+vhDPm5264B6XlfQIZjRXe6lna2B1CGPTHqni2r/33RTsTB3 YAxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=oe+i0crM; 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=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id bk18-20020a170906b0d200b0073da4a0f01csi11242193ejb.743.2022.12.06.02.50.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Dec 2022 02:50:03 -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=@gcc.gnu.org header.s=default header.b=oe+i0crM; 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=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1E28E3871FB5 for ; Tue, 6 Dec 2022 10:45:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E28E3871FB5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670323539; bh=oIHTPdccWQ0EyKQNWlsGbYUKCCu0hVac68fmZr2f8eM=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=oe+i0crMHqA29dX0IEMX6YFdjDP/hvhIudK1lCgneULONIvbxKsEK83FcWWbFkWye a6nJpaqdezh9G2Odpr/Zk1RUpx8OM4XmCh29L4/du3t7ZPhOj9QeC9ADfh6YAOGYj9 6BX2fM0aNfARryOL62KCq8wI+n+2blkqPAcxV7yI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C82403846998 for ; Tue, 6 Dec 2022 10:44:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C82403846998 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-26-v2N1NaOrOuKRwHEICVBdCw-1; Tue, 06 Dec 2022 05:44:50 -0500 X-MC-Unique: v2N1NaOrOuKRwHEICVBdCw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C16931C05157 for ; Tue, 6 Dec 2022 10:44:49 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.195.114]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 83A592024CBF for ; Tue, 6 Dec 2022 10:44:49 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 2B6AijSv1100338 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 6 Dec 2022 11:44:45 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 2B6Aiim01100337 for gcc-patches@gcc.gnu.org; Tue, 6 Dec 2022 11:44:44 +0100 Date: Tue, 6 Dec 2022 11:44:44 +0100 To: gcc-patches@gcc.gnu.org Subject: [committed] testsuite: Use -mnofpu for rx-*-* in ieee testsuite [PR107046] Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, 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: , X-Patchwork-Original-From: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek 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?1751461452327925955?= X-GMAIL-MSGID: =?utf-8?q?1751461452327925955?= Hi! add_options_for_ieee has: if { [istarget alpha*-*-*] || [istarget sh*-*-*] } { return "$flags -mieee" } if { [istarget rx-*-*] } { return "$flags -mnofpu" } but ieee.exp doesn't use add_options_for_ieee, instead it has: if { [istarget "alpha*-*-*"] || [istarget "sh*-*-*"] } then { lappend additional_flags "-mieee" } among other things (plus -ffloat-store on some arches etc.). The following patch adds the rx -mnofpu similarly in the hope of fixing ieee.exp FAILs on rx. Preapproved in the PR by Jeff, committed to trunk. 2022-12-06 Jakub Jelinek PR testsuite/107046 * gcc.c-torture/execute/ieee/ieee.exp: For rx-*-* append -mnofpu. Jakub --- gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp.jj 2022-01-11 23:11:22.969282018 +0100 +++ gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp 2022-12-02 12:15:22.307173074 +0100 @@ -52,6 +52,9 @@ if { [istarget "alpha*-*-*"] || [istarget "sh*-*-*"] } then { lappend additional_flags "-mieee" } +if [istarget rx-*-*] then { + lappend additional_flags "-mnofpu" +} if { ![check_effective_target_signal] } { lappend additional_flags "-DSIGNAL_SUPPRESS"