From: Junio C Hamano Date: Mon, 09 Jun 2014 23:05:04 GMT Subject: Re: [PATCH v7 0/1] refs.c: SSE4.2 optimizations for check_refname_component Message-ID: In-Reply-To: Junio C Hamano writes: > David Turner writes: > >> Since Junio has picked up the first patch from previous versions of >> this series, I'm just going to send the second (SSE) one. I decided >> not to s/NO_SSE42/!HAVE_SSE42/ because it looks like git mostly uses >> the former convention (for instance, that's what GIT_PARSE_WITH >> generates). > > Yeah but NO_FROTZ is used only when FROTZ is something everybody is > expected to have (e.g. it's in posix, people ought to have it, but > we do support those who don't), isn't it? For a very arch specific > stuff like sse42, I'd feel better to make it purely opt-in by > forcing people to explicitly say HAVE_SSE42 to enable it. Just FYI: I am getting compat/cpuid.h:8:12: error: 'processor_supports_sse42' defined but not used [-Werror=unused-function] cc1: all warnings being treated as errors while building 'pu'; I'll have to rebuild 'pu' without this patch before I can push the day's result out.