https://bugs.kde.org/show_bug.cgi?id=408009

            Bug ID: 408009
           Summary: Expose rdrand and f16c even on avx if host cpu
                    supports them
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: m...@klomp.org
  Target Milestone: ---

Currently the following code in coregrind/m_machine.c (machine_get_hwcaps)
prevents using rdrand and f16c on avx only (none-avx2) machines:

     /* Sanity check for RDRAND and F16C.  These don't actually *need* AVX2, bu
        it's convenient to restrict them to the AVX2 case since the simulated
        CPUID we'll offer them on has AVX2 as a base. */
     if (!have_avx2) {
         have_f16c   = False;
         have_rdrand = False;
      }

So even if the host CPU supports it, valgrind disables it.

Both can be supported on avx machines too.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to