summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <ssp@redhat.com>2012-03-14 17:11:14 -0400
committerSøren Sandmann Pedersen <ssp@redhat.com>2012-03-24 16:26:07 -0400
commitcf0d0d63645bcb6425a1e2d7b5d9f1e26e205247 (patch)
treef12a5b8f16782615370c41da0ca067d6a294503a /demos
parent8a8aabf05c8e6c7b68b68c80e4e73877fd35ce78 (diff)
Use "=a" and "=d" constraints for rdtsc inline assembly
In 32 bit mode the "=A" constraint refers to the register pair edx:eax, but according to GCC developers this is not the case in 64 bit mode, where it refers to "rax". Hence, using "=A" for rdtsc is incorrect in 64 bit mode. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21249
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions