This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Add ifunc memcpy and memmove for aarch64
- From: Steve Ellcey <sellcey at caviumnetworks dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>, Siddhesh Poyarekar <siddhesh at gotplt dot org>, Andrew Pinski <pinskia at gmail dot com>
- Cc: nd at arm dot com, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Wed, 15 Mar 2017 16:52:57 -0700
- Subject: Re: [PATCH] Add ifunc memcpy and memmove for aarch64
- Authentication-results: sourceware.org; auth=none
- Authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com;
- References: <AM5PR0802MB2610A11854986B9A53EBC68783430@AM5PR0802MB2610.eurprd08.prod.outlook.com> <c69e79db-4c42-0a14-dd11-d4825612b351@gotplt.org> <c0e44c88-244d-e327-de4b-02470c3a78cf@linaro.org> <1486509609.2866.59.camel@caviumnetworks.com> <805d8c52-1397-ddd0-71cc-93d019f8a7f2@gotplt.org> <1486598532.2866.66.camel@caviumnetworks.com> <589C4992.10505@arm.com> <CA+=Sn1k7BYS4G1Xwpeteif_JK4tdh0O9wCg9WOez4L=C3hMaYQ@mail.gmail.com> <1486688083.2866.82.camel@caviumnetworks.com> <1487809656.2866.171.camel@caviumnetworks.com> <54d21a51-1156-879c-7847-1b19eaca9b3e@gotplt.org> <1487866836.2866.173.camel@caviumnetworks.com> <eabb56f8-bea6-7375-019e-5a6365120a50@gotplt.org> <1487868166.2866.176.camel@caviumnetworks.com> <da742e76-0702-fb09-a1c3-86aadea5179e@gotplt.org> <1488394091.2866.259.camel@caviumnetworks.com> <58C83A67.4060806@arm.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Tue, 2017-03-14 at 18:45 +0000, Szabolcs Nagy wrote:
>
> the hwcap value is not yet in linux v4.10, but already
> allocated, if we are committed to this value then i
> think it's better to only have it in one place.
> you may need to include bis/hwcap.h in some files.
I checked this patch in after moving the HWCAP_CPUID to bits/hwcap.h
and adding an include of sys/auxv.h to cpu-features.c to get the value.
When I added an include of bits/hwcap.h directly I got an error about
including auxv.h instead of hwcap.h.
Steve Ellcey
sellcey@cavium.com