commit | 05abbb438591ec95aa84ba9509f4d48f5352a41e | [log] [tgz] |
---|---|---|
author | Gabe Black <gabeblack@chromium.org> | Fri Nov 11 22:48:01 2016 -0800 |
committer | Gabe Black <gabeblack@chromium.org> | Fri Nov 11 22:48:01 2016 -0800 |
tree | 58bc7518dd609707621bfd25f6e05e0870f90899 | |
parent | 9572fe1652a954f8e7b7a15300f680d1c9e016c6 [diff] |
x86: Make the rdtsc utility function work correctly on x86_64. The "=A" constraint doesn't do the right thing when on x86_64, but it lets the compiler know what we're doing when on 32 bit x86 and might reduce overhead during sensitive timekeeping operations. Change-Id: I0e6fe21515ad9f5058692bbf7b75b57cac1621ad