~ubuntu-branches/ubuntu/vivid/gcl/vivid

« back to all changes in this revision

Viewing changes to gmp/mpn/a29k/udiv.s

  • Committer: Bazaar Package Importer
  • Author(s): Camm Maguire
  • Date: 2002-03-04 14:29:59 UTC
  • Revision ID: james.westby@ubuntu.com-20020304142959-dey14w08kr7lldu3
Tags: upstream-2.5.0.cvs20020219
ImportĀ upstreamĀ versionĀ 2.5.0.cvs20020219

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; Copyright (C) 1999, 2000 Free Software Foundation, Inc.
 
2
 
 
3
; This file is part of the GNU MP Library.
 
4
 
 
5
; The GNU MP Library is free software; you can redistribute it and/or modify
 
6
; it under the terms of the GNU Lesser General Public License as published by
 
7
; the Free Software Foundation; either version 2.1 of the License, or (at your
 
8
; option) any later version.
 
9
 
 
10
; The GNU MP Library is distributed in the hope that it will be useful, but
 
11
; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
12
; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
13
; License for more details.
 
14
 
 
15
; You should have received a copy of the GNU Lesser General Public License
 
16
; along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
 
17
; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
18
; MA 02111-1307, USA.
 
19
 
 
20
        .sect .lit,lit
 
21
        .text
 
22
        .align 4
 
23
        .global ___udiv_qrnnd
 
24
        .word 0x60000
 
25
___udiv_qrnnd:
 
26
        mtsr q,lr3
 
27
        dividu gr96,lr4,lr5
 
28
        mfsr gr116,q
 
29
        jmpi lr0
 
30
        store 0,0,gr116,lr2