From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2088.outbound.protection.outlook.com [40.107.14.88]) by sourceware.org (Postfix) with ESMTPS id C42083858434 for ; Tue, 2 May 2023 16:17:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C42083858434 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i5FJ7xi1Yuid3QHorzD2VWOnzRkFqNqyvcYeJzUq6kk=; b=BvWwT8xj/KkVUO3/isSt0oeHkr/zGo2JdR6P2Axxuuai8gS6zlEd4rRBEsi85/qD+jDv979YKEUBKFJ35RKceSvDjqiQs0PNqqUlbXAIrMUUKQTbT9hOYmJHzcxxOuQK6Y9oZSn86PnaFv2RCbGjIAAbF2EDljnHr8YpIt0YQII= Received: from DUZPR01CA0326.eurprd01.prod.exchangelabs.com (2603:10a6:10:4ba::25) by AS2PR08MB9872.eurprd08.prod.outlook.com (2603:10a6:20b:593::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 16:17:37 +0000 Received: from DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4ba:cafe::b9) by DUZPR01CA0326.outlook.office365.com (2603:10a6:10:4ba::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 16:17:37 +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 DBAEUR03FT040.mail.protection.outlook.com (100.127.142.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.20 via Frontend Transport; Tue, 2 May 2023 16:17:37 +0000 Received: ("Tessian outbound 3570909035da:v136"); Tue, 02 May 2023 16:17:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9790707906efb5d7 X-CR-MTA-TID: 64aa7808 Received: from bcddf474bd4d.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id B87CDA83-45FE-48BC-AE43-5F99693837D5.1; Tue, 02 May 2023 16:17:26 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bcddf474bd4d.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 02 May 2023 16:17:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aUYzEp9modIBYuP8PY9DY5uH/4IVe9WEWFdgZDB9KJy1Bgn0GJ5POFi6yuNKnBWYOtEQWlsuu3zjeyCgKuC+ObEIR28sUv6J0ZOKcwZ6vL6vRtImrVVgxP471CGsdO/26HIGmrxbhHDwbJVPnO6VS9uFMWJ9VsDrTQ6d/gS1+l5YEwW+CBFnRjrdP1yO+NJXIKa7XTIUT8rIfUwUXpMy0mWy8CTPl02NEYvHT06IKYhokFZ6hoYdtb7B0HvjipDRQdBhr/SEIaFyN0Rb1MVgcMcJ+hqabacabnHq6xVekC9/QaL1Og0V0+d5vpTbabSAkaNlatSV4g0OjPmQpZ7l8w== 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=i5FJ7xi1Yuid3QHorzD2VWOnzRkFqNqyvcYeJzUq6kk=; b=Df+UXdfyh8Z1h+5QPIwgHM4/waWTdd01j7UURIUP0GW50R4J4F9gkOqOsaXWoHZ51U5KRwYi1wARpHwsoCtQVaLVkRYmLhqMzJ9EU6yGex5rNfE8Qcg9diMG/2YuLGhSd5a5parZMG348F+Fw6GXQy2O9XagkarmwD4htTLNcnSeN0qhz+IV1JQcRRJC0UB0TpIGbCxNcG9/Lp+u8UxlKvMVW1dxZXhO+PqR+MVFdTGL9qpQ0+K0xD6QLUcqYdcVALWyIwlSk+Ncuk2io2H/bOFxdgioAZQgTp3tkIXIJydATPuqptITvn1bjm5LvNpnxbyPqLN8KGMCm4/yZhVCCg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=i5FJ7xi1Yuid3QHorzD2VWOnzRkFqNqyvcYeJzUq6kk=; b=BvWwT8xj/KkVUO3/isSt0oeHkr/zGo2JdR6P2Axxuuai8gS6zlEd4rRBEsi85/qD+jDv979YKEUBKFJ35RKceSvDjqiQs0PNqqUlbXAIrMUUKQTbT9hOYmJHzcxxOuQK6Y9oZSn86PnaFv2RCbGjIAAbF2EDljnHr8YpIt0YQII= Received: from PAXPR08MB6926.eurprd08.prod.outlook.com (2603:10a6:102:138::24) by DB9PR08MB6585.eurprd08.prod.outlook.com (2603:10a6:10:250::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 16:17:24 +0000 Received: from PAXPR08MB6926.eurprd08.prod.outlook.com ([fe80::db73:66ba:ae70:1ff1]) by PAXPR08MB6926.eurprd08.prod.outlook.com ([fe80::db73:66ba:ae70:1ff1%3]) with mapi id 15.20.6340.031; Tue, 2 May 2023 16:17:24 +0000 From: Kyrylo Tkachov To: Christophe Lyon , "gcc-patches@gcc.gnu.org" , Richard Earnshaw , Richard Sandiford CC: Christophe Lyon Subject: RE: [PATCH 06/22] arm: [MVE intrinsics] add unspec_based_mve_function_exact_insn Thread-Topic: [PATCH 06/22] arm: [MVE intrinsics] add unspec_based_mve_function_exact_insn Thread-Index: AQHZcfxN0+hewb+CbEy0fpknWiV4Ua9HPyMQ Date: Tue, 2 May 2023 16:17:23 +0000 Message-ID: References: <20230418134608.244751-1-christophe.lyon@arm.com> <20230418134608.244751-7-christophe.lyon@arm.com> In-Reply-To: <20230418134608.244751-7-christophe.lyon@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PAXPR08MB6926:EE_|DB9PR08MB6585:EE_|DBAEUR03FT040:EE_|AS2PR08MB9872:EE_ X-MS-Office365-Filtering-Correlation-Id: adb789bc-51a7-471c-48a3-08db4b28beac 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: QP0LgIhAtckrc65Lh5R74uWtch2niWgskWh2xra0uX8Mi7aXvN0OZrBNj1ekcAM+B/LY2jvPewcgzPT5RJ97S0z5xoWFy40xUcWGgojhhTPfWNXxU73ElqtPYtPb+Qa8M1yXLfxfHVabVWzPJIUXU5NxamZgj05MWzXRfCS539yZGc9zun2PwtZXlv5+DrzcwhJodGQzYTopyRfFVdisCSyEPc11bYNJybiGYLzS0rEMILzIB8eM2dmvz7/s3EzIB02QdYlx+PfLYB0EJM/glmGcQta2Bo4vTKwyKLmwl69r2fyXn45boNhKWO5U3CC0TKFCvCMMytgmtUvYhADmygchELm5jczfETqplaadWOjC2qjMF//qN2jYFbv8Fe1GgxIyss15ZRRm501InIkZFoPkAo1r2hhGwD7TMcmtZF9xymO61QilAFdLjuobRAek+W3wpwwku+Ph7SH08dU2jwYW0amPsSGtYLCzYkWJffAZa3lSM86Wqp0FjmcJtR+xx6MIid3Xl39+yXBQjM9rx4jF8A8GiyFAy9pJKOUagnPdRLhaqaKNQ3rsy0YCpgi1TZP0TBsOK8+AQxsFc7is4HwoXgg/JVkMjRDOT0iEhAPzxBCSBp1F5GyEAeUfh9c/ X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6926.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(396003)(376002)(366004)(39860400002)(136003)(451199021)(122000001)(71200400001)(110136005)(316002)(64756008)(6636002)(4326008)(5660300002)(478600001)(7696005)(86362001)(66446008)(66476007)(66556008)(41300700001)(66946007)(76116006)(38070700005)(186003)(6506007)(55016003)(38100700002)(52536014)(2906002)(8676002)(8936002)(9686003)(26005)(53546011)(33656002)(83380400001);DIR:OUT;SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6585 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: DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 529b1c53-7182-41cf-1365-08db4b28b6bd X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BtOBjiaxju2ep6+jyHgbni3WMyQOBvp1upmp0pvZdRTyRIo+eA3lPEdgQD2PQf/1WiGncQUkhavhaKSoQz5TY1KYil7TTeTG7lv8fuRmHxDOD0XlxCWubSHU+eiu17dEzfQgewYofGctLN5dD1gUgOWi4oE1UdXpMg/icwUwO6MwOIZ3kIUrHbBeX7NnRg6gLpNmcgYyGkYWPFaXl9mLmpPJsYP+wc4CJtezwVK+fnPD0qGPtIL57DqLwRwlfmXJwj5OzgxGcpBdbLJx2RnvEzO4sFwk0yEiWUiQwG8flx/GE7WlJeD6esOt4FJMSAF2DHKgXXyIE4GIsaif6BmKc4LenTnD4yKKjuJn4wvoST9HL7JFW3SusPMMVR0fJJzamqduy4D6rn6IiD+STeD3DZ7fs2lS2tWrssvTkDFRazc9OXkDPGDdwQD3KjQq44CiUAfrm+douChqTfSbOV278JJ27bceHMQR1JCIrOI6X6scGxII3u3ceZRXs8AkFQbNpeVUNMtCWrcUVvCFrpfJewvAADIVVxKZexrFjcdoMJUMlk8FEN+DRicATUewROZ+uF+ZYk0ytba5Jwbhr7u2NYPeOsiWGHReuWOr//9bGKBq4DatI9In+5R/DbQLw3LeAzjQJ7BAXYZ5t9MLTTLzCCS8PCLxY/V26eT/ucUkIz45D+zxKVpXrtgeXaX1lHR4vNRuXLNEllKnvFdv+wMrZApkkiGrKhRQeF5RGv5FP4NgGN+b5TI3pmMlQ9hparfu2PyYLaCBDD1Sy3R9Cke5LRDArf/0z4apGA9iLHMFGPI= 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:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(451199021)(46966006)(40470700004)(36840700001)(186003)(40460700003)(2906002)(26005)(53546011)(6506007)(36860700001)(82310400005)(86362001)(33656002)(9686003)(34020700004)(81166007)(82740400003)(356005)(55016003)(336012)(40480700001)(47076005)(83380400001)(478600001)(5660300002)(316002)(41300700001)(4326008)(7696005)(6636002)(70586007)(70206006)(8936002)(8676002)(110136005)(52536014);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 16:17:37.2637 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: adb789bc-51a7-471c-48a3-08db4b28beac 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: DBAEUR03FT040.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB9872 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,GIT_PATCH_0,KAM_DMARC_NONE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,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 List-Id: > -----Original Message----- > From: Christophe Lyon > Sent: Tuesday, April 18, 2023 2:46 PM > To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov ; > Richard Earnshaw ; Richard Sandiford > > Cc: Christophe Lyon > Subject: [PATCH 06/22] arm: [MVE intrinsics] add > unspec_based_mve_function_exact_insn >=20 > Introduce a function that will be used to build intrinsics which use > RTX codes for the non-predicated, no-mode version, and UNSPECS > otherwise. >=20 Ok. Thanks, Kyrill > 2022-09-08 Christophe Lyon >=20 > gcc/ChangeLog: >=20 > * config/arm/arm-mve-builtins-functions.h (class > unspec_based_mve_function_base): New. > (class unspec_based_mve_function_exact_insn): New. > --- > gcc/config/arm/arm-mve-builtins-functions.h | 186 ++++++++++++++++++++ > 1 file changed, 186 insertions(+) >=20 > diff --git a/gcc/config/arm/arm-mve-builtins-functions.h > b/gcc/config/arm/arm-mve-builtins-functions.h > index dff01999bcd..6d992b270b0 100644 > --- a/gcc/config/arm/arm-mve-builtins-functions.h > +++ b/gcc/config/arm/arm-mve-builtins-functions.h > @@ -39,6 +39,192 @@ public: > } > }; >=20 > +/* An incomplete function_base for functions that have an associated > + rtx_code for signed integers, unsigned integers and floating-point > + values for the non-predicated, non-suffixed intrinsic, and unspec > + codes, with separate codes for signed integers, unsigned integers > + and floating-point values. The class simply records information > + about the mapping for derived classes to use. */ > +class unspec_based_mve_function_base : public function_base > +{ > +public: > + CONSTEXPR unspec_based_mve_function_base (rtx_code code_for_sint, > + rtx_code code_for_uint, > + rtx_code code_for_fp, > + int unspec_for_n_sint, > + int unspec_for_n_uint, > + int unspec_for_n_fp, > + int unspec_for_m_sint, > + int unspec_for_m_uint, > + int unspec_for_m_fp, > + int unspec_for_m_n_sint, > + int unspec_for_m_n_uint, > + int unspec_for_m_n_fp) > + : m_code_for_sint (code_for_sint), > + m_code_for_uint (code_for_uint), > + m_code_for_fp (code_for_fp), > + m_unspec_for_n_sint (unspec_for_n_sint), > + m_unspec_for_n_uint (unspec_for_n_uint), > + m_unspec_for_n_fp (unspec_for_n_fp), > + m_unspec_for_m_sint (unspec_for_m_sint), > + m_unspec_for_m_uint (unspec_for_m_uint), > + m_unspec_for_m_fp (unspec_for_m_fp), > + m_unspec_for_m_n_sint (unspec_for_m_n_sint), > + m_unspec_for_m_n_uint (unspec_for_m_n_uint), > + m_unspec_for_m_n_fp (unspec_for_m_n_fp) > + {} > + > + /* The rtx code to use for signed, unsigned integers and > + floating-point values respectively. */ > + rtx_code m_code_for_sint; > + rtx_code m_code_for_uint; > + rtx_code m_code_for_fp; > + > + /* The unspec code associated with signed-integer, unsigned-integer > + and floating-point operations respectively. It covers the cases > + with the _n suffix, and/or the _m predicate. */ > + int m_unspec_for_n_sint; > + int m_unspec_for_n_uint; > + int m_unspec_for_n_fp; > + int m_unspec_for_m_sint; > + int m_unspec_for_m_uint; > + int m_unspec_for_m_fp; > + int m_unspec_for_m_n_sint; > + int m_unspec_for_m_n_uint; > + int m_unspec_for_m_n_fp; > +}; > + > +/* Map the function directly to CODE (UNSPEC, M) where M is the vector > + mode associated with type suffix 0, except when there is no > + predicate and no _n suffix, in which case we use the appropriate > + rtx_code. This is useful when the basic operation is mapped to a > + standard RTX code and all other versions use different unspecs. */ > +class unspec_based_mve_function_exact_insn : public > unspec_based_mve_function_base > +{ > +public: > + CONSTEXPR unspec_based_mve_function_exact_insn (rtx_code > code_for_sint, > + rtx_code code_for_uint, > + rtx_code code_for_fp, > + int unspec_for_n_sint, > + int unspec_for_n_uint, > + int unspec_for_n_fp, > + int unspec_for_m_sint, > + int unspec_for_m_uint, > + int unspec_for_m_fp, > + int unspec_for_m_n_sint, > + int unspec_for_m_n_uint, > + int unspec_for_m_n_fp) > + : unspec_based_mve_function_base (code_for_sint, > + code_for_uint, > + code_for_fp, > + unspec_for_n_sint, > + unspec_for_n_uint, > + unspec_for_n_fp, > + unspec_for_m_sint, > + unspec_for_m_uint, > + unspec_for_m_fp, > + unspec_for_m_n_sint, > + unspec_for_m_n_uint, > + unspec_for_m_n_fp) > + {} > + > + rtx > + expand (function_expander &e) const override > + { > + /* No suffix, no predicate, use the right RTX code. */ > + if ((e.mode_suffix_id !=3D MODE_n) > + && (e.pred =3D=3D PRED_none)) > + return e.map_to_rtx_codes (m_code_for_sint, m_code_for_uint, > + m_code_for_fp); > + > + insn_code code; > + switch (e.pred) > + { > + case PRED_none: > + if (e.mode_suffix_id =3D=3D MODE_n) > + /* No predicate, _n suffix. */ > + { > + if (e.type_suffix (0).integer_p) > + if (e.type_suffix (0).unsigned_p) > + code =3D code_for_mve_q_n (m_unspec_for_n_uint, > m_unspec_for_n_uint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_n (m_unspec_for_n_sint, > m_unspec_for_n_sint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_n_f (m_unspec_for_n_fp, e.vector_mode > (0)); > + > + return e.use_exact_insn (code); > + } > + gcc_unreachable (); > + break; > + > + case PRED_m: > + switch (e.mode_suffix_id) > + { > + case MODE_none: > + /* No suffix, "m" predicate. */ > + if (e.type_suffix (0).integer_p) > + if (e.type_suffix (0).unsigned_p) > + code =3D code_for_mve_q_m (m_unspec_for_m_uint, > m_unspec_for_m_uint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m (m_unspec_for_m_sint, > m_unspec_for_m_sint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_f (m_unspec_for_m_fp, > e.vector_mode (0)); > + break; > + > + case MODE_n: > + /* _n suffix, "m" predicate. */ > + if (e.type_suffix (0).integer_p) > + if (e.type_suffix (0).unsigned_p) > + code =3D code_for_mve_q_m_n (m_unspec_for_m_n_uint, > m_unspec_for_m_n_uint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_n (m_unspec_for_m_n_sint, > m_unspec_for_m_n_sint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_n_f (m_unspec_for_m_n_fp, > e.vector_mode (0)); > + break; > + > + default: > + gcc_unreachable (); > + } > + return e.use_cond_insn (code, 0); > + > + case PRED_x: > + switch (e.mode_suffix_id) > + { > + case MODE_none: > + /* No suffix, "x" predicate. */ > + if (e.type_suffix (0).integer_p) > + if (e.type_suffix (0).unsigned_p) > + code =3D code_for_mve_q_m (m_unspec_for_m_uint, > m_unspec_for_m_uint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m (m_unspec_for_m_sint, > m_unspec_for_m_sint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_f (m_unspec_for_m_fp, > e.vector_mode (0)); > + break; > + > + case MODE_n: > + /* _n suffix, "x" predicate. */ > + if (e.type_suffix (0).integer_p) > + if (e.type_suffix (0).unsigned_p) > + code =3D code_for_mve_q_m_n (m_unspec_for_m_n_uint, > m_unspec_for_m_n_uint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_n (m_unspec_for_m_n_sint, > m_unspec_for_m_n_sint, e.vector_mode (0)); > + else > + code =3D code_for_mve_q_m_n_f (m_unspec_for_m_n_fp, > e.vector_mode (0)); > + break; > + > + default: > + gcc_unreachable (); > + } > + return e.use_pred_x_insn (code); > + > + default: > + gcc_unreachable (); > + } > + > + gcc_unreachable (); > + } > +}; > + > } /* end namespace arm_mve */ >=20 > /* Declare the global function base NAME, creating it from an instance > -- > 2.34.1