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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to