From patchwork Fri Nov 11 15:37:27 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 81864 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1330108qge; Fri, 11 Nov 2016 07:41:41 -0800 (PST) X-Received: by 10.107.20.133 with SMTP id 127mr186990iou.187.1478878901455; Fri, 11 Nov 2016 07:41:41 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id n2si8969155pap.344.2016.11.11.07.41.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Nov 2016 07:41:41 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-441130-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-441130-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-441130-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=U4mA/1S4DILfkJ7Y jDAlLh0fxCfIQVfGb55qBHMG287GY2UPg0rJlFpTFtOXHSuLoNeNgmAxeaWXFwO4 clMh+8FN/Fzwn42mhSFMqkuf7svszX8+7KMXV66N5KicLr+G//a17igeWSxlwiSW VVkuKVwzKsoIoa4aKq6vGO0t5WM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=Ul3k9yE8XEKzyYy1AkGmDr +bAvc=; b=Ie+6zq4E7EyJ8UFfjHRcv3uAX/B/VMRzUU2TImrnadl20LDeS4amGz vdX/bsKEZe2m/Ws2sjfxkjDnAVAfo5kIjQe4rin8eJuNCfCBVKowhxY/u/lgYTOv dR0Of3byXCCr86K6MEtGArErsCmNO6KPgOUPr7nSjb7t4aVP1aobg= Received: (qmail 83757 invoked by alias); 11 Nov 2016 15:39:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 83702 invoked by uid 89); 11 Nov 2016 15:39:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=presently X-HELO: EUR01-DB5-obe.outbound.protection.outlook.com Received: from mail-db5eur01on0088.outbound.protection.outlook.com (HELO EUR01-DB5-obe.outbound.protection.outlook.com) (104.47.2.88) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 11 Nov 2016 15:39:06 +0000 Received: from DB4PR08CA0012.eurprd08.prod.outlook.com (10.161.12.22) by HE1PR0801MB1786.eurprd08.prod.outlook.com (10.168.150.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Fri, 11 Nov 2016 15:39:02 +0000 Received: from AM1FFO11FD014.protection.gbl (2a01:111:f400:7e00::180) by DB4PR08CA0012.outlook.office365.com (2a01:111:e400:9853::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10 via Frontend Transport; Fri, 11 Nov 2016 15:39:01 +0000 Authentication-Results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; codesourcery.com; dkim=none (message not signed) header.d=none; codesourcery.com; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 217.140.96.140 as permitted sender) receiver=protection.outlook.com; client-ip=217.140.96.140; helo=nebula.arm.com; Received: from nebula.arm.com (217.140.96.140) by AM1FFO11FD014.mail.protection.outlook.com (10.174.64.92) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.707.3 via Frontend Transport; Fri, 11 Nov 2016 15:39:01 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:; UpperCasedChecksum:; SizeAsReceived:918; Count:13 Received: from e107456-lin.cambridge.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.294.0; Fri, 11 Nov 2016 15:38:37 +0000 From: James Greenhalgh To: CC: , , Subject: [Patch testsuite patch 10/17] Add options for floatN when checking effective target for support Date: Fri, 11 Nov 2016 15:37:27 +0000 Message-ID: <1478878647-22547-11-git-send-email-james.greenhalgh@arm.com> In-Reply-To: <1478878647-22547-1-git-send-email-james.greenhalgh@arm.com> References: <1475254617-10825-1-git-send-email-james.greenhalgh@arm.com> <1478878647-22547-1-git-send-email-james.greenhalgh@arm.com> MIME-Version: 1.0 X-IncomingHeaderCount: 13 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:CAL; SCL:-1; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(438002)(377424004)(189002)(199003)(104016004)(86362001)(2906002)(2476003)(4326007)(33646002)(26826002)(2351001)(106466001)(7846002)(626004)(586003)(50986999)(76176999)(5890100001)(77096005)(6916009)(8676002)(5660300001)(189998001)(246002)(2950100002)(6666003)(568964002)(305945005)(4610100001)(50226002)(87936001)(92566002)(36756003)(84326002)(8936002)(110136003)(512874002)(356003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0801MB1786; H:nebula.arm.com; FPR:; SPF:Pass; PTR:fw-tnat.cambridge.arm.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM1FFO11FD014; 1:RRFJ8DM4O9JnfIXAILxWtkH6kVaXXUhycTeD4TWpdQvblIYim2b+2nJTK7o0qrQSioDSMytQDQ/IejOt1PyKOT9u2FRPrD5rR7TwScy3hz7bHE/zSQx8waflPjR5m7BvPt62V+5nSl7PyCTJH1DDVFtbfyW1pvwCij6UpdVphNc27H6FCsEyeXyAt4GRsf9B0k5pGX2VMTRGYUB0XbVwrnk8ZZ3zAbDLktSqvzSqGLZxtWyme7unyD7R4n0di4o1bEUyLGRrL+fh4wRxYMtNavroXSgw/CskqhUFFgl5w7dTeKE1Iy3UFK5nzNgoHXkl0lGdbHKYLe8EZD4F1sq1Ap46xiurzgKdSdIEqMAt1lKOguDEKtnXV581AVyK+5EjNxsXq1h7j2t+Ah/dwtSKt6q+dZ1f3x0v5ZsDQkrX7dOfZ0OiaObQO5fzzKE+mf5wI14xopm9zBRbVJbd2bOh6wk418I/iQH20VZ6OMlYq6qKx5r1omxA5v/5ijscvZ4yGWZPG8xmTvFf1V0/Dip8N9gDf6ZqpR0B7JM1meWVVW/pXOn2t30zkqTPpNTKog+VQO55hbWrM4yTS3w6OUDgdB+FBaw6sZ0mpY3Wh+su4jA= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1786; 2:LBC6TUhI4Do/yd94RyAEGv8IJxVMlUnvwHUDZAiE8k4kQLuxRCZuCx7edb3diG4yH7fDPqNRwXiPyesgY3CiDBDwdcgB1aO6ZTLCZkHj8axDM1pUxip82qwuterrnITQ1Du3CMcdXa1OeVyjCbBa1HGl6fhlpw3klugo6YE7cKY=; 3:kiBDpNHbMWeKESoxXWJHfJPlDjixagxlXAOuoAIqgb/rXTNisI/B3/coAtM72J8EkvvtKdp00l893TX5b5YSs6M9CAy9ajQkHRZHmMwowUtJvrm7X9CnX4xmhmRhgnx0NnwC1gRodtAqgPFl58ttzcItLHFqGZe85MkwQ2uMLkxisyMZlqYR/TQlbfQ90Lbw2ktwoGm2f1FJ+47D4uWyE6pwoKvIm3xZqCARy/XIpnmeDMNlmDI54r2iaRMuxCnNiBtfbeLhh24awJKvVyZg8u2kBqnrU2M+Bf8rDLw9XUQ= X-MS-Office365-Filtering-Correlation-Id: 1cae7997-f3e0-4c40-1a4c-08d40a48dc19 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:HE1PR0801MB1786; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1786; 25:FTgVkEdrZxU2agCUZXNH62pbQ1aLMiptaEmnF/JgqbH6wRfVLNQyhIHkLjQaX/oK17bXr4rFk1XmkLQXZqgDke+gLS/dZkc+MVR8fQ0lBASajO40ANarj1eCEunP/SW9VQynZkYBMmfO821OgMvCOXOvZlb9yDcUZjb580Mtlavh97bv0YlpEBa+K0xZmEuOK8aWDzkXQc8CHmtwhCzJ0Y9QeFTyc2TTuy+gZexStm4L3jui1L9MIah6yDM1/Gc+NJ7lmRJoGWn2wSGAgSsiAU8z9QOD8O3mYjJfoBCDyNIXNed5MHRS7oDuNJxmUnx62V7lZw9ti0ZjApU/dHFzqsTYXdVZpJF/x2GkiVkI/ZSzC3ZYObhPhk1VrEvapE6pZ/F38GjfWPLyfgfoS+rAE8Tj1lN0H8A91T0ny8EjOdvedMQv/PmzhjCUHJ3XxiStz0k9GxEihuJBjNJG+dnSNpkAIX8zNvJWZ6gI+OT1IWcT0iSD9dCFK1tJaWs1AL3P; 31:mfYDg4dd0g9C+ZUZhaVJeVGkUmUyRycy6qG2zDZ9dlQZGAtbY6TiUgZxAUQAjLmv7qzPkRAxhTWuHySE+8rT0deyI0U6vCCUSt6YiaCDNgWi+u1eWeRf5tnizm2ZWFABufCTjqKV2rtT5TgVYPfLdgJoPDgq0DGKB4ODwrL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: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(22074186197030)(183786458502308); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415395)(6040176)(601004)(2401047)(8121501046)(5005006)(13023025)(13024025)(13013025)(13020025)(10201501046)(3002001)(6055026); SRVR:HE1PR0801MB1786; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0801MB1786; X-Forefront-PRVS: 012349AD1C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1786; 23:wvlvN3HYTK/G3/Iq0llqV5Qye2I4+KhXGGR9h3s?= =?us-ascii?Q?rvENqPuJcSiZFbeVvWPyWdimhzoPWCxoRBjqVc3Qkz3TK8pF6Vb50oMpEns1?= =?us-ascii?Q?JR5SjdW8fdZVnehlLWib0X/qu1Uc0QYR8iiCwJbwgJFuTEZauq5emg3cGDS9?= =?us-ascii?Q?kF3wwFUNgMNEOON0jUlIDUXJV+9o9X3yAARM1bjEEa3BWBg3nxnZ3YEK/qsF?= =?us-ascii?Q?8HU1MKl7RHOZyDp+pDaG4tiqtqCbrF5pM5GujUNUG/9G6odB1IyMGuDMmRzJ?= =?us-ascii?Q?FljtBfo3QcgO9O4/o/jNDONnfcLT32vWth0INaYeVjZl5JiH2nwz9pXT67e7?= =?us-ascii?Q?ibie00bJcYh/egL0RBg+W2lcYNgJMkIeSt4PNnxt8DYAz5pwJDYlaLXI2LkD?= =?us-ascii?Q?3JzUNzOvZwmubQW5zZZR1P9I2k6nn6oeRYNID074XRR6K8jEoCmm2XnIQxVW?= =?us-ascii?Q?ouTA076bBicyE8LMsjT1DQkw2Xj6pnTOKwx/Yb5KaD7p01NrHrgLfsGKB89x?= =?us-ascii?Q?bDdHF8ine1WdCjI0NTWaZxf5kuvby0h31q2zsgtTneLiqe/6XUGh0y/Ndg2S?= =?us-ascii?Q?JpCE2V0He7cEHCbDAGHCAUzR/3ND60o59Ft2bYtDSC5b2yFUPXVTIsfVFTmJ?= =?us-ascii?Q?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SwvgmA/NyU1L5Ecebyx4yKdWTpzq2bb2aa8DL1Oos=; 24:Iik+J4cB0PXkcxkRWo7XebO1wI9aPRRLEPmAZUtOQWBRgd+yLRQwYfblkgXZqg8y6NeJ3IRk2SICqbDRCW8seJDiut2+qMVsxjrVkjGRLiY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1786; 7:HzKlkSOqgpXwc6S7snQjiED5BQjB6p0/fw/BtmMSOum4x2JgsUlJ9ca46df4EYez+QUhIUqpylxZt0NERlof66bi4puAnZpPQxEfrY1NgOeNdjuPr58C1e268e0Il4vuk2KLc71D20a4rQPP9uWv/q2Ou3hbVlrt56GN3AISA0Xb3sD0LBsTDVgVYrdw54AiWDtUOzEbu648eEt6GH8T+Jz2CIccOE3nu5FIzFjdVU0VCSv4hYmnFT84ykKEmxwVdRUs48e7+oNLafd08v37CaiPOtFusBtrNDjOCwc6Zsca8DZRpsphcTra01lEbDSp40IoxszZvLtUolajdxpEVSbNgc4DSjms3PaXrgbT4Ow= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2016 15:39:01.0142 (UTC) X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1786 X-IsSubscribed: yes Hi, As Joseph and I discussed in https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00239.html the check_effective_target_float tests should add any options which the target requires to enable those float types (add_options_for_float. This patch ensures those options get added, which presently only changes the testsuite behaviour for the (out-of-tree but submitted for review) ARM support for _Float16. Tested on arm-none-linux-gnueabihf with those patches applied, to show that the _Float16 tests now run. OK? Thanks, James --- gcc/testsuite/ 2016-11-07 James Greenhalgh * lib/target-supports.exp (check_effective_target_float16): Add options for _Float16. (check_effective_target_float32): Add options for _Float32. (check_effective_target_float64): Add options for _Float64. (check_effective_target_float128): Add options for _Float128. (check_effective_target_float32x): Add options for _Float32x. (check_effective_target_float64x): Add options for _Float64x. (check_effective_target_float128x): Add options for _Float128x. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index b683c09..b917250 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -2483,43 +2483,43 @@ proc check_effective_target_has_q_floating_suffix { } { proc check_effective_target_float16 {} { return [check_no_compiler_messages_nocache float16 object { _Float16 x; - }] + } [add_options_for_float16 ""]] } proc check_effective_target_float32 {} { return [check_no_compiler_messages_nocache float32 object { _Float32 x; - }] + } [add_options_for_float32 ""]] } proc check_effective_target_float64 {} { return [check_no_compiler_messages_nocache float64 object { _Float64 x; - }] + } [add_options_for_float64 ""]] } proc check_effective_target_float128 {} { return [check_no_compiler_messages_nocache float128 object { _Float128 x; - }] + } [add_options_for_float128 ""]] } proc check_effective_target_float32x {} { return [check_no_compiler_messages_nocache float32x object { _Float32x x; - }] + } [add_options_for_float32x ""]] } proc check_effective_target_float64x {} { return [check_no_compiler_messages_nocache float64x object { _Float64x x; - }] + } [add_options_for_float64x ""]] } proc check_effective_target_float128x {} { return [check_no_compiler_messages_nocache float128x object { _Float128x x; - }] + } [add_options_for_float128x ""]] } # Likewise, but runtime support for any special options used as well