Skip to content
  • Timothy B. Terriberry's avatar
    Work around a valgrind false-positive in CPUID. · 6577534a
    Timothy B. Terriberry authored
    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.
    6577534a