[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Problems with RDTSC examples posted here recently



> if you compile method1 and method2A and look at the assembler coee they are
> absolutly the same - the only difference on the source level is that its easier
> to read "mov" than "0x31" thats all.

".byte 0x0f 0x31" is a synonym for "rdtsc" - look at your disassembly
again.  It's what we used in the bad old days when GNU assembler didn't
understand the rdtsc mnemonic.  The "mov" is spurious and harmful.

John