From patchwork Wed Aug 16 12:36:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 1821778 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; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=PH/VcmAo; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) X-Greylist: delayed 125 seconds by postgrey-1.37 at legolas; Wed, 16 Aug 2023 22:39:05 AEST 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 4RQnkd5vwZz1yNr for ; Wed, 16 Aug 2023 22:39:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 34E9C385800A for ; Wed, 16 Aug 2023 12:36:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 34E9C385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1692189418; bh=WJFpaTOtyEVEL7xiRtKLGd1VIvF2/NgcSSb2Th5Rpvc=; h=To:CC:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=PH/VcmAo1H+qJaEDAlqTVKM9ls1phgfLYYkgZGK/U3jvnZc6k94S4Dd19PO/jgpzd lNLWldvPxiVrnP0O16A2aWvM4rsk5+TWfGEAhZv2Lkzk538SO5gGMxX1EFNwmtFE6S cKtGRgdGqIB7qZJmF+9RuGouu4/b+eCTn2uA2Qwk= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2048.outbound.protection.outlook.com [40.107.105.48]) by sourceware.org (Postfix) with ESMTPS id 74BCC3858C52 for ; Wed, 16 Aug 2023 12:36:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 74BCC3858C52 Received: from AM5PR0301CA0011.eurprd03.prod.outlook.com (2603:10a6:206:14::24) by AS2PR08MB8718.eurprd08.prod.outlook.com (2603:10a6:20b:55e::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.29; Wed, 16 Aug 2023 12:36:35 +0000 Received: from AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:14:cafe::a1) by AM5PR0301CA0011.outlook.office365.com (2603:10a6:206:14::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6652.33 via Frontend Transport; Wed, 16 Aug 2023 12:36:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT022.mail.protection.outlook.com (100.127.140.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.15 via Frontend Transport; Wed, 16 Aug 2023 12:36:35 +0000 Received: ("Tessian outbound 5c548696a0e7:v175"); Wed, 16 Aug 2023 12:36:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6befa840d7b9afef X-CR-MTA-TID: 64aa7808 Received: from dfddae5da05a.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C50D23C2-2A3A-4069-B6DB-1B0BE7E8F1BE.1; Wed, 16 Aug 2023 12:36:29 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dfddae5da05a.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 16 Aug 2023 12:36:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TRw9fEPa6V1XS4IZyJOg5YpeAB+UgZgB/kGdqtwg8nYrqdhQD5mPzzhvxEazKZeCYJxn0NUpWbMXT/Evm6/mp0ff0kBNar/pIqhqWF6uMVJycIrCQQZuHoKRi9pGI/Auv6WjlIGvbdJzsLf4EbhP0aW/h8zBAomzxtQDqoBiJdgVJ+6DmbRO+Ld71vRqTMEiaSfJEFAfpAVB3CojVn3JeV1hQWpYWb+LG3WkmhZamrfsbhdHU+ZkI9Hx5B6AORJ2jpIIJvo7ANQFrr4TlxFs1o+38SxkdCR2JwPqUy6ESh0QEYrtyzzeDGI14zS1LmPQyM41OATtc79JTXYLawF4Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WJFpaTOtyEVEL7xiRtKLGd1VIvF2/NgcSSb2Th5Rpvc=; b=H8L60K6ALkcAvb683n1xngMXeIIvyHPwjWYCKQ509oalZ1LubDoiSA4FUIpjrCD0xjshYC0pZGMoEZXNW8LQlFDNbgidafjyJYHP6gcFb1MgWmDiZwJ7SaI9JHtXOGf41bfpATBAGG8vQvcCl1Mzwcu+1XXY1yjH8jwe9EJqu7CRRdK3K6k/zbxX938AMi1kUVTeDP/zL/zCAeV/VHYdoilLApIqV4MCOyVXmzxePI5pOwNkaYM2WR+OIW4whBUh0sZt/+1FYY5J+XCkWNqBKLJAYJHSZCMQzgljdvL9NhSedz6adHdiEt7lfa11qrL91aTIJRFJAc/TVg/hGqp99Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Received: from PAWPR08MB8982.eurprd08.prod.outlook.com (2603:10a6:102:33f::20) by GV2PR08MB10383.eurprd08.prod.outlook.com (2603:10a6:150:b0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6678.29; Wed, 16 Aug 2023 12:36:24 +0000 Received: from PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::ff3d:6e95:9971:a7e]) by PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::ff3d:6e95:9971:a7e%4]) with mapi id 15.20.6678.029; Wed, 16 Aug 2023 12:36:24 +0000 To: 'GNU C Library' CC: Joseph Myers Subject: [PATCH] math: Add a no-mathvec flag for sin (-0.0) Thread-Topic: [PATCH] math: Add a no-mathvec flag for sin (-0.0) Thread-Index: AQHZ0D20SBSUPesvf0+Qd6YidtA8+w== Date: Wed, 16 Aug 2023 12:36:24 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PAWPR08MB8982:EE_|GV2PR08MB10383:EE_|AM7EUR03FT022:EE_|AS2PR08MB8718:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b1e9408-3c22-423e-e9a6-08db9e556de9 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: iqf4CMVFhBMKfAm4IwiUZEjR3mI3bj3ejTBULAep1EenJqAmhvTHUVuIy94NhGg7PZknhBE1kZxCo17B11veMD35YUhioVzyj697vxIU0Zd+BtSbUk3aZuz5Sz1Fs+RSdGadn+O3bOs4homTbrWa+4UTQt+v55jbut1GbFPsSoUBT66Cjv6mGn547KkAHX4lduo8WKG1ldDz56iheCJRR/9lNuMdfY0GhA7XzpKLEX/Wo2wGdHeJ5/NRkUb4jmHQ/Q4jt1/uQHpt5EVkNgk0L3FKqP2Rw8D8NZQGmZoCGfpD+7mwXaXjdQ9wOjl0X2PzI3WfGPgiu1OlSj4RR9Vqd645Vhp/XVdf0rmIsDlrpn6hdK5V3Wqti5IHMbNuX5qb2W5aHJ2VEh3lpsm4MODJknKDREe+VNIs3IvooaU2lkCN/9ddKFiNdwVW21V+Dy48caIR2djYv2TaxiAmimv6cc8BPzC3lrWDxRSju2/BZkA7X6vCEa7TmZ668EH06cn0nkgWp6alQ7sMPGf/FRuntTdcS5zTb6YL7RM61KIUsTHmwGI890Va1hheIe6/0nS1m9ILc9kd5drxzBZn1oau7D5SCodEVo3JaYVYx0D/USwX0u4nCDexjP2bv1PQ5ht0 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8982.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(376002)(366004)(346002)(39860400002)(396003)(451199024)(1800799009)(186009)(2906002)(83380400001)(86362001)(478600001)(6506007)(7696005)(71200400001)(33656002)(9686003)(26005)(55016003)(5660300002)(41300700001)(52536014)(122000001)(316002)(76116006)(66946007)(91956017)(66556008)(66476007)(66446008)(64756008)(6916009)(8676002)(8936002)(4326008)(38100700002)(38070700005); DIR:OUT; SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV2PR08MB10383 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b7abe385-4864-4f0c-1d47-08db9e556766 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UgNiidD5QVWAmvYiQpZJXWfOg5KO59ohwUWWjsFXITYci0Pv9Eo9J3Vwi3jmdIZKanOEGme4DuslWlKrp8hfl1vycjKumFphHGwBT/aq56Pai1Ggdn3HcwasEZxG0DYSsWnqGpUKnUSMCu9gqH9gb8q+7c+VZPU/PmtW8LwcooXFS9O/u7uc/wvvMVvk/BpU80UamxR5Hq078gw3ucA0R8yEGPkqFHR7QNUv14I/1OSh6WlvSfqun7XeJT+afyCqfuNobtgHEvF2g7cxdjAyHrDlX/G619UpjN9b7/1x5rG87LzPurGbMyjDdHkLQFTbluR3hEMqZWnkoVG2Fadp0MVwhRNInYwkBNCXmhE3LWOovtIw8jOiA5pGq89p8lwnXC3Kive0EhQHSY4/zyzoiTbLjP1m62dx112cAJ3pMU0W68P9fig/TYplUqMveekIKZFSpSmMd//4nCuUdr6Co/+tBWbzBNWzoZ4X1ZM5OVZmbWMAFujmERjVSQNx+uD76Rta/BJPdcL68By2m51+YQsH4OVev4GpoZ1/stJEXIugkpBNOyzeOQVfsU9V4/g9rbRViKvsNEIBd5jCWg5DGmiGc55R+Ur7nxb85B3Nu7MiqTkkkbLd1rS7gZ7YJVtWegxSG0No2mV0l3Vz29mWjflb8UqtDNWQjuj1uDxRZ2PEnaQG3kXEVSIWnaGYiW9yaGPgsAFTtn3ueBO5bB+ShpYm/RIN4fNH14LJVeGrTEur//EMcIw2Q+WxrCQcCEvR X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(376002)(346002)(39860400002)(396003)(451199024)(1800799009)(82310400011)(186009)(46966006)(36840700001)(40470700004)(2906002)(40460700003)(83380400001)(86362001)(40480700001)(478600001)(336012)(6506007)(107886003)(7696005)(33656002)(9686003)(26005)(55016003)(5660300002)(41300700001)(52536014)(36860700001)(356005)(82740400003)(316002)(81166007)(70206006)(70586007)(6916009)(8676002)(8936002)(4326008)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2023 12:36:35.5730 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b1e9408-3c22-423e-e9a6-08db9e556de9 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8718 X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_LOTSOFHASH, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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: 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: Wilco Dijkstra via Libc-alpha From: Wilco Dijkstra Reply-To: Wilco Dijkstra Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Add support for a no-mathvec flag to gen-auto-libm-tests.c. Update input test sin (-0.0) to be skipped in vector math libraries and regenerate testcases. OK for commit? diff --git a/math/auto-libm-test-in b/math/auto-libm-test-in index c400cafb4bd4715ac74e418ca0b442815b909ca0..2672eb1f6a2af813a77808060cf8d4efa7c7ffee 100644 --- a/math/auto-libm-test-in +++ b/math/auto-libm-test-in @@ -7318,7 +7318,7 @@ pow 0x1.7ac7cp+5 23 pow -0x1.7ac7cp+5 23 sin 0 -sin -0 +sin -0 no-mathvec sin pi/6 sin -pi/6 sin pi/2 diff --git a/math/auto-libm-test-out-sin b/math/auto-libm-test-out-sin index f1d21b179c955eb7761a8309241f57450237d981..e1f684528316dde592255e488e23382a6b8a019e 100644 --- a/math/auto-libm-test-out-sin +++ b/math/auto-libm-test-out-sin @@ -23,31 +23,31 @@ sin 0 = sin tonearest ibm128 0x0p+0 : 0x0p+0 : inexact-ok = sin towardzero ibm128 0x0p+0 : 0x0p+0 : inexact-ok = sin upward ibm128 0x0p+0 : 0x0p+0 : inexact-ok -sin -0 -= sin downward binary32 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest binary32 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero binary32 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward binary32 -0x0p+0 : -0x0p+0 : inexact-ok -= sin downward binary64 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest binary64 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero binary64 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward binary64 -0x0p+0 : -0x0p+0 : inexact-ok -= sin downward intel96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest intel96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero intel96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward intel96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin downward m68k96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest m68k96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero m68k96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward m68k96 -0x0p+0 : -0x0p+0 : inexact-ok -= sin downward binary128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest binary128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero binary128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward binary128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin downward ibm128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin tonearest ibm128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin towardzero ibm128 -0x0p+0 : -0x0p+0 : inexact-ok -= sin upward ibm128 -0x0p+0 : -0x0p+0 : inexact-ok +sin -0 no-mathvec += sin downward binary32 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest binary32 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero binary32 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward binary32 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin downward binary64 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest binary64 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero binary64 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward binary64 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin downward intel96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest intel96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero intel96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward intel96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin downward m68k96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest m68k96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero m68k96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward m68k96 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin downward binary128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest binary128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero binary128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward binary128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin downward ibm128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin tonearest ibm128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin towardzero ibm128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok += sin upward ibm128 -0x0p+0 : -0x0p+0 : no-mathvec inexact-ok sin pi/6 = sin downward binary32 0x8.60a92p-4 : 0x8p-4 : inexact-ok = sin tonearest binary32 0x8.60a92p-4 : 0x8p-4 : inexact-ok diff --git a/math/gen-auto-libm-tests.c b/math/gen-auto-libm-tests.c index 12aba4c8ee62388d4df33becdacac548dbcee19c..f0ee6edba9fe0877b027cb43b61754b9dcb2b9f9 100644 --- a/math/gen-auto-libm-tests.c +++ b/math/gen-auto-libm-tests.c @@ -96,7 +96,8 @@ zero and infinite results should be ignored; "xfail" indicates the test is disabled as expected to produce incorrect results, "xfail-rounding" indicates the test is disabled only in rounding - modes other than round-to-nearest. Otherwise, test flags are of + modes other than round-to-nearest; "no-mathvec" indicates the test + is disabled in vector math libraries. Otherwise, test flags are of the form "spurious-" and "missing-", for any exception ("overflow", "underflow", "inexact", "invalid", "divbyzero"), "spurious-errno" and "missing-errno", to indicate @@ -352,6 +353,7 @@ typedef enum flag_missing_overflow, flag_missing_underflow, flag_missing_errno, + flag_no_mathvec, num_input_flag_types, flag_first_flag = 0, flag_spurious_first = flag_spurious_divbyzero, @@ -377,6 +379,7 @@ static const char *const input_flags[num_input_flag_types] = "missing-overflow", "missing-underflow", "missing-errno", + "no-mathvec", }; /* An input flag, possibly conditional. */ @@ -2049,6 +2052,7 @@ output_for_one_input_case (FILE *fp, const char *filename, test_function *tf, { case flag_ignore_zero_inf_sign: case flag_xfail: + case flag_no_mathvec: if (fprintf (fp, " %s%s", input_flags[it->flags[i].type], (it->flags[i].cond diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py index 6ae78beb01ce27a4f03f2e4b5ab75083c1914a81..a573c3b8cbc85bdb70eb03ebc320948be6e4f674 100755 --- a/math/gen-libm-test.py +++ b/math/gen-libm-test.py @@ -93,7 +93,8 @@ BEAUTIFY_MAP = {'minus_zero': '-0', # Flags in auto-libm-test-out that map directly to C flags. FLAGS_SIMPLE = {'ignore-zero-inf-sign': 'IGNORE_ZERO_INF_SIGN', - 'xfail': 'XFAIL_TEST'} + 'xfail': 'XFAIL_TEST', + 'no-mathvec': 'NO_TEST_MATHVEC'} # Exceptions in auto-libm-test-out, and their corresponding C flags # for being required, OK or required to be absent.