mailing list of musl libc
 help / color / mirror / code / Atom feed
7e49409b4e83c60516bdcb168ef89905da210630 blob 640 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
 
.global asinf
.type asinf,@function
asinf:
	flds 4(%esp)
	mov 4(%esp),%eax
	add %eax,%eax
	cmp $0x01000000,%eax
	jae 1f
		# subnormal x, return x with underflow
	fnstsw %ax
	and $16,%ax
	jnz 2f
	push %eax
	fld %st(0)
	fmul %st(1)
	fstps (%esp)
	pop %eax
2:	ret

.global asinl
.type asinl,@function
asinl:
	fldt 4(%esp)
	jmp 1f

.global asin
.type asin,@function
asin:
	fldl 4(%esp)
	mov 8(%esp),%eax
	add %eax,%eax
	cmp $0x00200000,%eax
	jae 1f
		# subnormal x, return x with underflow
	fnstsw %ax
	and $16,%ax
	jnz 2f
	push %eax
	fsts (%esp)
	pop %eax
2:	ret
1:	fld %st(0)
	fld1
	fsub %st(0),%st(1)
	fadd %st(2)
	fmulp
	fsqrt
	fpatan
	ret
debug log:

solving 7e49409 ...
found 7e49409 in https://inbox.vuxu.org/musl/20130812192704.GE5368@port70.net/
found 932c754 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 932c7542442787f30361489b3f4e9d57fed7ffec	src/math/i386/asin.s

applying [1/1] https://inbox.vuxu.org/musl/20130812192704.GE5368@port70.net/
diff --git a/src/math/i386/asin.s b/src/math/i386/asin.s
index 932c754..7e49409 100644

Checking patch src/math/i386/asin.s...
Applied patch src/math/i386/asin.s cleanly.

index at:
100644 7e49409b4e83c60516bdcb168ef89905da210630	src/math/i386/asin.s

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).