From 588cedf699de1eda2c476133193cc2bb1e9d5dbc Mon Sep 17 00:00:00 2001 From: hovertank3d Date: Sat, 24 May 2025 10:58:06 +0000 Subject: update about and link to the source code --- templates/log2.s.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/log2.s.html (limited to 'templates/log2.s.html') diff --git a/templates/log2.s.html b/templates/log2.s.html new file mode 100644 index 0000000..aad76fd --- /dev/null +++ b/templates/log2.s.html @@ -0,0 +1,14 @@ +
# {{template "link.html" (arr "about" "/about")}}
+# {{template "reset.html" .}}
+    .section    .text
+    .global     log2lzcnt
+    .type       log2lzcnt, @function
+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")}}
+
\ No newline at end of file -- cgit v1.2.3