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