diff options
Diffstat (limited to 'log2.s')
-rw-r--r-- | log2.s | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,8 +1,10 @@ .section .text .global log2lzcnt .type log2lzcnt, @function -log2lzcnt: - lzcnt %rdi, %rdi +# {{template "source_code.html" .}} +# {{template "reset.html" .}} +log2lzcnt: # log2lzcnt({{.Requests}}); + lzcnt %rdi, %rdi movq $63, %rax sub %rdi, %rax - ret + ret # 2^{{.Log2lzcnt}} requests handled |