aboutsummaryrefslogtreecommitdiff
path: root/templates/log2.s.html
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 /templates/log2.s.html
parent2aa29060c81fb52884b290603f1cf930259443b9 (diff)
downloadlzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.tar.xz
lzcnt.space-1a5a86a5d4557200db20e20206bcdd7b9b2a7e55.zip
refactor and add /about
Diffstat (limited to 'templates/log2.s.html')
-rw-r--r--templates/log2.s.html11
1 files changed, 0 insertions, 11 deletions
diff --git a/templates/log2.s.html b/templates/log2.s.html
deleted file mode 100644
index f2fb03b..0000000
--- a/templates/log2.s.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<style>.stx_root{color: rgb(255,255,255);background-color: rgb(33,33,33);}.stx2{color: rgb(220,150,28);font-weight: bold;}.stx3{color: rgb(181,120,206);}.stx4{color: rgb(70,70,240);}.stx5{color: rgb(254,254,91);font-weight: bold;}.stx6{color: rgb(115,158,213);font-weight: bold;}.stx7{color: rgb(24,212,236);}.stx8{color: rgb(139,15,127);font-weight: bold;}.stx9{color: rgb(11,84,118);}.stxa{color: rgb(31,145,31);font-weight: bold;}.stxb{color: rgb(0,0,0);}</style><div class="stx_root"><pre><code> <span class="stx8">.section</span> <span class="stx3">.text</span>
- <span class="stx8">.global</span> <span class="stx3">log2lzcnt</span>
- <span class="stx8">.type</span> <span class="stx3">log2lzcnt</span>, <span class="stx3">@function</span>
-<span class="stxa"># {{template "source_code.html" .}}
-</span><span class="stxa"># {{template "reset.html" .}}
-</span><span class="stx9">log2lzcnt:</span> <span class="stxa"># log2lzcnt({{.Requests}});
-</span> <span class="stx5">lzcnt</span> <span class="stx6">%rdi</span>, <span class="stx6">%rdi</span>
- <span class="stx5">movq</span> <span class="stx3">$63</span>, <span class="stx6">%rax</span>
- <span class="stx5">sub</span> <span class="stx6">%rdi</span>, <span class="stx6">%rax</span>
- <span class="stx5">ret</span> <span class="stxa"># 2^{{.Log2lzcnt}} requests handled
-</span></code></pre></div> \ No newline at end of file