math: consolidate assembly stub implementations
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>
Showing
src/math/asin_arm.s
deleted
100644 → 0
src/math/atan2_arm.s
deleted
100644 → 0
src/math/atan_arm.s
deleted
100644 → 0
src/math/cbrt_stub.s
deleted
100644 → 0
src/math/dim_386.s
deleted
100644 → 0
src/math/dim_arm.s
deleted
100644 → 0
src/math/erf_stub.s
deleted
100644 → 0
src/math/exp2_arm.s
deleted
100644 → 0
src/math/exp_386.s
deleted
100644 → 0
src/math/exp_arm.s
deleted
100644 → 0
src/math/expm1_arm.s
deleted
100644 → 0
src/math/floor_arm.s
deleted
100644 → 0
src/math/frexp_arm.s
deleted
100644 → 0
src/math/hypot_arm.s
deleted
100644 → 0
src/math/ldexp_arm.s
deleted
100644 → 0
src/math/log10_arm.s
deleted
100644 → 0
src/math/log1p_arm.s
deleted
100644 → 0
src/math/log_arm.s
deleted
100644 → 0
src/math/mod_amd64.s
deleted
100644 → 0
src/math/mod_arm.s
deleted
100644 → 0
src/math/modf_arm.s
deleted
100644 → 0
src/math/sin_386.s
deleted
100644 → 0
src/math/sin_amd64.s
deleted
100644 → 0
src/math/sin_arm.s
deleted
100644 → 0
src/math/sinh_stub.s
deleted
100644 → 0
src/math/stubs_386.s
0 → 100644
src/math/stubs_amd64.s
0 → 100644
src/math/stubs_arm.s
0 → 100644
This diff is collapsed.
src/math/tan_386.s
deleted
100644 → 0
src/math/tan_amd64.s
deleted
100644 → 0
src/math/tan_arm.s
deleted
100644 → 0
Please register or sign in to comment