ref: f080353c96b53a7b881f470d8e8f6e1151fa6524
parent: 1e0f5fed0c530ac7dce561e2334ef3a0f7475507
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Tue Aug 1 22:25:39 EDT 2023
no need for ctz
--- a/builtins.amd64.s
+++ b/builtins.amd64.s
@@ -1,7 +1,3 @@
-TEXT __builtin_ctz(SB),1,$0
- BYTE $0x0F; BYTE $0xBC; BYTE $0xC5 /* BSFL RARG, AX */
- RET
-
TEXT __builtin_clz(SB),1,$0
BYTE $0x0F; BYTE $0xBD; BYTE $0xC5 /* BSRL RARG, AX */
XORL $31, AX