On 24 July 2017 at 11:40, Peter Maydell <peter.mayd...@linaro.org> wrote:
> On 19 July 2017 at 05:40, Richard Henderson <r...@twiddle.net> wrote:
>> Clang 3.9 passes the CONFIG_AVX2_OPT configure test.  However, the
>> supplied <cpuid.h> does not contain the bit_AVX2 define that we use
>> when detecting whether the routine can be enabled.
>>
>> Introduce a qemu-specific header that uses the compiler's definition
>> of __cpuid et al, but supplies any missing bit_* definitions needed.
>> This avoids introducing any extra ifdefs to util/bufferiszero.c, and
>> allows quite a few to be removed from tcg/i386/tcg-target.inc.c.
>>
>> Signed-off-by: Richard Henderson <r...@twiddle.net>
>> ---
>>
>> Peter, this is the clang 3.9 problem I mentioned the other day,
>> when attempting to reproduce the other clang 3.8 problem.
>>
>
> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>

...and applied to master as a buildfix for clang 3.9.

thanks
-- PMM

Reply via email to