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]

RFC: Rewrite x86-64 IFUNC selector in C


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.


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