mailing list of musl libc
 help / color / mirror / code / Atom feed
d5360a95f38cd6031222e7f63ecde5543385c2d1 blob 941 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
 
.include "ibt.s"

.global floorf
.type floorf,@function
floorf:
	ENDBRANCH32
	flds 4(%esp)
	jmp 1f

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

.global floor
.type floor,@function
floor:
	ENDBRANCH32
	fldl 4(%esp)
1:	mov $0x7,%al
1:	fstcw 4(%esp)
	mov 5(%esp),%ah
	mov %al,5(%esp)
	fldcw 4(%esp)
	frndint
	mov %ah,5(%esp)
	fldcw 4(%esp)
	ret

.global ceil
.type ceil,@function
ceil:
	ENDBRANCH32
	fldl 4(%esp)
	mov $0xb,%al
	jmp 1b

.global ceilf
.type ceilf,@function
ceilf:
	ENDBRANCH32
	flds 4(%esp)
	mov $0xb,%al
	jmp 1b

.global ceill
.type ceill,@function
ceill:
	ENDBRANCH32
	fldt 4(%esp)
	mov $0xb,%al
	jmp 1b

.global trunc
.type trunc,@function
trunc:
	ENDBRANCH32
	fldl 4(%esp)
	mov $0xf,%al
	jmp 1b

.global truncf
.type truncf,@function
truncf:
	ENDBRANCH32
	flds 4(%esp)
	mov $0xf,%al
	jmp 1b

.global truncl
.type truncl,@function
truncl:
	ENDBRANCH32
	fldt 4(%esp)
	mov $0xf,%al
	jmp 1b
debug log:

solving d5360a95 ...
found d5360a95 in https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
found 46ba88db in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 46ba88db535dbd16161fdd95d441c9ea9066eb61	src/math/i386/floor.s

applying [1/1] https://inbox.vuxu.org/musl/20201019224342.53303-5-joao.moreira@intel.com/
diff --git a/src/math/i386/floor.s b/src/math/i386/floor.s
index 46ba88db..d5360a95 100644

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

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