mirror of
https://github.com/make-42/xyosc
synced 2025-01-18 18:57:10 +01:00
14 lines
339 B
ArmAsm
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
|