Skip to content

libc: replace musl's and MinGW's trigonometric functions with compiler_rt's #24034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lib/libc/mingw/math/arm/sincos.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
.file "sincos.S"
.text
.align 2
.globl __MINGW_USYMBOL(sincos)
/* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */
.globl __MINGW_USYMBOL(sincosl)
.def __MINGW_USYMBOL(sincos); .scl 2; .type 32; .endef
.def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef
__MINGW_USYMBOL(sincos):
__MINGW_USYMBOL(sincosl):
push {r4, r5, r11, lr}
add r11, sp, #8
Expand Down
29 changes: 0 additions & 29 deletions lib/libc/mingw/math/arm/sincosf.S

This file was deleted.

4 changes: 1 addition & 3 deletions lib/libc/mingw/math/arm64/sincos.S
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
.file "sincos.S"
.text
.align 2
.globl __MINGW_USYMBOL(sincos)
/* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */
.globl __MINGW_USYMBOL(sincosl)
.def __MINGW_USYMBOL(sincos); .scl 2; .type 32; .endef
.def __MINGW_USYMBOL(sincosl); .scl 2; .type 32; .endef
__MINGW_USYMBOL(sincos):
__MINGW_USYMBOL(sincosl):
str d8, [sp, #-32]!
str x30, [sp, #8]
Expand Down
31 changes: 0 additions & 31 deletions lib/libc/mingw/math/arm64/sincosf.S

This file was deleted.

11 changes: 0 additions & 11 deletions lib/libc/mingw/math/x86/cosf.c

This file was deleted.

52 changes: 0 additions & 52 deletions lib/libc/mingw/math/x86/cossin.c

This file was deleted.

11 changes: 0 additions & 11 deletions lib/libc/mingw/math/x86/sinf.c

This file was deleted.

11 changes: 0 additions & 11 deletions lib/libc/mingw/math/x86/tanf.c

This file was deleted.

77 changes: 0 additions & 77 deletions lib/libc/musl/src/math/cos.c

This file was deleted.

78 changes: 0 additions & 78 deletions lib/libc/musl/src/math/cosf.c

This file was deleted.

Loading
Loading