aboutsummaryrefslogtreecommitdiff
path: root/log2.s
diff options
context:
space:
mode:
authorhovertank3d <[email protected]>2025-01-18 23:27:52 +0100
committerhovertank3d <[email protected]>2025-01-18 23:28:53 +0100
commit1a5a86a5d4557200db20e20206bcdd7b9b2a7e55 (patch)
tree03aae452a7dc2d9f71cf7a83adbfd8e112ad562e /log2.s
parent2aa29060c81fb52884b290603f1cf930259443b9 (diff)
downloadlzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.tar.xz
lzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.zip
refactor and add /about
Diffstat (limited to 'log2.s')
-rw-r--r--log2.s7
1 files changed, 5 insertions, 2 deletions
diff --git a/log2.s b/log2.s
index 910f6c7..cae631b 100644
--- a/log2.s
+++ b/log2.s
@@ -1,10 +1,13 @@
+# {{template "link.html" (arr "about" "/about")}}
+# {{template "reset.html" .}}
.section .text
.global log2lzcnt
.type log2lzcnt, @function
-# {{template "source_code.html" .}}
-# {{template "reset.html" .}}
log2lzcnt: # log2lzcnt({{.Requests}});
lzcnt %rdi, %rdi
movq $63, %rax
sub %rdi, %rax
ret # 2^{{.Log2lzcnt}} requests handled
+
+# copyleft 2025 iskrim46
+# {{template "link.html" (arr "source" "https://github.com/hovertank3d/lzcnt.space")}}