Annotation of OpenXM_contrib/gmp/mpn/sparc32/umul.asm, Revision 1.1.1.2
1.1 maekawa 1: dnl SPARC mpn_umul_ppmm -- support for longlong.h for non-gcc.
2:
1.1.1.2 ! ohara 3: dnl Copyright 1995, 1996, 2000 Free Software Foundation, Inc.
1.1 maekawa 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)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>