~ubuntu-branches/ubuntu/natty/eglibc/natty-security

« back to all changes in this revision

Viewing changes to sysdeps/i386/fpu/e_fmod.S

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2009-05-05 09:54:14 UTC
  • Revision ID: james.westby@ubuntu.com-20090505095414-c45qsg9ixjheohru
ImportĀ upstreamĀ versionĀ 2.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Written by J.T. Conklin <jtc@netbsd.org>.
 
3
 * Public domain.
 
4
 */
 
5
 
 
6
#include <machine/asm.h>
 
7
 
 
8
RCSID("$NetBSD: e_fmod.S,v 1.4 1995/05/08 23:47:56 jtc Exp $")
 
9
 
 
10
ENTRY(__ieee754_fmod)
 
11
        fldl    12(%esp)
 
12
        fldl    4(%esp)
 
13
1:      fprem
 
14
        fstsw   %ax
 
15
        sahf
 
16
        jp      1b
 
17
        fstp    %st(1)
 
18
        ret
 
19
END (__ieee754_fmod)