Tizen 2.1 base
[external/gmp.git] / mpn / sparc32 / sparc-defs.m4
1 divert(-1)
2
3 dnl  m4 macros for SPARC assembler (32 and 64 bit).
4
5
6 dnl  Copyright 2002 Free Software Foundation, Inc.
7 dnl
8 dnl  This file is part of the GNU MP Library.
9 dnl
10 dnl  The GNU MP Library is free software; you can redistribute it and/or
11 dnl  modify it under the terms of the GNU Lesser General Public License as
12 dnl  published by the Free Software Foundation; either version 3 of the
13 dnl  License, or (at your option) any later version.
14 dnl
15 dnl  The GNU MP Library is distributed in the hope that it will be useful,
16 dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
17 dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 dnl  Lesser General Public License for more details.
19 dnl
20 dnl  You should have received a copy of the GNU Lesser General Public License
21 dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
22
23
24 changecom(!)
25
26
27 dnl  Usage: REGISTER(reg,attr)
28 dnl
29 dnl  Give a ".register reg,attr" directive, if the assembler supports it.
30 dnl  HAVE_REGISTER comes from the GMP_ASM_SPARC_REGISTER configure test.
31
32 define(REGISTER,
33 m4_assert_numargs(2)
34 m4_assert_defined(`HAVE_REGISTER')
35 `ifelse(HAVE_REGISTER,yes,
36 `.register `$1',`$2'')')
37
38
39 divert