Bug 324882

Summary: CPUID should depend on VEX capabilities, not on underlying CPU
Product: [Developer tools] valgrind Reporter: Mark Wielaard <mark>
Component: vexAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: normal CC: mfranc
Priority: NOR    
Version: 3.9.0.SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mark Wielaard 2013-09-13 12:12:50 UTC
Currently (for AMD64 and x86) the CPUID emulation (dirty helper)  depends on the underlying CPU capabilities by checking the archinfo->hwcap flags. And it only checks some combinations, not all (for example AVX2 is never checked nor claimed). But VEX is often capable of emulating certain instructions even in cases the underlying hardware doesn't support them.

Maybe it would even make sense for the user to select the hardware capabilities that it wants see supported (to more precisely emulate some specific machine).

Reproducible: Always




See also https://bugs.kde.org/show_bug.cgi?id=323893