From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2078.outbound.protection.outlook.com [40.107.22.78]) by sourceware.org (Postfix) with ESMTPS id 29D6E3857351 for ; Wed, 3 May 2023 10:37:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29D6E3857351 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=tJh6pNtn6qPg/3sxZoLQKjsKyYS+z5L3in1itzTBUn0=; b=Z3X4iN8FkaOR5TqG+lh4RdtisF7L63GKpKlWYAIozDxA0VRedwQPpdxWAhEoAvodkCsKe2IE7Ax8dlfOv72stUhDRe9ZkjAoVG7jXnVa+zMJ6+oFrJK/cwVcCA/oybgcOTSg0NhB1GTGijL8IJhmAsdQI0V9JrmUYid2ThRHW8s= Received: from DB8PR09CA0033.eurprd09.prod.outlook.com (2603:10a6:10:a0::46) by DU2PR08MB10231.eurprd08.prod.outlook.com (2603:10a6:10:491::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.29; Wed, 3 May 2023 10:37:23 +0000 Received: from DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:a0:cafe::84) by DB8PR09CA0033.outlook.office365.com (2603:10a6:10:a0::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21 via Frontend Transport; Wed, 3 May 2023 10:37:23 +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 DBAEUR03FT024.mail.protection.outlook.com (100.127.142.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Wed, 3 May 2023 10:37:23 +0000 Received: ("Tessian outbound e13c2446394c:v136"); Wed, 03 May 2023 10:37:23 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 17d826bb9fb45b04 X-CR-MTA-TID: 64aa7808 Received: from 8510f4d65404.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ECE4FBD8-3994-48DD-8BFD-ECA116560BD2.1; Wed, 03 May 2023 10:37:17 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8510f4d65404.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 03 May 2023 10:37:17 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f+DLWcMzcuPOd3Emvw34rMjG7qUMGAANewQD8ih9zGLFl3BG3xLVI0W3b8rv8HZ9yektTa4uCIPOvvkV5XoJXt/BNE2jhu6nGqi+0b/cEK5WLtqrqvXhE9uLSBUIqCJebcP9ahoz2XZ1PfnUdy3DMZGul04/dAdt7ahH82q8VyALT7gntX26C7ruoIBYhHnG7t6nseqCFwRZAlS6BuLSHkZiivVPb9yQPbU/4RWFAqHJ9E6V6cZBI8xV1240pNLggJ7knRKPoD7Q0cMzSrRn2byZvxlQ62MZQ/xj0DLWDF7tfPkz4aVPbf2IL4jbCSRUiwdnxWLoFsNmoDWxS+OsIw== 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=tJh6pNtn6qPg/3sxZoLQKjsKyYS+z5L3in1itzTBUn0=; b=GEmB/+P61Mv+v0XNLlmcjKWOCTupUYN9uMP3+qIYE0wyPKMmmK3QNw4VSk/cjNT7A2WjGPK+xw7SZVYYA6sQkNSdtlxXC/RO7XjuFiRc4BMYmLA99sAuM7KdraBklJ8Bltwsn/HMDxvbwTFiptEVCS2W7v0t6/9clTEg0z7SPW22Zmyvc0Sanjk5xMGzaMFxc/LwPfwsJcSIwk1r932wDRfOvsyQoSXQ6zksUtM+YJ4TquSxPK3CH40ddnVv0JQVCHU5p/NXgGVwhMaoxCKToUiMZ4qshXoJA6GRlnEQPCUhRRP0JzLVNekazDCoT3JeHu7hUvs7cz/u/Aju4BgehA== 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=tJh6pNtn6qPg/3sxZoLQKjsKyYS+z5L3in1itzTBUn0=; b=Z3X4iN8FkaOR5TqG+lh4RdtisF7L63GKpKlWYAIozDxA0VRedwQPpdxWAhEoAvodkCsKe2IE7Ax8dlfOv72stUhDRe9ZkjAoVG7jXnVa+zMJ6+oFrJK/cwVcCA/oybgcOTSg0NhB1GTGijL8IJhmAsdQI0V9JrmUYid2ThRHW8s= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by DB9PR08MB9852.eurprd08.prod.outlook.com (2603:10a6:10:45f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.21; Wed, 3 May 2023 10:37:11 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::242d:33fe:1c48:bd8]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::242d:33fe:1c48:bd8%6]) with mapi id 15.20.6363.022; Wed, 3 May 2023 10:37:11 +0000 Date: Wed, 3 May 2023 11:36:53 +0100 From: Szabolcs Nagy To: Joe Ramsay , Subject: Re: [PATCH v5 2/2] Enable libmvec support for AArch64 Message-ID: References: <20230412133749.40588-1-Joe.Ramsay@arm.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230412133749.40588-1-Joe.Ramsay@arm.com> X-ClientProxiedBy: SA1P222CA0024.NAMP222.PROD.OUTLOOK.COM (2603:10b6:806:22c::26) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB9PR08MB7179:EE_|DB9PR08MB9852:EE_|DBAEUR03FT024:EE_|DU2PR08MB10231:EE_ X-MS-Office365-Filtering-Correlation-Id: 47fdb52b-ae46-45a4-4031-08db4bc261a2 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: Y5MrPfJ1RQ4UcYWIxLaadumTD4DgG+NmveUEVn+zHcDpe/MgWKHM5FV6XSruuE7vOKGM9Xnft+kuf4HblTYPitoOhp/Freliu9Sl2E1PD3uHc6oA5BJTZO9KoXOJzBqnhU6BQuEUzOmwvRWZz0wRi0agHY9qIO/Wv8Zfh/ohI+y1gGzP68ZleE5610ttJkBlDqx6wnGymWHis12/PbqsZ0sD3ElO1FT7SRqUIXwe9J/qDJrE+INGGj4CDUtGKTlrdqAo6coLp86dGgnz8sp5/sz5zh8Y5uS1QIVzD7qkjr2t/SaSr6jKmZzMoMD3Zd9O8yrXOdxIPYaxjGgwAFvg/NhBYGg23Cuzfge6omR3m9dZbS3CyT0oCHFZqEa/znwMJqFfyqB2RefMs/Lts42FPg3Z+3NtcfkLjneHBoD2iRTXjdvuVCXagbg9P7ThYb4FXfDHIPMde5mzRoZ03kqZ5l2o/HskvdE10bD59PgCGJIt+dGo9pFE54Kjfr7oxKNoLSZuqfQmSeg4rAm6UUX8Sgr0WhyCdsiALB0EIlho59rg8tkZrIDEd95a0RTxGpHh X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB7179.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(396003)(39860400002)(366004)(376002)(346002)(451199021)(110136005)(478600001)(2616005)(186003)(26005)(6512007)(6506007)(6666004)(6486002)(41300700001)(66946007)(66556008)(66476007)(316002)(8676002)(5660300002)(44832011)(2906002)(38100700002)(8936002)(36756003)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB9852 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: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 69f753c9-529c-477e-8d7f-08db4bc25a29 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7OOsWi31j+KUUuXgnMxcG2eBv2w4VBx5A7yPxSnZE58n05FFL2/ow0Q3HjOyt1eb0HYO62uuBQsYv1hg9v+kTtkKTfzriexwqZJePp3dbNx/a72pih1md4NPZlasNshKlzLpeJgzAqRTCQeW4mJp2mQGtkzw1pXVnidvrJn71tG97orO4DDyzP8xiRWi9ihxnYp2o1bmFCNWQN11TPh/ZQWZkhKZsU/bnnj47WPQIf/KyVjJellplxW/71Pb9i646TJg9mYNsIoP1xgDbuicF9Tp3hwiof6uW8ANvBlx3QSbbiSZuL490RMa8cxbi6ebP/FDrifgxd1x2+SU9VKgp9SvrAyGLiA1m/O8/0i4hgNYt4pWsI8Mb4iGcNv2HQwwihNhIZe4Li/MgfzaEG1X+eUDx5ZlGxxT52JLjsW3ol0ZyTcQ+AHsabFSyX+Z97hZv5MRSvPBvzA31nmYVkl23GvjyTEnM66BKikCuRqEahmQsd3fqsgsngSNeGgRs0PUo6APMIqt/pk9ZqDlGdFqBGsA/Y+XPrQfrEzGNXvVxRg0NmVGj7FFGyk4HV8TSudxoGemvaXOXDBnwLoIruO/tWlyFpDJMtREmu6NTQS3jAvAX2Zq2hmAWPQ7uM3ydXKFBEkdjGCPbkoPAkXWwYyvfxYchBCsAHVPBPs53v2ytpDaTYKCTx37ync0aToMSM8lLanleRzO/sLYX1rwn8DfZ0GQhokt9p4BlP+Ahsz9OYI= 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)(346002)(376002)(39850400004)(396003)(451199021)(40470700004)(46966006)(36840700001)(6486002)(82310400005)(6506007)(40480700001)(316002)(40460700003)(6512007)(26005)(8936002)(8676002)(44832011)(5660300002)(86362001)(34020700004)(478600001)(36860700001)(186003)(70206006)(70586007)(336012)(47076005)(2616005)(110136005)(41300700001)(36756003)(356005)(2906002)(81166007)(6666004)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2023 10:37:23.6662 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 47fdb52b-ae46-45a4-4031-08db4bc261a2 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: DBAEUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR08MB10231 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: The 04/12/2023 14:37, Joe Ramsay via Libc-alpha wrote: > This patch enables libmvec on AArch64. The proposed change is mainly > implementing build infrastructure to add the new routines to ABI, > tests and benchmarks. I have demonstrated how this all fits together > by adding implementations for vector cos, in both single and double > precision, targeting both Advanced SIMD and SVE. > > The implementations of the routines themselves are just loops over the > scalar routine from libm for now, as we are more concerned with > getting the plumbing right at this point. We plan to contribute vector > routines from the Arm Optimized Routines repo that are compliant with > requirements described in the libmvec wiki. > > Building libmvec requires minimum GCC 10 for SVE ACLE. To avoid raising > the minimum GCC by such a big jump, we allow users to disable libmvec > if their compiler is too old. > > Note that at this point users have to manually call the vector math > functions. This seems to be acceptable to some downstream users. Reviewed-by: Szabolcs Nagy i'll rebase the news entry and commit this. thanks.