~xnox/ubuntu/trusty/gcc-arm-linux-androideabi/dima

« back to all changes in this revision

Viewing changes to android/bionic/libm/i387/s_copysignf.S

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-07-05 10:12:24 UTC
  • Revision ID: package-import@ubuntu.com-20130705101224-6qo3e8jbz8p31aa1
Tags: upstream-0.20130705.1
ImportĀ upstreamĀ versionĀ 0.20130705.1

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
__FBSDID("$FreeBSD: src/lib/msun/i387/s_copysignf.S,v 1.1 2005/01/13 18:58:25 das Exp $");
 
9
/* RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") */
 
10
 
 
11
ENTRY(copysignf)
 
12
        movl    8(%esp),%edx
 
13
        andl    $0x80000000,%edx
 
14
        movl    4(%esp),%eax
 
15
        andl    $0x7fffffff,%eax
 
16
        orl     %edx,%eax
 
17
        movl    %eax,4(%esp)
 
18
        flds    4(%esp)
 
19
        ret