------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-27 13:11 ------- What do you mean, it is generating wrong code? Actually you are using inline-asm wrong, try the following instead: #define rdtsc(low,high) \ __asm__ __volatile__("rdtsc" : "=a" (low), "=d" (high))
This comes from the kernel. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21249