Re: [RFC-PATCH] x86: really use __builtin_memcmp on x86_32

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Monday, November 10, 2008 - 1:38 am

Harvey Harrison <harvey.harrison@gmail.com> writes:


gcc sometimes decides to not inline memcmp, so an out of line
version is always needed even when __builtin_memcmp is used.

While in theory x86 could supply an optimized version,
memcmp is relatively rarely used (and in many cases inlined),
so adding an assembler version for x86 is likely not worth
it.

-Andi

-- 
ak@linux.intel.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC-PATCH] x86: really use __builtin_memcmp on x86_32, Harvey Harrison, (Sun Nov 9, 11:12 pm)
Re: [RFC-PATCH] x86: really use __builtin_memcmp on x86_32, Andi Kleen, (Mon Nov 10, 1:38 am)
Re: [RFC-PATCH] x86: really use __builtin_memcmp on x86_32, Harvey Harrison, (Mon Nov 10, 9:53 am)