mirror of
https://github.com/golang/go
synced 2024-11-17 18:34:44 -07:00
f0fdbb1e8b
Where assembly functions are just jumps to the Go implementation put them into a stubs_<arch>.s file. This reduces the number of files considerably and makes it easier to see what is really implemented in assembly. I've also run the stubs files through asmfmt to format them in a more consistent way. Eventually we should replace these 'stub' assembly files with a pure Go implementation now that we have mid-stack inlining (see #31362). Change-Id: If5b2022dcc23e1299f1b7ba79884f1b1263d0f7f Reviewed-on: https://go-review.googlesource.com/c/go/+/173398 Run-TryBot: Michael Munday <mike.munday@ibm.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
102 lines
1.6 KiB
ArmAsm
102 lines
1.6 KiB
ArmAsm
// Copyright 2014 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.
|
|
|
|
// +build ppc64 ppc64le
|
|
|
|
#include "textflag.h"
|
|
|
|
TEXT ·Asin(SB), NOSPLIT, $0
|
|
BR ·asin(SB)
|
|
|
|
TEXT ·Acos(SB), NOSPLIT, $0
|
|
BR ·acos(SB)
|
|
|
|
TEXT ·Asinh(SB), NOSPLIT, $0
|
|
BR ·asinh(SB)
|
|
|
|
TEXT ·Acosh(SB), NOSPLIT, $0
|
|
BR ·acosh(SB)
|
|
|
|
TEXT ·Atan2(SB), NOSPLIT, $0
|
|
BR ·atan2(SB)
|
|
|
|
TEXT ·Atan(SB), NOSPLIT, $0
|
|
BR ·atan(SB)
|
|
|
|
TEXT ·Atanh(SB), NOSPLIT, $0
|
|
BR ·atanh(SB)
|
|
|
|
TEXT ·Min(SB), NOSPLIT, $0
|
|
BR ·min(SB)
|
|
|
|
TEXT ·Max(SB), NOSPLIT, $0
|
|
BR ·max(SB)
|
|
|
|
TEXT ·Erf(SB), NOSPLIT, $0
|
|
BR ·erf(SB)
|
|
|
|
TEXT ·Erfc(SB), NOSPLIT, $0
|
|
BR ·erfc(SB)
|
|
|
|
TEXT ·Exp2(SB), NOSPLIT, $0
|
|
BR ·exp2(SB)
|
|
|
|
TEXT ·Expm1(SB), NOSPLIT, $0
|
|
BR ·expm1(SB)
|
|
|
|
TEXT ·Exp(SB), NOSPLIT, $0
|
|
BR ·exp(SB)
|
|
|
|
TEXT ·Frexp(SB), NOSPLIT, $0
|
|
BR ·frexp(SB)
|
|
|
|
TEXT ·Hypot(SB), NOSPLIT, $0
|
|
BR ·hypot(SB)
|
|
|
|
TEXT ·Ldexp(SB), NOSPLIT, $0
|
|
BR ·ldexp(SB)
|
|
|
|
TEXT ·Log10(SB), NOSPLIT, $0
|
|
BR ·log10(SB)
|
|
|
|
TEXT ·Log2(SB), NOSPLIT, $0
|
|
BR ·log2(SB)
|
|
|
|
TEXT ·Log1p(SB), NOSPLIT, $0
|
|
BR ·log1p(SB)
|
|
|
|
TEXT ·Log(SB), NOSPLIT, $0
|
|
BR ·log(SB)
|
|
|
|
TEXT ·Mod(SB), NOSPLIT, $0
|
|
BR ·mod(SB)
|
|
|
|
TEXT ·Remainder(SB), NOSPLIT, $0
|
|
BR ·remainder(SB)
|
|
|
|
TEXT ·Sin(SB), NOSPLIT, $0
|
|
BR ·sin(SB)
|
|
|
|
TEXT ·Sinh(SB), NOSPLIT, $0
|
|
BR ·sinh(SB)
|
|
|
|
TEXT ·Cos(SB), NOSPLIT, $0
|
|
BR ·cos(SB)
|
|
|
|
TEXT ·Cosh(SB), NOSPLIT, $0
|
|
BR ·cosh(SB)
|
|
|
|
TEXT ·Tan(SB), NOSPLIT, $0
|
|
BR ·tan(SB)
|
|
|
|
TEXT ·Tanh(SB), NOSPLIT, $0
|
|
BR ·tanh(SB)
|
|
|
|
TEXT ·Cbrt(SB), NOSPLIT, $0
|
|
BR ·cbrt(SB)
|
|
|
|
TEXT ·Pow(SB), NOSPLIT, $0
|
|
BR ·pow(SB)
|
|
|