This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Need a way to test ifunc functions
- From: Ulrich Drepper <drepper at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Ulrich Drepper <drepper at redhat dot com>
- Date: Wed, 10 Nov 2010 16:11:52 -0500
- Subject: Re: Need a way to test ifunc functions
- References: <AANLkTikgC41wZx9KLziunQJkhCdvSse_MiPxPJ=LTpSG@mail.gmail.com>
On Wed, Nov 10, 2010 at 12:29, H.J. Lu <hjl.tools@gmail.com> wrote:
> With IFUNC functions, glibc testsuite can only test one implementation.
> We need a way to test SSE2/SSSE3/SSE4 implementations on SSE4
> machines.
You do unit testing. Link the test app against the .o/.os file and
call the function y its real name (__strcmp_sse4 etc).