From patchwork Thu Jul 28 19:51:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 276 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6a10:b5d6:b0:2b9:3548:2db5 with SMTP id v22csp425132pxt; Thu, 28 Jul 2022 12:52:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1snxxJvUovON5yy9o/80eDz/sK6NnTCyBB/JiNFjGcAyRS6Yh+IRQlt6Hrs6Br2teEqcpbt X-Received: by 2002:a17:907:a0c6:b0:72d:3fd2:5daa with SMTP id hw6-20020a170907a0c600b0072d3fd25daamr372513ejc.728.1659037931360; Thu, 28 Jul 2022 12:52:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659037931; cv=none; d=google.com; s=arc-20160816; b=sAPHWDjXUe0y8AVyAeWnMrwkSU6pagRt0oKUeFY/ctFsgi4MFc9MmzvQoMjn/TUd/L L4Ze4R2VxgeXooc3YuFt6qorgmQRIGvrK1nYV8pN6kSpSLu/581Isy1ft+2Uu0r3yJk7 tKJg3oPhG72JIlq6Ad68HzLSoLKSpKAYaURz8gWO60q2YODL6ArpoA39Ax//4QD006Cm pcPPuRe8ar4KkaXbzYVBYV+QzCTX5xhvv8P3e0aFVDYzePWZebTkeUayZe50+mGYmg9E mx+jie3ojLgt37kUACW+MaUifA1IRkli0dcJTbwk67k0CdINNMszyd+qe7zT3n0vJTNN o8jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:subject:to:from:date:dkim-signature:dmarc-filter :delivered-to; bh=mQHaRGfX00rAK050zjexPZtxsYG3/KyP5U1581QcusA=; b=0DkPuQ+1hJXWK8Y4CkxVB3cXQaZfq8vts2AM8cmRsXfbTKiR/IR289r0V9LC5aJLpq FboGC8y1zt7gYelU3UPlshnVmhhYW6yEZYfkHByLMmDnc4oo3LEdIotKbWkIEEG1DxZ0 5+dq5Ao3OZ1+3mDewhP76ez4ARHTZb2v1vU5BFvBD1aeikGNtfHh/ANOppE1djdp/iwA rOsfX1ZGkc6ruL96wMshFjZzcEYnxn6kMXNUKYMs/IXAQSGxq8EUAGByMd8FUWCyIh1b bUA1ObWsN2mIr9git0K5JF7YPsQgd/cAsUhKQdDrVa4gd37aQNNB39sdZ5yQ6e8Okddm j2Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embecosm.com header.s=google header.b=dh4i2+KN; 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 sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id z6-20020a17090665c600b0072f9c64493dsi1208820ejn.935.2022.07.28.12.52.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 12:52:11 -0700 (PDT) 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; dkim=fail header.i=@embecosm.com header.s=google header.b=dh4i2+KN; 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 A28D43858039 for ; Thu, 28 Jul 2022 19:52:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id 975BA3857C6D for ; Thu, 28 Jul 2022 19:51:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 975BA3857C6D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-lj1-x235.google.com with SMTP id z13so3026194ljj.6 for ; Thu, 28 Jul 2022 12:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:user-agent:mime-version; bh=mQHaRGfX00rAK050zjexPZtxsYG3/KyP5U1581QcusA=; b=dh4i2+KNMSDwTZq1DOhcq1sR+4Jv9sdEyD9SOemg+OQHtopN4nww8dHdFIFkE8UshT Yx4idOA2a2HxFQpZfmYpI36FkuJ9l6elmBuenGAT4AkPk49k77QMZQR9ZIDH4Mghmg+u 7X9awLiX/AQcF/iYMQ0Ub32eaHaMbzi2BRZM1kQYG0yq0UKDM+y6H+/MGW533UIVjNdI f3B2lgermyMLUQ68+1kTj4CyKiwXkhKCWO5Y7crqroUlXrd0Widsf7xFx6gudWQ8HGlK S9OronmftwAhBvRGnLLu0puC0ssGSLiZl8ORuRoCcQwJywQ4nu7TFiZIiRv0/oJDUai2 kKBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:user-agent :mime-version; bh=mQHaRGfX00rAK050zjexPZtxsYG3/KyP5U1581QcusA=; b=IPQ8Kl8xTGTz+z2Eda72kCDd88QsS5oz97Dh60FCTpgeA7rVTGDtmowvnkwdxKmMcV DoSHfIz8WMZudL+zCcLBiegFmRMgp+2MhF0AvfCLYPgqXFebyZwFa1tZuih6lBtgsvb8 4+qahv79522iFkArYvVFDJsqIQuqvo+1qQvhECQaM0+Ygs/BgaxnGndrZuTtwNU5zODa 2U7leg98IWhGHRFTGPcl+RlaraLCMO96HMrC6r0iNxfFNoJs5dzMqHQpCrqwZok9xVnI PRsVdYosZCsUirgPujNPk8pBMJIgS/Gspc4mA33pCgmmQ3/SNlSurc7e7+nyuIbtb4tx ax/w== X-Gm-Message-State: AJIora8qtToDloc1hYVmH9PkuZQBPnX0lWwBkFLF6hnyKYhRPifvddUj 5eSbi18qG1DJtoDGKtg/7OT9n4xJBBacQORn X-Received: by 2002:a05:651c:1542:b0:249:a87f:8a34 with SMTP id y2-20020a05651c154200b00249a87f8a34mr124166ljp.442.1659037878017; Thu, 28 Jul 2022 12:51:18 -0700 (PDT) Received: from [192.168.219.3] ([78.8.192.131]) by smtp.gmail.com with ESMTPSA id r22-20020ac25f96000000b0048a74608f16sm330422lfe.308.2022.07.28.12.51.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jul 2022 12:51:17 -0700 (PDT) Date: Thu, 28 Jul 2022 20:51:12 +0100 (BST) From: "Maciej W. Rozycki" To: gcc-patches@gcc.gnu.org Subject: [PATCH] RISC-V/testsuite: Restrict remaining `fmin'/`fmax' tests to hard float Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_ASCII_DIVIDERS, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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: , Cc: Andrew Waterman , Kito Cheng 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?1739627357544840273?= X-GMAIL-MSGID: =?utf-8?q?1739627357544840273?= Complement commit 7915f6551343 ("RISC-V/testsuite: constraint some of tests to hard_float") and also restrict the remaining `fmin'/`fmax' tests to hard-float test configurations. gcc/testsuite/ * gcc.target/riscv/fmax-snan.c: Add `dg-require-effective-target hard_float'. * gcc.target/riscv/fmaxf-snan.c: Likewise. * gcc.target/riscv/fmin-snan.c: Likewise. * gcc.target/riscv/fminf-snan.c: Likewise. --- gcc/testsuite/gcc.target/riscv/fmax-snan.c | 1 + gcc/testsuite/gcc.target/riscv/fmaxf-snan.c | 1 + gcc/testsuite/gcc.target/riscv/fmin-snan.c | 1 + gcc/testsuite/gcc.target/riscv/fminf-snan.c | 1 + 4 files changed, 4 insertions(+) gcc-riscv-fmin-fmax-test-hard-float.diff Index: gcc/gcc/testsuite/gcc.target/riscv/fmax-snan.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.target/riscv/fmax-snan.c +++ gcc/gcc/testsuite/gcc.target/riscv/fmax-snan.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target hard_float } */ /* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */ double Index: gcc/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c +++ gcc/gcc/testsuite/gcc.target/riscv/fmaxf-snan.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target hard_float } */ /* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */ float Index: gcc/gcc/testsuite/gcc.target/riscv/fmin-snan.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.target/riscv/fmin-snan.c +++ gcc/gcc/testsuite/gcc.target/riscv/fmin-snan.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target hard_float } */ /* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */ double Index: gcc/gcc/testsuite/gcc.target/riscv/fminf-snan.c =================================================================== --- gcc.orig/gcc/testsuite/gcc.target/riscv/fminf-snan.c +++ gcc/gcc/testsuite/gcc.target/riscv/fminf-snan.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target hard_float } */ /* { dg-options "-fno-finite-math-only -fsigned-zeros -fsignaling-nans -dp" } */ float