You need to say what CPU this is on.  For x86_64 I think this is
impossible, because all x86_64 processors support at least SSE2.

For x86 (32 bit) this might just be possible.  In VEX/priv/guest_x86_toIR.c,
find the code that handles CPUID

      case 0xA2: { /* CPUID */

and change it so that it uses this case

         if (archinfo->hwcaps == 0/*no SSE*/) {
            fName = "x86g_dirtyhelper_CPUID_sse0";
            fAddr = &x86g_dirtyhelper_CPUID_sse0;
         } else

J


On 09/23/2014 11:44 AM, Konstantin Tokarev wrote:
> Hi all,
> 
> I'd like to prevent glibc from using any SIMD-optimized functions when 
> running 
> application under Valgrind on Linux. Is it possible to do now?
> AFAIU, glibc uses runtime CPU detection, and Valgrind runs code on emulated 
> CPU.
> 


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to