Re: [Qemu-devel] [PATCH for-2.10] util: Introduce include/qemu/cpuid.h

2017-07-24 Thread Peter Maydell
On 24 July 2017 at 11:40, Peter Maydell wrote: > On 19 July 2017 at 05:40, Richard Henderson wrote: >> Clang 3.9 passes the CONFIG_AVX2_OPT configure test. However, the >> supplied does not contain the bit_AVX2 define that we use >> when detecting whether the routine can be enabled. >> >> Intro

Re: [Qemu-devel] [PATCH for-2.10] util: Introduce include/qemu/cpuid.h

2017-07-24 Thread Peter Maydell
On 19 July 2017 at 05:40, Richard Henderson wrote: > Clang 3.9 passes the CONFIG_AVX2_OPT configure test. However, the > supplied 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 de

[Qemu-devel] [PATCH for-2.10] util: Introduce include/qemu/cpuid.h

2017-07-18 Thread Richard Henderson
Clang 3.9 passes the CONFIG_AVX2_OPT configure test. However, the supplied 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_* def