> following compiles with both gcc-2.7.2.3 and gcc-2.96, and the assembly
> looks at least half reasonable.
> - __asm__("mull %1" : "=d" (tmp2) : "m" (scale_rdtsc), "a" (tmp0) : "ax");
> + __asm__("mull %1" : "=d" (tmp2) : "m" (scale_rdtsc), "a" (tmp0));
this doesn't look right -- mull modifies eax/edx.
+ __asm__("mull %1" : "=d" (tmp2), "=a" (dummy) : "m" (scale_rdtsc), "a" (tmp0));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/