Work around a valgrind false-positive in CPUID.
Valgrind versions prior to 3.17.0 assume that an uninitialized value in ECX causes the whole output of CPUID to be uninitialized, even though ECX is only "read" by CPUID for certain values of EAX. Work around that by guaranteeing that ECX is initialized.
Loading
-
mentioned in merge request !34 (closed)
-
mentioned in commit 918a09a3
Please register or sign in to comment