From patchwork Mon Jan 4 14:24:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 41625 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E125A383F867; Mon, 4 Jan 2021 14:25:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E125A383F867 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1609770327; bh=M9yUXXyGyWpoSz7WwdWAI8OdVoCSmPL0d7y65hIgRO4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=p6hZknQNyL+n9MXyDxxXQ/E2BjkMdVcgatgq+yLZiYBfEvevFV1lU8duvaZ7wtiIR Wj7aEBUPuEGaSCGz+CLkVUsosF05hRMxR+S1tIdA+fgdkhZOR60P13XEiRrIVKLgys PLIrnjWoKybHck1T35VnLhojULh2T5RLG3HCvRvs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from bumble.maple.relay.mailchannels.net (bumble.maple.relay.mailchannels.net [23.83.214.25]) by sourceware.org (Postfix) with ESMTPS id CD8A9383F85D for ; Mon, 4 Jan 2021 14:25:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CD8A9383F85D X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 616067E1FE3; Mon, 4 Jan 2021 14:25:21 +0000 (UTC) Received: from pdx1-sub0-mail-a68.g.dreamhost.com (100-100-138-63.trex.outbound.svc.cluster.local [100.100.138.63]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id F3F9B7E2ADF; Mon, 4 Jan 2021 14:25:19 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Mon, 04 Jan 2021 14:25:21 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Lyrical-Cure: 136af9097177cf5f_1609770321170_2098172383 X-MC-Loop-Signature: 1609770321170:1663807837 X-MC-Ingress-Time: 1609770321169 Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id A13B97E491; Mon, 4 Jan 2021 06:25:19 -0800 (PST) Received: from rhbox.lan (unknown [103.199.172.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 60E967E494; Mon, 4 Jan 2021 06:25:15 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a68 To: libc-alpha@sourceware.org Subject: [PATCH 0/2] unnormal test case fixes Date: Mon, 4 Jan 2021 19:54:41 +0530 Message-Id: <20210104142443.3034204-1-siddhesh@sourceware.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Spam-Status: No, score=-3485.8 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_ABUSEAT, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Siddhesh Poyarekar via Libc-alpha From: Siddhesh Poyarekar Reply-To: Siddhesh Poyarekar Cc: fweimer@redhat.com, joseph@codesourcery.com Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The following two patches fix issues that Joseph pointed out in the unnormal tests. The first patch fixes the breakage caused by moving nan-pseudo-number.h and in the process also fixes the macro condition used to limit conditions under which the test is built. The second patch limits the macro condition further so that the unnormal tests build only for long double and Float64x on intel96. Further, it cleans up the test macro names and casts test arguments to the type being tested. Verified with build-many-glibcs.py for ia64, m68k, i686 and aarch64 and with a native build and test for x86_64. Florian is helping me with a full build-many-glibcs.py run since I don't have compilers for all architectures yet. Siddhesh Poyarekar (2): Drop nan-pseudo-number.h usage from tests Limit unnormal tests to supported long double formats math/libm-test-driver.c | 17 +++++++++-------- math/libm-test-fpclassify.inc | 18 +++++++++--------- math/libm-test-isinf.inc | 18 +++++++++--------- math/libm-test-isnan.inc | 18 +++++++++--------- math/libm-test-issignaling.inc | 18 +++++++++--------- math/libm-test-support.h | 2 ++ math/test-float64x.h | 1 + math/test-ldouble.h | 1 + sysdeps/ieee754/ldbl-96/nan-pseudo-number.h | 4 +--- sysdeps/x86/fpu/nan-pseudo-number.h | 1 - 10 files changed, 50 insertions(+), 48 deletions(-)