[RFC] Add IFUNC support for MIPS (v3)
Faraz Shahbazker
faraz.shahbazker@imgtec.com
Mon Aug 17 18:07:00 GMT 2015
On 08/14/2015 01:57 PM, Andreas Schwab wrote:
> Faraz Shahbazker <faraz.shahbazker@imgtec.com> writes:
>
>> + if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SYMBOLS, 0))
>
> __builtin_expect -> __glibc_unlikely
>
>> + if (__builtin_expect (r_type == R_MIPS_IRELATIVE, 1))
>
> __builtin_expect -> __glibc_likely
Now that you've pointed it out, the local trend in sysdeps/mips is distinctly
in favour of __builtin_expect. If I have to use one of the two consistently
within the patch, it should be __builtin_expect.
Thanks,
Faraz Shahbazker
More information about the Libc-alpha
mailing list