|
From: Nicholas N. <nj...@ca...> - 2004-04-16 22:21:22
|
CVS commit by nethercote:
Added comment clarifying RDTSC.
M +3 -0 vg_to_ucode.c 1.135
--- valgrind/coregrind/vg_to_ucode.c #1.134:1.135
@@ -6729,4 +6729,7 @@ static Addr disInstr ( UCodeBlock* cb, A
t3 = newTemp(cb);
uInstr0(cb, CALLM_S, 0);
+ // Nb: even though these args aren't used by RDTSC_helper, need
+ // them to be defined (for Memcheck). The TempRegs pushed must
+ // also be distinct.
uInstr2(cb, MOV, 4, Literal, 0, TempReg, t1);
uLiteral(cb, 0);
|