This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RFC: Rewrite x86-64 IFUNC selector in C
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Erich Elsen <eriche at google dot com>
- Cc: "Carlos O'Donell" <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 24 May 2017 14:49:07 -0700
- Subject: RFC: Rewrite x86-64 IFUNC selector in C
- Authentication-results: sourceware.org; auth=none
On Wed, May 24, 2017 at 2:03 PM, Erich Elsen <eriche@google.com> wrote:
> Sorry, yes I meant independent of the tunables discussion. Thanks for
> pointing that macro out, I hadn't realized, but makes sense for
> supporting older compilers that didn't have IFUNCs.
>
> I see you added the original ifunc implementation back in 2009!
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40528
>
> It seems like GCC 4.7 is needed to build now, so should be ok to
> switch? I'm happy to volunteer to do the conversions for the x86_64
> routines if you think it makes sense.
>
Most of time, C is easier to maintain than assembly code. I think
it is a good idea in general. What do other people think?
--
H.J.