mailing list of musl libc
 help / color / mirror / code / Atom feed
c7859075933d4e3222739a12f5fcffac6f134eff blob 598 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
 
.include "ibt.s"

.global hypot
.type hypot,@function
hypot:
	ENDBRANCH32
	mov 8(%esp),%eax
	mov 16(%esp),%ecx
	add %eax,%eax
	add %ecx,%ecx
	and %eax,%ecx
	cmp $0xffe00000,%ecx
	jae 2f
	or 4(%esp),%eax
	jnz 1f
	fldl 12(%esp)
	fabs
	ret
1:	mov 16(%esp),%eax
	add %eax,%eax
	or 12(%esp),%eax
	jnz 1f
	fldl 4(%esp)
	fabs
	ret
1:	fldl 4(%esp)
	fld %st(0)
	fmulp
	fldl 12(%esp)
	fld %st(0)
	fmulp
	faddp
	fsqrt
	ret
2:	sub $0xffe00000,%eax
	or 4(%esp),%eax
	jnz 1f
	fldl 4(%esp)
	fabs
	ret
1:	mov 16(%esp),%eax
	add %eax,%eax
	sub $0xffe00000,%eax
	or 12(%esp),%eax
	fldl 12(%esp)
	jnz 1f
	fabs
1:	ret
debug log:

solving c7859075 ...
found c7859075 in https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
found 299c2e18 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 299c2e186cab4d9287e08e7eb79522790a35b6fc	src/math/i386/hypot.s

applying [1/1] https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
diff --git a/src/math/i386/hypot.s b/src/math/i386/hypot.s
index 299c2e18..c7859075 100644

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

index at:
100644 c7859075933d4e3222739a12f5fcffac6f134eff	src/math/i386/hypot.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).