Re: [Valgrind-users] Valgrind and glibc's CPU detection

2014-09-26 Thread Julian Seward
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

[Valgrind-users] Valgrind and glibc's CPU detection

2014-09-23 Thread Konstantin Tokarev
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. -- Regards, Konstantin