Mercurial > mxe-octave
comparison src/build-msvctools/math/remainderf.S @ 3061:f8299bb6c872
Initial support for native MSVC compilation.
* add MSVC support files: compiler wrappers and support libraries
* adapt libiconv to work with MSVC
* adapt gettext to work with MSVC
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Mon, 17 Jun 2013 22:43:11 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
3060:cbdf4575016d | 3061:f8299bb6c872 |
---|---|
1 /* | |
2 * Written by J.T. Conklin <jtc@netbsd.org>. | |
3 * Public domain. | |
4 */ | |
5 | |
6 .file "remainderf.S" | |
7 .text | |
8 .align 4 | |
9 .globl _remainder | |
10 .def _remainderf; .scl 2; .type 32; .endef | |
11 _remainderf: | |
12 flds 8(%esp) | |
13 flds 4(%esp) | |
14 1: fprem1 | |
15 fstsw %ax | |
16 sahf | |
17 jp 1b | |
18 fstp %st(1) | |
19 ret |