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

            Bug ID: 494162
           Summary: adx flag not set in cpuid, but adox/adcx insns work
    Classification: Developer tools
           Product: valgrind
           Version: 3.22.0
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: vex
          Assignee: jsew...@acm.org
          Reporter: jpix...@gmail.com
  Target Milestone: ---

SUMMARY
valgrind appears to correctly support instructions under the ADX CPUID flag
(adcx, adox), however the ADX flag appears to be masked from CPUID.

STEPS TO REPRODUCE
```
$ git clone https://github.com/ctz/x86utils
$ cd x86utils
$ make

# baseline  for host
$ ./test | grep features-5
features-5: AVX512VL AVX512BW SHA AVX512CD CLWB CLFLUSHOPT AVX512IFMA SMAP ADX
RDSEED AVX512DQ AVX512F PQE PQM INVPCID ERMS BMI2 SMEP AVX2 BMI1 FSGSBase 
```

OBSERVED RESULT
```
$ valgrind -q ./test | grep features-5
features-5: RDSEED xFPUCS INVPCID ERMS BMI2 SMEP AVX2 BMI1 TSCAdjust 
```

EXPECTED RESULT
```
$ valgrind -q ./test | grep features-5
features-5: ADX RDSEED xFPUCS INVPCID ERMS BMI2 SMEP AVX2 BMI1 TSCAdjust 
```

SOFTWARE/OS VERSIONS
This is valgrind-3.22.0 as packaged by Ubuntu 24.04 (3.22.0-0ubuntu3), on
x86_64.

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

Reply via email to