mirror of
https://github.com/make-42/xyosc
synced 2025-01-18 18:57:10 +01:00
10 lines
179 B
ArmAsm
10 lines
179 B
ArmAsm
//go:build !tinygo && !noasm
|
|
#include "textflag.h"
|
|
|
|
// func archSqrt(x float32) float32
|
|
TEXT ·archSqrt(SB),NOSPLIT,$0
|
|
MOVSS x+0(FP), X0
|
|
SQRTSS X0, X0
|
|
MOVSS X0, ret+8(FP)
|
|
RET
|