Alexander Grund cece6415b0 Fix use of CPUID overwriting registers in use.
CPUID writes to EAX, EBX, ECX, and EDX so the inline-asm must state that.
Otherwise currently in-use register might get overwritten which may
cause all kinds of failures like segfaults or wrong results.

Alternatively `__cpuid` can be used which avoids this and related issues.
So do that as suggested in the GCC issue https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112513
2023-11-14 12:38:02 +01:00
..
2023-09-26 05:50:33 -07:00
2023-09-26 05:57:15 -07:00
2023-09-26 05:50:33 -07:00
2023-09-26 05:57:15 -07:00
2023-09-26 05:50:33 -07:00
2023-09-20 05:51:14 -07:00
2023-09-26 05:50:33 -07:00
2023-09-26 05:50:33 -07:00
2022-03-02 20:48:56 +01:00
2023-09-26 05:57:15 -07:00
2023-09-26 05:50:33 -07:00
2022-11-30 02:31:59 -08:00
2023-09-26 05:57:15 -07:00
2023-09-26 05:50:33 -07:00
2023-09-26 05:50:33 -07:00
2019-04-08 09:16:54 -07:00
2023-09-26 05:50:33 -07:00
2023-09-26 05:50:33 -07:00