1
0
Fork 0

comment fix: it's 8ns *faster*

This commit is contained in:
edef 2015-04-16 12:20:57 -04:00
parent a1e4c2b745
commit 52325b07c0
1 changed files with 3 additions and 2 deletions

View File

@ -36,8 +36,9 @@ jmp 2f
movq %rax, %rsp movq %rax, %rsp
// jump into the new context (return to the call point) // jump into the new context (return to the call point)
// doing this instead of a straight `ret` is 8ns slower, // doing this instead of a straight `ret` is 8ns faster,
// presumably because the branch predictor tries to be clever about it // presumably because the branch predictor tries
// to be clever about it otherwise
popq %rax popq %rax
jmpq *%rax jmpq *%rax