[PATCH] Use __glibc_(un)likely instead __builtin_expect.

Ondřej Bílka neleai@seznam.cz
Wed Oct 23 10:17:00 GMT 2013


On Wed, Oct 23, 2013 at 08:15:37AM +0530, Siddhesh Poyarekar wrote:
> I have not done a full review of the patch, but I am of the opinion
> that if you can show that the generated code is identical, then such a
> cleanup patch should be OK.  I'd like opinions from others from this
> though, so please wait for more reviews before you push this change.
> 
> Siddhesh

I did clean compile with and without patch and 

objdump -d test/libc.so > a
objdump -d test2/libc.so > b
diff a b
objdump -d test/math/libm.so > a
objdump -d test2/math/libm.so > b
diff a b
objdump -d test/nptl/libpthread.so > a
objdump -d test2/nptl/libpthread.so > b
diff a b

and binaries are identical.



More information about the Libc-alpha mailing list