Skip to content
Snippets Groups Projects
  1. Jul 24, 2022
  2. Jul 22, 2022
  3. Jul 15, 2022
  4. Jul 13, 2022
  5. Jul 10, 2022
  6. Jul 09, 2022
  7. Jul 08, 2022
  8. Jul 06, 2022
  9. Jul 05, 2022
  10. Jul 01, 2022
  11. Jun 30, 2022
  12. Jun 29, 2022
    • 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.
      Unverified
      6577534a
    • Timothy B. Terriberry's avatar
      Check the return value of __get_cpuid(). · 03889ae7
      Timothy B. Terriberry authored
      This function can fail if CPUID is not supported or the maximum
       supported value of EAX is less than the requested one.
      Check the return value and explicitly disable all SIMD if it does
       fail.
      This was happening before implicitly because of the initialization
       of info[] to zero, but being explicit about it makes it less likely
       someone will break this behavior because they did not realize what
       was going on.
      Unverified
      03889ae7
Loading