From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76344 invoked by alias); 9 May 2019 17:01:43 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 76054 invoked by uid 89); 9 May 2019 17:01:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 May 2019 17:01:42 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1hOmQO-0001AX-Fq from joseph_myers@mentor.com ; Thu, 09 May 2019 10:01:40 -0700 Received: from digraph.polyomino.org.uk (137.202.0.90) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Thu, 9 May 2019 18:01:37 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.90_1) (envelope-from ) id 1hOmQK-00022W-JR; Thu, 09 May 2019 17:01:36 +0000 Date: Thu, 09 May 2019 17:01:00 -0000 From: Joseph Myers To: Tejas Joshi CC: Subject: Re: About GSOC. In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2019-05/txt/msg00075.txt.bz2 On Wed, 8 May 2019, Tejas Joshi wrote: > Is this the way test cases should be added and checked? Yes, that's appropriate for tests of roundeven optimization for constant arguments. When you get onto testing roundevenf128 (to cover various cases with 113-bit precision), you'll need to make those tests appropriately conditional on _Float128 support being available - either use "#ifdef __FLT128_MAX__" within the test, or have a separate test for those cases and use /* { dg-add-options float128 } */ /* { dg-require-effective-target float128 } */ in that test. ({ dg-add-options float128 } allows _Float128 tests to be run in configurations that only support _Float128 with some command-line options.) -- Joseph S. Myers joseph@codesourcery.com