This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: RFC: Rewrite x86-64 IFUNC selector in C
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Siddhesh Poyarekar <siddhesh at gotplt dot org>, "H.J. Lu" <hjl dot tools at gmail dot com>, 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: Thu, 25 May 2017 09:04:16 -0300
- Subject: Re: RFC: Rewrite x86-64 IFUNC selector in C
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOq7fCtNSfhQN=QXGjSRkKNfWwC4c9c_kqb4iFbpmNYBEA@mail.gmail.com> <f07f563b-e74f-e2ec-38f5-5f092f73f490@gotplt.org>
On 25/05/2017 02:50, Siddhesh Poyarekar wrote:
> On Thursday 25 May 2017 03:19 AM, H.J. Lu wrote:
>> 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?
>
> +1, C > assembly wherever possible. Use assembly only if the compiler
> is incapable of producing the output you want (and if that actually
> matters) and then reevaluate every few releases.
>
> Siddhesh
>
> +1 as well, now we have the required infrastructure and other ports
> are already using C implementation I see no reason to keep x86 using
> assembly ones.