------- Additional Comments From tfautre at pandora dot be 2005-04-27 13:30 ------- Thanks for the code, it's working.
The inline rdtsc code was from an IBM article; and after reading the GCC doc on =A, I must admit I was expecting it to work on x86_64 too. "A Specifies the `a' or `d' registers. This is primarily useful for 64-bit integer values (when in 32-bit mode) intended to be returned with the `d' register holding the most significant bits and the `a' register holding the least significant bits." If =A is for using edx:eax in 32 bits mode, what is it doing exactly in 64 bits then? rdx:rax? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21249