ref: de18a5f5d2f4f03b78663d203f72e6099ea59d0e
dir: /src/plan9_builtins_amd64.s/
TEXT __builtin_ctz(SB),$0 BYTE $0x0F; BYTE $0xBC; BYTE $0xC5 /* BSFL RARG, AX */ RET TEXT __builtin_clz(SB),$0 BYTE $0x0F; BYTE $0xBD; BYTE $0xC5 /* BSRL RARG, AX */ XORL $31, AX RET TEXT __builtin_clzll(SB),$0 BYTE $0x48; BYTE $0x0F; BYTE $0xBD; BYTE $0xC5 /* BSRQ RARG, AX */ XORL $63, AX RET