Created
August 6, 2024 11:20
-
-
Save pankkor/876865dbb9151e7772fd42d1eae5262d to your computer and use it in GitHub Desktop.
Revisions
-
pankkor created this gist
Aug 6, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ FORCE_INLINE static f32 absf32(f32 v) { f32 ret; __asm__ volatile ( "fabs %s0, %s1\n" : "=w" (ret) : "w" (v) ); return ret; }