ref: 863d39cf56bed39b22cfc1370c94654b0890a7d0
parent: c2dd82f6c805758d4359019b12ac07983ca18fad
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Jul 26 15:31:15 EDT 2022
add arm64 builtins
--- /dev/null
+++ b/builtins.arm64.s
@@ -1,0 +1,7 @@
+TEXT __builtin_clz(SB),1,$0
+ CLZW R0, R0
+ RETURN
+
+TEXT __builtin_bswap32(SB),1,$0
+ REVW R0, R0
+ RETURN