|
From: Julian S. <js...@ac...> - 2014-09-26 16:29:55
|
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.
>
|