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

            Bug ID: 386851
           Summary: Please add support for CPUID override
           Product: valgrind
           Version: 3.13.0
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: bugzi...@poradnik-webmastera.com
  Target Milestone: ---

Please allow to override CPUID values. This would be helpful to test apps which
has few versions of code, and selects one of them at runtime after checking
data returned by CPUID. Second use case is to simulate code with instructions
which are not supported natively by CPU, e.g. to test code which uses AVX512 on
some non-AVX512 CPU.

Simulation of CPUs with less features should be pretty straightforward to
implement. Adding new features may be more complex, if VG internally delegates
instruction execution to real CPU - it would have to simulate them in software.

To make this feature easy to use, VG should provide predefined CPUID profiles
for various CPUs, e.g. like Intel SDE does (link below). You can also add
separate option(s) to fine-tune CPUID data, some users may find this useful
too.
https://software.intel.com/en-us/articles/intel-software-development-emulator#BASIC

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

Reply via email to