This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Expose VSX feature test
- From: Tulio Magno Quites Machado Filho <tuliom at linux dot ibm dot com>
- To: Nathan Phillips <waic9e at protonmail dot com>, "libc-alpha\@sourceware.org" <libc-alpha at sourceware dot org>
- Cc:
- Date: Wed, 28 Mar 2018 09:16:28 -0300
- Subject: Re: [PATCH] powerpc: Expose VSX feature test
- References: <klDQRjHsGNLyUfoTY_7IVfFKRRAhSEeHVIYr89lVsb-ufm0FM5_KS2Wok7jCSBaVZXDYTJFmlGNMT7uJxbt0dIyn3m2SLuzdyWsoALd0pi4=@protonmail.com>
Nathan Phillips <waic9e@protonmail.com> writes:
> Hope it's OK to submit a small change like this. Trying to familiarize myself
> with the patch process.
>
> My copyright assignment is underway.
Ack.
> Read the HWCAP auxval key to test for VSX support. Expose result through
Please use 2 spaces here ---------------------------^
> the cpu_features interface.
>
> Preliminary change to prepare for PowerPC optimized libmvec implementations
> [BZ #20123]. Enables selecting optimized version at load time in ifunc
Likewise. ----^
> resolver.
Can't you take it directly from the hwcap variable that is already available
when using libc_ifunc or libc_ifunc_redirected? e.g.
sysdeps/powerpc/powerpc64/multiarch/memcmp.c
--
Tulio Magno