svn commit: r250215 - stable/9/lib/libc/locale

Andrey Chernov ache at freebsd.org
Sat May 4 14:21:33 UTC 2013


On 04.05.2013 16:03, Sergey Kandaurov wrote:
>> BTW, I don't run tests and look in asm code for sure, but it seems
>> property[0] == p[0] is unneeded because almost every compiler tries to
>> inline strcmp().
> 
> Doesn't seem so (in-lining), see below.

Yes, system's GNU cc don't inline strcmp() but inlines memcmp():
 repz
 cmpsb
I don't have clang nearby right now to test what it does.

-- 
http://ache.vniz.net/
bitcoin:13fGiNutKNHcVSsgtGQ7bQ5kgUKgEQHn7N


More information about the svn-src-stable-9 mailing list