master
 1/**
 2 * This file has no copyright assigned and is placed in the Public Domain.
 3 * This file is part of the mingw-w64 runtime package.
 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
 5 */
 6#include <_mingw_mac.h>
 7
 8	.file	"sincos.S"
 9	.text
10	.align 2
11	/* zig patch: remove sincos symbol because sincos in compiler_rt is used instead */
12	.globl __MINGW_USYMBOL(sincosl)
13	.def	__MINGW_USYMBOL(sincosl);	.scl	2;	.type	32;	.endef
14__MINGW_USYMBOL(sincosl):
15	push {r4, r5, r11, lr}
16	add r11, sp, #8
17	vpush {d8}
18
19	mov r4, r0
20	mov r5, r1
21	vmov.f64 d8, d0
22	bl sin
23	vstr d0, [r4]
24
25	vmov.f64 d0, d8
26	bl cos
27	vstr d0, [r5]
28
29	vpop {d8}
30	pop {r4, r5, r11, pc}