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: [PATCH] Use __glibc_(un)likely instead __builtin_expect.


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.


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