|
From: Nicholas N. <nj...@ca...> - 2003-11-21 17:14:46
|
On Fri, 21 Nov 2003, Daniel Goertzen wrote: > I am trying to run valgrind on a Cx486DX2 which has no CPUID or RDTSC > instruction. > > I've managed to get past the CPUID in vg_startup.S with a hack suggested by > Jeremy, but now I'm trying to figure out the best way around RDSTC. The > instuction is called by start_rdtsc_calibration() in vg_main.c. > > Suggestions? I'm going to keep beating on it for now, but if someone can > point me down the right path, great! At a guess, try disabling the uses of RDTSC in VG_(read_millisecond_timer)() and VG_(start_rdtsc_calibration)(); try hard-coding in some reasonable values instead. N |