commit | b652430c44f662ef26ab7c1a51be24610cd528ec | [log] [tgz] |
---|---|---|
author | MITSUNARI Shigeo <herumi@nifty.com> | Thu Aug 18 08:03:00 2022 +0900 |
committer | MITSUNARI Shigeo <herumi@nifty.com> | Thu Aug 18 08:03:00 2022 +0900 |
tree | 3691102aba762946d7605b767d9420e731ff8a61 | |
parent | 48457bfa0ded67bb4ae2d4c141c36b35469257ee [diff] |
mingw uses __cpuidex
diff --git a/xbyak/xbyak_util.h b/xbyak/xbyak_util.h index 2508416..12c0068 100644 --- a/xbyak/xbyak_util.h +++ b/xbyak/xbyak_util.h
@@ -306,7 +306,7 @@ static inline void getCpuidEx(uint32_t eaxIn, uint32_t ecxIn, uint32_t data[4]) { #ifdef XBYAK_INTEL_CPU_SPECIFIC - #ifdef _MSC_VER + #ifdef _WIN32 __cpuidex(reinterpret_cast<int*>(data), eaxIn, ecxIn); #else __cpuid_count(eaxIn, ecxIn, data[0], data[1], data[2], data[3]);