[15/35] arm: Explicitly specify other float types for _Generic overloading [PR107515]
Message ID | 20221117163809.1009526-16-andrea.corallo@arm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp515532wrr; Thu, 17 Nov 2022 09:08:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7z3GzPWPVdfxaaFXpZQ4zZU9Fe2OCiVcUjmBZghunNAkz2B+t70RMZXhurUO4b1gPA1Nzs X-Received: by 2002:a17:906:3bce:b0:7aa:6998:ad72 with SMTP id v14-20020a1709063bce00b007aa6998ad72mr2951467ejf.763.1668704902696; Thu, 17 Nov 2022 09:08:22 -0800 (PST) Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id q29-20020a056402249d00b00468cd2ab843si1182743eda.491.2022.11.17.09.08.22 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Nov 2022 09:08:22 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=jtn6CK8C; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D639538432F3 for <ouuuleilei@gmail.com>; Thu, 17 Nov 2022 16:53:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D639538432F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668704016; bh=4mgFYs0xN/X9OmakftcEg1PoKXoGDKm9Aui8AsgzWvw=; h=To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=jtn6CK8C8qHVuNFJgPuG5e0YXErO1Y8p44WkFDW4fwiD5ITQ6Y+71Gk1rjzt7BsAH BpfT+iUTG2CJx8BKIptadjV8Fi9rqmdZn0mWDrA92jYAhgpoi6Zf1hFvmIKpr55Uml rjpf/dVs5jee/oNa20gFr2J8rfXbqgfBdsU5QxCk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2078.outbound.protection.outlook.com [40.107.105.78]) by sourceware.org (Postfix) with ESMTPS id BEFDB3949C74 for <gcc-patches@gcc.gnu.org>; Thu, 17 Nov 2022 16:49:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEFDB3949C74 Received: from AS9PR07CA0011.eurprd07.prod.outlook.com (2603:10a6:20b:46c::18) by PA4PR08MB6126.eurprd08.prod.outlook.com (2603:10a6:102:ea::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.7; Thu, 17 Nov 2022 16:49:10 +0000 Received: from VI1EUR03FT021.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:46c:cafe::42) by AS9PR07CA0011.outlook.office365.com (2603:10a6:20b:46c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.9 via Frontend Transport; Thu, 17 Nov 2022 16:49:10 +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 VI1EUR03FT021.mail.protection.outlook.com (100.127.144.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8 via Frontend Transport; Thu, 17 Nov 2022 16:49:09 +0000 Received: ("Tessian outbound 58faf9791229:v130"); Thu, 17 Nov 2022 16:49:09 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b6deec3ba1b7f24f X-CR-MTA-TID: 64aa7808 Received: from f5b9aa58a902.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id AFAF91E6-CF4C-4DFC-9137-567F5557BFD6.1; Thu, 17 Nov 2022 16:38:28 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f5b9aa58a902.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Nov 2022 16:38:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=njIl61z3dyTqNd3bMVUzaqgCRJHlSG8ZKENSda+rFp+IS0SKFJ8bExplRgMHwAQXuGKFLELJNj6mrAZ9lA23iekhAOFGbBju3y9kVJZ3blPu1SWUp3wuDw9DIdHiIY20PRGKWXbq5tV6gn1L1DXqrOi9M4V9DgT1ge/cUGlt8yygzMQRkW98DFfEpJ3WtWM15AGEmVnmyoYjbUmNk5aqpN2kfihZXRsr02aiD4LnNLF6G1Pz4FsF50+akT3wusdp6bWq+n+LlGMFBBP6N/6AWuFUtdHlu4hOhbRPP+ivPQvIe2qOs3UutKt1h+VbMCe30iCc33cvToEq0m0Wni0Lrg== 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=4mgFYs0xN/X9OmakftcEg1PoKXoGDKm9Aui8AsgzWvw=; b=jwLyDAiT3kccuwow0nm5I4t9B9Ilr3Bti8PJtkyItPm8xE3DtAdaNueWJ3BUZLZxDUJgrvah3GYYiftXn/k8iYPnuducpreyx+rDsvI/yV3mB+4uUjc2zyEB039aLvHKzXWAaSJSJH5Wnn8XUxLceDzMQ9pkc2O4JnBFdFlY28C3FRI45nZJZAL00hwdvc2TJBV/ymPqk6Vo0BgAtNDIn2fIH/2ZZfCJzvWgWr2Z0hVM0D2Z8eqTicTEAN1WrbArsOaYAppXqMQMSzvTuGP2TgQmjpc8L+tTTB9ecJrrt3wiycj4q/HDoLz4VjyeaUWISJW2xLja7nRjiaF/Uale7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from DBBPR09CA0043.eurprd09.prod.outlook.com (2603:10a6:10:d4::31) by PAVPR08MB8992.eurprd08.prod.outlook.com (2603:10a6:102:325::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.7; Thu, 17 Nov 2022 16:38:25 +0000 Received: from DBAEUR03FT032.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:d4:cafe::21) by DBBPR09CA0043.outlook.office365.com (2603:10a6:10:d4::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.18 via Frontend Transport; Thu, 17 Nov 2022 16:38:25 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT032.mail.protection.outlook.com (100.127.142.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5834.8 via Frontend Transport; Thu, 17 Nov 2022 16:38:25 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 17 Nov 2022 16:38:22 +0000 Received: from e124257.nice.arm.com (10.34.105.24) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.16 via Frontend Transport; Thu, 17 Nov 2022 16:38:22 +0000 To: <gcc-patches@gcc.gnu.org> CC: <kyrylo.tkachov@arm.com>, <Richard.Earnshaw@arm.com>, "Stam Markianos-Wright" <stam.markianos-wright@arm.com> Subject: [PATCH 15/35] arm: Explicitly specify other float types for _Generic overloading [PR107515] Date: Thu, 17 Nov 2022 17:37:49 +0100 Message-ID: <20221117163809.1009526-16-andrea.corallo@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221117163809.1009526-1-andrea.corallo@arm.com> References: <20221117163809.1009526-1-andrea.corallo@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT032:EE_|PAVPR08MB8992:EE_|VI1EUR03FT021:EE_|PA4PR08MB6126:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d9d493a-1253-47d6-99b0-08dac8bba64d 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: K0JeIVBFYxHE1MqnaKmUUK/vAIVwei7OW0azoWI7yh6eC25NiUjO0YfybIVrkNy19XVZllG9LSJoXn4AJ091eDXhHy0ouYPXjH3rEpbDdnPiYd+NN7KREso2dAvevws66h+LoYWICZWuuqK6n5DNSHxnKeIrM4MVj7fMz/NL4XgRF6q1KetiRcWzFOBFhdlJHC0EnvjiimQB/eCSkefma90ff7iibqfOSSnFy+k8NkiVRM5FmuYIbrHbEwck/MM1o33NUQOM/vYfI2DS1MkwWRPTw+VGXEKFp/IQaeQqOqGTO9gxV/LzwRTJMDdKahniLKe6PBs/7OSY2ryZqykbABHQEHj0or0rJ0lzqtx69DYfKnFhR6Bx84xvMd2ZlJkuyp98dd6ie6nKiIAM/fGTmUnegn3WHtjHyeFVuWm4DFtE1xZ3/JyvCSiHkpGk8V5FgXOueJir8dGybdjll/XAEcv24JWEOdrG0eKcqLFcarpb/q36TpQmb2tIRQ4/20rVQgqly4ScpK4J8uWysEdQw5Hx6mist0FwtEiqshXRRyMEAYbBzxe/6gJzPVGOPTAmyqx4IiO+UUVcsJ/Me7GGWBItI1t6GpA1gOrOlOa4D2+uLSVEkI6ZacaCUjs1Zj0+yzlsrMxuX6EY1IFXbjGvXGN7hjYoGBbyofxrWlB15+0NeWSgz5MR3M8FCQN6YaD2qafBxhlHKyC3El1xAmYLeWzCowGt4VxR4mey0oLGrXEFGZaiMR8aEqchyFge5sJL+zvyD3dopbbq9uBQn7XOagHuB8F2DNzamYzEuiyQGrk= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(396003)(39860400002)(136003)(376002)(346002)(451199015)(46966006)(36840700001)(40470700004)(40460700003)(54906003)(5660300002)(316002)(70586007)(336012)(47076005)(4326008)(8676002)(2616005)(186003)(41300700001)(6916009)(70206006)(82310400005)(1076003)(36756003)(81166007)(82740400003)(426003)(356005)(8936002)(44832011)(36860700001)(86362001)(4744005)(40480700001)(2906002)(478600001)(966005)(26005)(7696005)(6666004)(41533002)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB8992 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VI1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 75bf9649-3930-48c5-8371-08dac8ba2600 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yBFEdJVZajtLHLjwVuMOXgJQNvkfCyIDf8mGyVlDd02/t1CW+B0i9cbf24Q8SciwinchEuGLugkbMXPqrL2KJWttQvK+BiJAseopL7asZFUgJXONax7LJAzRF8r/IUGdIrjK//hqeDUGqccscV80odIMLZTSzimM2WcFdADQCz0xkvYTVP7C7GxLtG/WjZbAv8fwR6GaylWumM2CZwWDHoQLWLyylIjUCG2R4W2HzNxAyyQdAryd9lUVcaGObJ/1rWXm/gSXMd78vzjX3IK6I7bapo+2h0qU9j8FFHdWKGgLaTlUBgt+4bpz6M+BJ+69FSJm8SazfL/kapD13a61L0ygC/6CWZVA5lcOkvg7+bYVDca4sg31AAiaHwCfGQK8GWZKIciWhCjyh2rqL4WRVhPivA9WAIzlBULXCo+jmmkyQjs6iJSWUFGVZ5BpHq+KVz4nI6+NyUAXOC8ZMPrRYXg1Ss3KPv7Wi+Qpyc/FTIYgRLu3lI1cyZiI9E5iss5kooTM+JERxiAPP2gXBtm4Grs9ZYx2YUd4/G6bD9AcbEbiJYGdz9NbeC/Wu4N4nPSiCKrHGr5GATXH0VlrcnID/zrisW7erS2/66iTKLx8lV1emcI/Lk8odpPhf14Di2g5hJVeYn8qrXxn6HA8L5xpA4cTivkED+zf9gJTZ4Aw28durANCySHJwxq8zFGK9vk5Lrz4MPsoIb+umInGNJIormLMApqUIHWfBfhMHLIj/mqXOrms4Wf+7O5pfi+bqm8LJlpaExdQLnFUK+W3FQXCXA== 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:(13230022)(4636009)(136003)(376002)(396003)(39860400002)(346002)(451199015)(36840700001)(46966006)(40470700004)(36756003)(82740400003)(86362001)(4744005)(2906002)(4326008)(8936002)(36860700001)(81166007)(316002)(426003)(6916009)(40480700001)(336012)(70586007)(186003)(478600001)(47076005)(1076003)(966005)(54906003)(40460700003)(82310400005)(8676002)(41300700001)(2616005)(44832011)(5660300002)(70206006)(6666004)(7696005)(26005)(41533002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2022 16:49:09.9795 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d9d493a-1253-47d6-99b0-08dac8bba64d 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: VI1EUR03FT021.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6126 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_SHORT, 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Andrea Corallo via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Andrea Corallo <andrea.corallo@arm.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749763912393473780?= X-GMAIL-MSGID: =?utf-8?q?1749763912393473780?= |
Series |
arm: rework MVE testsuite and rework backend where necessary (1st chunk)
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Andrea Corallo
Nov. 17, 2022, 4:37 p.m. UTC
From: Stam Markianos-Wright <stam.markianos-wright@arm.com>
This patch adds explicit references to other float types
to __ARM_mve_typeid in arm_mve.h. Resolves PR 107515:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515
gcc/ChangeLog:
PR 107515
* config/arm/arm_mve.h (__ARM_mve_typeid): Add float types.
---
gcc/config/arm/arm_mve.h | 3 +++
1 file changed, 3 insertions(+)
Comments
> -----Original Message----- > From: Andrea Corallo <andrea.corallo@arm.com> > Sent: Thursday, November 17, 2022 4:38 PM > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>; Richard Earnshaw > <Richard.Earnshaw@arm.com>; Stam Markianos-Wright <Stam.Markianos- > Wright@arm.com> > Subject: [PATCH 15/35] arm: Explicitly specify other float types for _Generic > overloading [PR107515] > > From: Stam Markianos-Wright <stam.markianos-wright@arm.com> > > This patch adds explicit references to other float types > to __ARM_mve_typeid in arm_mve.h. Resolves PR 107515: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 > > gcc/ChangeLog: > PR 107515 > * config/arm/arm_mve.h (__ARM_mve_typeid): Add float types. Argh, I'm looking forward to when we move away from this _Generic business, but for now ok. The ChangeLog should say "PR target/107515" for the git hook to recognize it IIRC. Thanks, Kyrill > --- > gcc/config/arm/arm_mve.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h > index fd1876b57a0..f6b42dc3fab 100644 > --- a/gcc/config/arm/arm_mve.h > +++ b/gcc/config/arm/arm_mve.h > @@ -35582,6 +35582,9 @@ enum { > short: __ARM_mve_type_int_n, \ > int: __ARM_mve_type_int_n, \ > long: __ARM_mve_type_int_n, \ > + _Float16: __ARM_mve_type_fp_n, \ > + __fp16: __ARM_mve_type_fp_n, \ > + float: __ARM_mve_type_fp_n, \ > double: __ARM_mve_type_fp_n, \ > long long: __ARM_mve_type_int_n, \ > unsigned char: __ARM_mve_type_int_n, \ > -- > 2.25.1
On Fri, Nov 18, 2022 at 4:59 PM Kyrylo Tkachov via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > > > > -----Original Message----- > > From: Andrea Corallo <andrea.corallo@arm.com> > > Sent: Thursday, November 17, 2022 4:38 PM > > To: gcc-patches@gcc.gnu.org > > Cc: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>; Richard Earnshaw > > <Richard.Earnshaw@arm.com>; Stam Markianos-Wright <Stam.Markianos- > > Wright@arm.com> > > Subject: [PATCH 15/35] arm: Explicitly specify other float types for _Generic > > overloading [PR107515] > > > > From: Stam Markianos-Wright <stam.markianos-wright@arm.com> > > > > This patch adds explicit references to other float types > > to __ARM_mve_typeid in arm_mve.h. Resolves PR 107515: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 > > > > gcc/ChangeLog: > > PR 107515 > > * config/arm/arm_mve.h (__ARM_mve_typeid): Add float types. > > Argh, I'm looking forward to when we move away from this _Generic business, but for now ok. > The ChangeLog should say "PR target/107515" for the git hook to recognize it IIRC. and the PR is against 11.x - is there a plan to back port this and dependent patches to relevant branches ? Ramana > Thanks, > Kyrill > > > --- > > gcc/config/arm/arm_mve.h | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h > > index fd1876b57a0..f6b42dc3fab 100644 > > --- a/gcc/config/arm/arm_mve.h > > +++ b/gcc/config/arm/arm_mve.h > > @@ -35582,6 +35582,9 @@ enum { > > short: __ARM_mve_type_int_n, \ > > int: __ARM_mve_type_int_n, \ > > long: __ARM_mve_type_int_n, \ > > + _Float16: __ARM_mve_type_fp_n, \ > > + __fp16: __ARM_mve_type_fp_n, \ > > + float: __ARM_mve_type_fp_n, \ > > double: __ARM_mve_type_fp_n, \ > > long long: __ARM_mve_type_int_n, \ > > unsigned char: __ARM_mve_type_int_n, \ > > -- > > 2.25.1 >
On 11/18/22 16:58, Kyrylo Tkachov wrote: > >> -----Original Message----- >> From: Andrea Corallo <andrea.corallo@arm.com> >> Sent: Thursday, November 17, 2022 4:38 PM >> To: gcc-patches@gcc.gnu.org >> Cc: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>; Richard Earnshaw >> <Richard.Earnshaw@arm.com>; Stam Markianos-Wright <Stam.Markianos- >> Wright@arm.com> >> Subject: [PATCH 15/35] arm: Explicitly specify other float types for _Generic >> overloading [PR107515] >> >> From: Stam Markianos-Wright <stam.markianos-wright@arm.com> >> >> This patch adds explicit references to other float types >> to __ARM_mve_typeid in arm_mve.h. Resolves PR 107515: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 >> >> gcc/ChangeLog: >> PR 107515 >> * config/arm/arm_mve.h (__ARM_mve_typeid): Add float types. > Argh, I'm looking forward to when we move away from this _Generic business, but for now ok. Oh we all are ;) > The ChangeLog should say "PR target/107515" for the git hook to recognize it IIRC. Agh, thanks for spotting this! Will change and push it with the rest of the patch series when ready/ Thank you, Stam > Thanks, > Kyrill > >> --- >> gcc/config/arm/arm_mve.h | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h >> index fd1876b57a0..f6b42dc3fab 100644 >> --- a/gcc/config/arm/arm_mve.h >> +++ b/gcc/config/arm/arm_mve.h >> @@ -35582,6 +35582,9 @@ enum { >> short: __ARM_mve_type_int_n, \ >> int: __ARM_mve_type_int_n, \ >> long: __ARM_mve_type_int_n, \ >> + _Float16: __ARM_mve_type_fp_n, \ >> + __fp16: __ARM_mve_type_fp_n, \ >> + float: __ARM_mve_type_fp_n, \ >> double: __ARM_mve_type_fp_n, \ >> long long: __ARM_mve_type_int_n, \ >> unsigned char: __ARM_mve_type_int_n, \ >> -- >> 2.25.1
On 11/20/22 22:49, Ramana Radhakrishnan wrote: > On Fri, Nov 18, 2022 at 4:59 PM Kyrylo Tkachov via Gcc-patches > <gcc-patches@gcc.gnu.org> wrote: >> >> >>> -----Original Message----- >>> From: Andrea Corallo <andrea.corallo@arm.com> >>> Sent: Thursday, November 17, 2022 4:38 PM >>> To: gcc-patches@gcc.gnu.org >>> Cc: Kyrylo Tkachov <Kyrylo.Tkachov@arm.com>; Richard Earnshaw >>> <Richard.Earnshaw@arm.com>; Stam Markianos-Wright <Stam.Markianos- >>> Wright@arm.com> >>> Subject: [PATCH 15/35] arm: Explicitly specify other float types for _Generic >>> overloading [PR107515] >>> >>> From: Stam Markianos-Wright <stam.markianos-wright@arm.com> >>> >>> This patch adds explicit references to other float types >>> to __ARM_mve_typeid in arm_mve.h. Resolves PR 107515: >>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107515 >>> >>> gcc/ChangeLog: >>> PR 107515 >>> * config/arm/arm_mve.h (__ARM_mve_typeid): Add float types. >> Argh, I'm looking forward to when we move away from this _Generic business, but for now ok. >> The ChangeLog should say "PR target/107515" for the git hook to recognize it IIRC. > and the PR is against 11.x - is there a plan to back port this and > dependent patches to relevant branches ? Hi Ramana! Assuming maintainer approval, we do hope to backport. And yes, it would have to be the whole patch series, so that we carry over all the improved testing, as well (and we'll have to run it ofc). Does that sound Ok? Thank you, Stam > > Ramana > >> Thanks, >> Kyrill >> >>> --- >>> gcc/config/arm/arm_mve.h | 3 +++ >>> 1 file changed, 3 insertions(+) >>> >>> diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h >>> index fd1876b57a0..f6b42dc3fab 100644 >>> --- a/gcc/config/arm/arm_mve.h >>> +++ b/gcc/config/arm/arm_mve.h >>> @@ -35582,6 +35582,9 @@ enum { >>> short: __ARM_mve_type_int_n, \ >>> int: __ARM_mve_type_int_n, \ >>> long: __ARM_mve_type_int_n, \ >>> + _Float16: __ARM_mve_type_fp_n, \ >>> + __fp16: __ARM_mve_type_fp_n, \ >>> + float: __ARM_mve_type_fp_n, \ >>> double: __ARM_mve_type_fp_n, \ >>> long long: __ARM_mve_type_int_n, \ >>> unsigned char: __ARM_mve_type_int_n, \ >>> -- >>> 2.25.1
diff --git a/gcc/config/arm/arm_mve.h b/gcc/config/arm/arm_mve.h index fd1876b57a0..f6b42dc3fab 100644 --- a/gcc/config/arm/arm_mve.h +++ b/gcc/config/arm/arm_mve.h @@ -35582,6 +35582,9 @@ enum { short: __ARM_mve_type_int_n, \ int: __ARM_mve_type_int_n, \ long: __ARM_mve_type_int_n, \ + _Float16: __ARM_mve_type_fp_n, \ + __fp16: __ARM_mve_type_fp_n, \ + float: __ARM_mve_type_fp_n, \ double: __ARM_mve_type_fp_n, \ long long: __ARM_mve_type_int_n, \ unsigned char: __ARM_mve_type_int_n, \