xyosc/vendor/github.com/chewxy/math32/sqrt_arm64.s
2024-12-21 17:38:26 +01:00

14 lines
339 B
ArmAsm

//go:build !tinygo && !noasm
// Copyright 2015 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "textflag.h"
// func archSqrt(x float32) float32
TEXT ·archSqrt(SB),NOSPLIT,$0
FMOVS x+0(FP), F0
FSQRTS F0, F0
FMOVS F0, ret+8(FP)
RET