This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] powerpc: Expose VSX feature test


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]