diff options
author | hovertank3d <[email protected]> | 2025-01-17 15:52:03 +0100 |
---|---|---|
committer | hovertank3d <[email protected]> | 2025-01-17 15:52:03 +0100 |
commit | dd4a4aaf8e7cab8e196f7452b8a3f89411cdf742 (patch) | |
tree | f8863c1c0c861b0a6ecaffc47053e62b0095324d /log2.s | |
parent | a832581ccc15455428721a7893d825112d95cee8 (diff) | |
download | lzcnt.space-dd4a4aaf8e7cab8e196f7452b8a3f89411cdf742.tar.xz lzcnt.space-dd4a4aaf8e7cab8e196f7452b8a3f89411cdf742.zip |
initial commit
Diffstat (limited to 'log2.s')
-rw-r--r-- | log2.s | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ + .section .text + .global log2lzcnt + .type log2lzcnt, @function +log2lzcnt: + lzcnt %rdi, %rdi + movq $63, %rax + sub %rdi, %rax + ret |