From 342b251a2f24263651a4a4104ab8129560d7dd53 Mon Sep 17 00:00:00 2001 From: hovertank3d Date: Sat, 18 Jan 2025 13:57:23 +0100 Subject: use genhl instead of hardcoding syntax --- templates/index.html | 53 ++++++---------------------------------------------- 1 file changed, 6 insertions(+), 47 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index dd4cb2a..85eccab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -20,56 +20,15 @@ LZCNT - - -
+
-
-

LZCNT - Count the Number of Leading Zero Bits

-

-  # [source code]
-  # [reset counter]
-  log2lzcnt:                # log2lzcnt({{.Requests}});  
-      lzcnt   %rdi, %rdi  
-      movq    $63,  %rax  
-      sub     %rdi, %rax  
-      ret                   # 2^{{.Log2lzcnt}} requests handled  
-
-
+
+

LZCNT - Count the Number of Leading Zero Bits

+
+
+ {{template "log2.s.html" .}}
-- cgit v1.2.3