~ubuntu-branches/ubuntu/gutsy/avr-libc/gutsy

« back to all changes in this revision

Viewing changes to libm/fplib/divsf3.S

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2006-11-15 21:12:47 UTC
  • mfrom: (3.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20061115211247-b7qhgnb6o49v5zsg
Tags: 1:1.4.5-2
* Convertion to debheler fixed (closes: #398220)
* Reference to /usr/share/common-licenses in copyright file

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
   POSSIBILITY OF SUCH DAMAGE. 
33
33
*/
34
34
 
 
35
/* $Id: divsf3.S,v 1.5.2.1 2005/12/06 20:47:49 aesok Exp $ */
 
36
 
35
37
/*
36
38
    divsf3.S is part of     FPlib V 0.3.0       ported to avr-as
37
39
    for details see readme.fplib
46
48
 */
47
49
 
48
50
#include "gasava.inc"
 
51
#include "macros.inc"
49
52
#include "fplib.inc"
50
53
 
51
54
          TEXT_SEG(fplib, __divsf3)
52
 
          FUNCTION(__fp_inverse)
 
55
          FUNCTION(__divsf3)
53
56
 
54
 
GLOBAL(__fp_inverse)
55
 
     MOV     rB3,rA3
56
 
     MOV     rB2,rA2
57
 
     MOV     rB1,rA1
58
 
     MOV     rB0,rA0
59
 
     LDI     rA3,0x3F
60
 
     LDI     rA2,0x80
61
 
     CLR     rA1
62
 
     CLR     rA0           ; 1.0 / x
63
57
GLOBAL(__divsf3)
64
58
     RCALL   _U(__fp_split3)
65
59
     RCALL   _U(__divsf3x)