Annotation of OpenXM_contrib/gmp/mpn/alpha/default.m4, Revision 1.1.1.1
1.1 maekawa 1: divert(-1)
2:
3:
4: dnl Copyright (C) 2000 Free Software Foundation, Inc.
5: dnl
6: dnl This file is part of the GNU MP Library.
7: dnl
8: dnl The GNU MP Library is free software; you can redistribute it and/or
9: dnl modify it under the terms of the GNU Lesser General Public License as
10: dnl published by the Free Software Foundation; either version 2.1 of the
11: dnl License, or (at your option) any later version.
12: dnl
13: dnl The GNU MP Library is distributed in the hope that it will be useful,
14: dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
15: dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16: dnl Lesser General Public License for more details.
17: dnl
18: dnl You should have received a copy of the GNU Lesser General Public
19: dnl License along with the GNU MP Library; see the file COPYING.LIB. If
20: dnl not, write to the Free Software Foundation, Inc., 59 Temple Place -
21: dnl Suite 330, Boston, MA 02111-1307, USA.
22:
23:
24: define(`ASM_START',
25: `
26: .set noreorder
27: .set noat')
28:
29: define(`X',`0x$1')
30: define(`FLOAT64',
31: `
32: .align 3
33: $1: .t_floating $2')
34:
35: define(`PROLOGUE',
36: `
37: .text
38: .align 3
39: .globl $1
40: .ent $1
41: $1:
42: .frame r30,0,r26
43: .prologue 0')
44:
45: define(`PROLOGUE_GP',
46: `
47: .text
48: .align 3
49: .globl $1
50: .ent $1
51: $1:
52: ldgp r29,0(r27)
53: .frame r30,0,r26
54: .prologue 1')
55:
56: define(`EPILOGUE',
57: `
58: .end $1')
59:
60: dnl Map register names r0, r1, etc, to `$0', `$1', etc.
61: dnl This is needed on all systems but Unicos
62: forloop(i,0,31,
63: `define(`r'i,``$''i)'
64: )
65: forloop(i,0,31,
66: `define(`f'i,``$f''i)'
67: )
68:
69: define(`DATASTART',
70: `dnl
71: DATA
72: $1:')
73: define(`DATAEND',`dnl')
74:
75: define(`ASM_END',`dnl')
76:
77: divert
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>