xref: /netbsd-src/external/lgpl3/gmp/dist/mpn/arm/arm-defs.m4 (revision 1b9578b8c2c1f848eeb16dabbfd7d1f0d9fdefbd)
1divert(-1)
2
3dnl  m4 macros for ARM assembler.
4
5dnl  Copyright 2001 Free Software Foundation, Inc.
6dnl
7dnl  This file is part of the GNU MP Library.
8dnl
9dnl  The GNU MP Library is free software; you can redistribute it and/or
10dnl  modify it under the terms of the GNU Lesser General Public License as
11dnl  published by the Free Software Foundation; either version 3 of the
12dnl  License, or (at your option) any later version.
13dnl
14dnl  The GNU MP Library is distributed in the hope that it will be useful,
15dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
16dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17dnl  Lesser General Public License for more details.
18dnl
19dnl  You should have received a copy of the GNU Lesser General Public License
20dnl  along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
21
22
23dnl  Standard commenting is with @, the default m4 # is for constants and we
24dnl  don't want to disable macro expansions in or after them.
25
26changecom(@)
27
28
29dnl  APCS register names.
30
31deflit(a1,r0)
32deflit(a2,r1)
33deflit(a3,r2)
34deflit(a4,r3)
35deflit(v1,r4)
36deflit(v2,r5)
37deflit(v3,r6)
38deflit(v4,r7)
39deflit(v5,r8)
40deflit(v6,r9)
41deflit(sb,r9)
42deflit(v7,r10)
43deflit(sl,r10)
44deflit(fp,r11)
45deflit(ip,r12)
46deflit(sp,r13)
47deflit(lr,r14)
48deflit(pc,r15)
49
50divert
51