qemu-e2k/tcg/i386
Peter Maydell 774d566cdb tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32)
Win32 doesn't have a cpuid.h, and MacOSX may have one but without
the __cpuid() function we use, which means that commit 9d2eec20
broke the build for those platforms. Fix this by tightening up
our configure cpuid.h check to test that the functions we need
are present, and adding some missing #ifdef guards in
tcg/i386/tcg-target.c.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
2014-02-21 10:39:10 +00:00
..
tcg-target.c tcg/i386: Fix build for systems without working cpuid.h (MacOSX, Win32) 2014-02-21 10:39:10 +00:00
tcg-target.h tcg/i386: Use ANDN instruction 2014-02-17 10:12:29 -06:00