From patchwork Fri Jun 28 02:19:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: YunQiang Su X-Patchwork-Id: 1953665 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=joRCGvGC; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W9K0n0HtFz20X6 for ; Fri, 28 Jun 2024 12:20:41 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42E7F3882057 for ; Fri, 28 Jun 2024 02:20:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42E7F3882057 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719541239; bh=/apwU36BF5QFYkURNdalrYWdCE3I9JTEiAiMi7bb+wI=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=joRCGvGCKDyR4olKRzfMyeAOcBzsyN5vTfh1iQq2TgcQGDDyamEM0Opwm07AY9g6R ScGWzF3ye2jz50D/VoRmr0jfRDZ6tNlZPXRbM3fL0sjjhc7b1i5Kbv/lGFcLUugxVu Dtbcrrnutvh65aVQiChshbYVyafK07nRNYkdOUS8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by sourceware.org (Postfix) with ESMTPS id 87E1C3882065; Fri, 28 Jun 2024 02:20:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87E1C3882065 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 87E1C3882065 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.210.174 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719541208; cv=none; b=jXFcjvKkHn/vrdrfKC8r2jgHTNeMNTHGm8dTAHZUXuMqM9UfnDoU7mW4HtlqWc4JXq9CCspheJ73/iW46FqTCWL56nyHaWi+I3wmWsuAcW1cTUMxgmeIAbxJGXgo8nD6W2vvkaBZkMN4+ctw/FmGj4716g2ZTDO/MYmomuHBoTk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719541208; c=relaxed/simple; bh=93YV27mjJmlTh19jmh27hb7dKPA+7EdLTHYpqlLFlKU=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=VeKPyXNgjf1KsXU/BoYFku8uZDC2AGuOhtc9/nGseEv68KR6jNQpRSMVRndVeEzpLK/S+OZ2yExDEHxdRsqMO6Z2cI8rxU5z29dZQAWkYR5z4O6qLZ7aEc96fa9fijcKjvNBat0N/dYOumoCSxnow5+cYqpXNn+AZjElzkZeH04= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7067a2e9607so124953b3a.3; Thu, 27 Jun 2024 19:20:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719541203; x=1720146003; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/apwU36BF5QFYkURNdalrYWdCE3I9JTEiAiMi7bb+wI=; b=ZW/oeP5Mc3mhG3+YWRLTVbTUGoR5br7KHKA1Uqy+ONzat0qLJkti3uuaHUsswZV8dj BqBwXelr3b41DTYZ4tM5O9N0KwEVJgOnQ4PN6SsLYKGNb5R+nTl9HFZjUNzqa2B1i7aK +nLLos6yRtrLH6gJbpQCiBjCLo66z5OVkHZCVxKYaybUC4VCVTb2Hc/hCvgKsDaC3/9a YNRjc3aZgFlJY1gaZUFnI9p2uyweCv4wUCsasUi5dbFz2yg2/DlqcVWMz6ZeubLhaVfK El5EQ2ZJLXD6vu/LUnbDes4FUuQF4QaIDfyDa2livA/a2Ta7fvCZYHZR5p7yvTgW8jyb x4Rw== X-Gm-Message-State: AOJu0YwNDY6NeZ0fYU8siSYfYN+ImrXLlwDEtvD3/px3pF7nLgQtOuLS +VigsLNxyK3hdAp0yZ65lwi3yChkvPZalkHrC11LSyGXNWTU2yn89626/RWG X-Google-Smtp-Source: AGHT+IF/2Zn8yPYVmtrakBdjHu+v/47IWAxLvwXEMuKjAUtuplMLC11Gy8cU0eXpMHHEVjp2NxxIig== X-Received: by 2002:a05:6a20:7b13:b0:1bd:2ba1:983b with SMTP id adf61e73a8af0-1bd2ba198e7mr7182355637.51.1719541203165; Thu, 27 Jun 2024 19:20:03 -0700 (PDT) Received: from localhost.localdomain ([194.169.55.179]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1fac10e3887sm4625035ad.92.2024.06.27.19.20.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 27 Jun 2024 19:20:02 -0700 (PDT) From: YunQiang Su To: gcc-patches@gcc.gnu.org Cc: YunQiang Su Subject: [PATCH] MIPS/testsuite: Add -mfpxx to call-clobbered-1.c Date: Fri, 28 Jun 2024 10:19:54 +0800 Message-Id: <20240628021954.76356-1-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.3 (Apple Git-146) MIME-Version: 1.0 X-Spam-Status: No, score=-11.1 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org The scan-assembler-times rules only fit for -mfp32 and -mfpxx. It fails if we are configured as FP64 by default, as it has one less sdc1/ldc1 pair. gcc/testsuite * gcc.target/mips/call-clobbered-1.c: Add -mfpxx. --- gcc/testsuite/gcc.target/mips/call-clobbered-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/mips/call-clobbered-1.c b/gcc/testsuite/gcc.target/mips/call-clobbered-1.c index 77294aa3c2d..8880ad13684 100644 --- a/gcc/testsuite/gcc.target/mips/call-clobbered-1.c +++ b/gcc/testsuite/gcc.target/mips/call-clobbered-1.c @@ -1,6 +1,6 @@ /* Check that we handle call-clobbered FPRs correctly. */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ -/* { dg-options "isa>=2 -mabi=32 -mhard-float -ffixed-f0 -ffixed-f1 -ffixed-f2 -ffixed-f3 -ffixed-f4 -ffixed-f5 -ffixed-f6 -ffixed-f7 -ffixed-f8 -ffixed-f9 -ffixed-f10 -ffixed-f11 -ffixed-f12 -ffixed-f13 -ffixed-f14 -ffixed-f15 -ffixed-f16 -ffixed-f17 -ffixed-f18 -ffixed-f19" } */ +/* { dg-options "isa>=2 -mabi=32 -mfpxx -mhard-float -ffixed-f0 -ffixed-f1 -ffixed-f2 -ffixed-f3 -ffixed-f4 -ffixed-f5 -ffixed-f6 -ffixed-f7 -ffixed-f8 -ffixed-f9 -ffixed-f10 -ffixed-f11 -ffixed-f12 -ffixed-f13 -ffixed-f14 -ffixed-f15 -ffixed-f16 -ffixed-f17 -ffixed-f18 -ffixed-f19" } */ void bar (void); double a;