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]

Re: [RFC] Add IFUNC support for MIPS (v3)


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


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