Commit 69cddd6
committed
optimization of rdtsc()
On x86-64, the most significant bits of the RDX:RAX registers are
guaranteed to be zero. This means that the rdtsc instruction will return
two 64-bit numbers. In practice, this removes the extra instruction to
clear the most significant bits of the return value.1 parent 5862261 commit 69cddd6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments