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

remainder.S « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 01930d3baea3fd082c1ac57ed009d74f6ca43f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

	.file	"remainder.S"
	.text
	.align 4
.globl _remainder
	.def	_remainder;	.scl	2;	.type	32;	.endef
_remainder:
	fldl	12(%esp)
	fldl	4(%esp)
1:	fprem1
	fstsw	%ax
	sahf
	jp	1b
	fstp	%st(1)
	ret