resid: force the GCC CPUID code on clang

This commit is contained in:
David Hrdlička
2020-12-16 20:43:12 +01:00
parent 516bf8d2c8
commit 8be0973d2c

View File

@@ -43,7 +43,7 @@ static cpu_x86_regs_t get_cpuid_regs(unsigned int index)
{
cpu_x86_regs_t retval;
#if defined(_MSC_VER) /* MSVC assembly */
#if defined(_MSC_VER) && !defined(__clang__) /* MSVC assembly */
__asm {
mov eax, [index]
cpuid