> Don't forget to make sure it's __volatile__, elsewise this is the very > epitome of what would produce dodgy results...
Right. So method2 and method2A seem to be broken in multiple ways - forget you ever saw them. Rather, look at this page: http://www-106.ibm.com/developerworks/linux/library/l-ia.html?dwzone=linux which has a nice explanation of inline assembly syntax for gcc, and even explains why method1 is the right way to code rdtsc. John -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
