Welcome to mirror list, hosted at ThFree Co, Russian Federation.

remainderl.S « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b5ce3736d6549f024e2fa23549b26c45d02d0cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
 * Removed header file dependency for use in libmingwex.a by
 *   Danny Smith <dannysmith@users.sourceforge.net>
 */

	.file	"remainderl.S"
	.text
	.align 4
.globl _remainderl
	.def	_remainderl;	.scl	2;	.type	32;	.endef
_remainderl:
	fldt	16(%esp)
	fldt	4(%esp)
1:	fprem1
	fstsw	%ax
	sahf
	jp	1b
	fstp	%st(1)
	ret