|
From: Julian S. <js...@ac...> - 2003-08-19 08:05:17
|
On Tuesday 19 August 2003 07:18, Tom Hughes wrote: > In message <3F4...@re...> > > Steve Fink <sf...@re...> wrote: > > I was mostly wondering if, now that valgrind supports MMX and some SSE, > > it is now reporting that it is an MMX/SSE cpu? If so, is there some way > > of making it act stupid again? (I don't know whether my problem is with > > MMX or SSE instructions, actually.) > > I sent a patch to this list several weeks ago to stop valgrind > reporting the CPU as SSE capable for people with your problem. > > There shouldn't be any problem with MMX as valgrind's MMX support > is supposed to be complete. Yes, the problem happens because the current cvs head, and 20030725 report whatever the real machine's CPUID report, but do not actually implement all the SSE insns. Hence the Intel libraries think the cpu is sse capable when in fact it isn't. A quick hack is to change the definition of VG_(helper_CPUID) in vg_helpers.S back to what it was in 1.9.6 or thereabouts, which claimed to be a pre-MMX pentium-I. That should fool the intel libraries appropraitely. J |