~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to src/gmp/mpn/sparc32/umul.asm

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2006-05-17 02:46:26 UTC
  • Revision ID: james.westby@ubuntu.com-20060517024626-lljr08ftv9g9vefl
Tags: upstream-0.9h-20060510
ImportĀ upstreamĀ versionĀ 0.9h-20060510

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl  SPARC mpn_umul_ppmm -- support for longlong.h for non-gcc.
 
2
 
 
3
dnl  Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
 
4
 
 
5
dnl  This file is part of the GNU MP Library.
 
6
 
 
7
dnl  The GNU MP Library is free software; you can redistribute it and/or modify
 
8
dnl  it under the terms of the GNU Lesser General Public License as published
 
9
dnl  by the Free Software Foundation; either version 2.1 of the License, or (at
 
10
dnl  your option) any later version.
 
11
 
 
12
dnl  The GNU MP Library is distributed in the hope that it will be useful, but
 
13
dnl  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
14
dnl  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
15
dnl  License for more details.
 
16
 
 
17
dnl  You should have received a copy of the GNU Lesser General Public License
 
18
dnl  along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
 
19
dnl  the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 
20
dnl  MA 02111-1307, USA.
 
21
 
 
22
 
 
23
include(`../config.m4')
 
24
 
 
25
ASM_START()
 
26
PROLOGUE(mpn_umul_ppmm)
 
27
        wr      %g0,%o1,%y
 
28
        sra     %o2,31,%g2      C Don't move this insn
 
29
        and     %o1,%g2,%g2     C Don't move this insn
 
30
        andcc   %g0,0,%g1       C Don't move this insn
 
31
        mulscc  %g1,%o2,%g1
 
32
        mulscc  %g1,%o2,%g1
 
33
        mulscc  %g1,%o2,%g1
 
34
        mulscc  %g1,%o2,%g1
 
35
        mulscc  %g1,%o2,%g1
 
36
        mulscc  %g1,%o2,%g1
 
37
        mulscc  %g1,%o2,%g1
 
38
        mulscc  %g1,%o2,%g1
 
39
        mulscc  %g1,%o2,%g1
 
40
        mulscc  %g1,%o2,%g1
 
41
        mulscc  %g1,%o2,%g1
 
42
        mulscc  %g1,%o2,%g1
 
43
        mulscc  %g1,%o2,%g1
 
44
        mulscc  %g1,%o2,%g1
 
45
        mulscc  %g1,%o2,%g1
 
46
        mulscc  %g1,%o2,%g1
 
47
        mulscc  %g1,%o2,%g1
 
48
        mulscc  %g1,%o2,%g1
 
49
        mulscc  %g1,%o2,%g1
 
50
        mulscc  %g1,%o2,%g1
 
51
        mulscc  %g1,%o2,%g1
 
52
        mulscc  %g1,%o2,%g1
 
53
        mulscc  %g1,%o2,%g1
 
54
        mulscc  %g1,%o2,%g1
 
55
        mulscc  %g1,%o2,%g1
 
56
        mulscc  %g1,%o2,%g1
 
57
        mulscc  %g1,%o2,%g1
 
58
        mulscc  %g1,%o2,%g1
 
59
        mulscc  %g1,%o2,%g1
 
60
        mulscc  %g1,%o2,%g1
 
61
        mulscc  %g1,%o2,%g1
 
62
        mulscc  %g1,%o2,%g1
 
63
        mulscc  %g1,0,%g1
 
64
        rd      %y,%g3
 
65
        st      %g3,[%o0]
 
66
        retl
 
67
        add     %g1,%g2,%o0
 
68
EPILOGUE(mpn_umul_ppmm)