This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [EXT] Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- From: Szabolcs Nagy <Szabolcs dot Nagy at arm dot com>
- To: Steve Ellcey <sellcey at marvell dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Mon, 15 Jul 2019 18:28:09 +0000
- Subject: Re: [EXT] Re: [RFC PATCH 1/2] Aarch64: Add simd exp/expf ABI symbols
- 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
- 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-SenderADCheck; bh=ucChI0Gb3kzSWXRS6SBNIhqXt3QFfKvwXtMV1HjUqkY=; b=ewQOLgIFSap2fSBpWxj52lsH15xlR2qZeVGDxcAmQ0lEit6L7hHTtk3xrOciu2SXRPCYx2zIc0GCbwxARy5Unc4b9v5MFI532s5Z2YOY1ZumY7ZIpbp+EFdLgc4ljgvimHKVSgP6DjLPuo7o/sAaOAr3Oaz4Oki16BKzUSQCDL/fyqNa3BHnTrUsHYxO5SOORb8j96PtrW4JhHffUHeTQplOuIEBJNy2zxWL+iOBqbkgXi8lSomY8tb44BoYAbPb8X2mX2NagQKaT1f+XC4X0an7/+kfHXLPBeuU1q2zPvxF1zWvU6zYw3cMvtm7mwInhZoO5LzWfRO5OVXXulDNGA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GobMqgB+Cn5HR5UCcWyc94ZaF986h3LCzoihd0R7Ehuli8la5p+ooJgaslrb0VdLbLZqs9eisjs+B4O5yIr3WnE2LcICMkm5PaATiasSazNBWlnAB0/cP98GRaRB6dzKTaAFjfPxcWudoh9k2i+GrYDZ+vIIuDkSySaY+vnHwS53JTG+jA/omFjV5Lrg3HpztovOq2d5tru4rX7ERvIixp5ZROkdQNoqJD3uD3obv5zc4ZEJ9Y2UqptVNLNkpVS9lgfMmHCX0Mcp13kfuqIlY8hcdJZo3793YGPgxLwOSzL5nBs5WQGpzskxGWh6c8Jp7xb20XI0YBDLbSW/zdPYtQ==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs dot Nagy at arm dot com;
- References: <0ae3af1b-cb2b-367f-8b86-f39971498291@arm.com> <94ae3162364c3d011de1485e04321da0dd359f66.camel@marvell.com> <54c894f9-8602-2f44-f389-9bbe0427a400@arm.com> <d6beabe6e196ea8a384658cf7ec7ec40015ab113.camel@marvell.com>
On 15/07/2019 18:14, Steve Ellcey wrote:
> On Mon, 2019-07-15 at 10:33 +0000, Szabolcs Nagy wrote:
>>
>>>
>>> I think it is necessary to have some object (even if it is not used)
>>> that is put in the libmvec-static-only-routines list of objects in
>>> sysdeps/aarch64/fpu/Makefile in order to build libmvec_nonshared.a. If
>>> you don't have that library the linker script fails when it cannot find
>>> it.
>>
>> you are right, i think
>>
>> libmvec-static-only-routines = non-existing-routine
>>
>> in that Makefile would fix it: creates an empty libmvec_nonshared.a.
>>
>> i made this change and put the patches on the nsz/mathvec branch.
>
> Thanks, the other thing I noticed when I tried building with the
> patches was that no functions got declared as SIMD in math-vector.h
> or math-vector-fortran.h. Not even exp or expf.
yes, because currently it's not possible to declare them correctly.
(adding omp declare simd should work today, but when gcc gets sve
support that will be incorrect, so you can add such declarations
for testing purposes, but it's not valid to distribute glibc headers
that way)
(and wilco's finite math removal patches will be needed once we
add declarations to the headers.)