On Thu, 9 Mar 2006, Lodewijk Vöge wrote: > On 8-mrt-2006, at 23:11, Brian Hurt wrote: > >> Love to. Wanna buy me the box? :-} Seriously- my code is attached, if >> someone wants to run it on other boxes and post the results, feel free. >> It's GNU-C/x86 specific, as I'm using GNU C's inline assembler and the >> rdtsc instruction to get accurate cycle counts. > > I don't know if rdtsc is accurate on 64bit, but this is what running it on a > dual opteron 250 running 64bit linux gives: On 64-bit, I think rdtsc only sets the RAX register. At least that's what I'm assuming is going on- 144 million clocks for a rdtsc seems a bit extreme. Brian