* arm.md (all call_value patterns): Remove register constraints on
[official-gcc.git] / gcc / config / frv / frv-asm.h
blobe8447a6093d2e5ec9efdb3bed6eff299f9be3416
1 /* Assembler Support.
2 Copyright (C) 2000 Free Software Foundation, Inc.
3 Contributed by Red Hat, Inc.
5 This file is part of GNU CC.
7 GNU CC is free software ; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation * either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY ; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 /* P(INSN): Emit INSN.P for VLIW machines, otherwise emit plain INSN.
23 P2(INSN): Emit INSN.P on the FR500 and above, otherwise emit plain INSN. */
24 #ifdef __FRV_VLIW__
25 #ifdef __STDC__
26 #define P(A) A##.p
27 #else
28 #define P(A) A/**/.p
29 #endif
30 #if __FRV_VLIW__ > 2
31 #define P2(A) P(A)
32 #else
33 #define P2(A) A
34 #endif
35 #else
36 #define P(A) A
37 #define P2(A) A
38 #endif
40 /* Add underscore if necessary to external name. */
41 #ifdef __FRV_UNDERSCORE__
42 #ifdef __STDC__
43 #define EXT(NAME) _##NAME
44 #else
45 #define EXT(NAME) _/**/NAME
46 #endif
47 #else
48 #define EXT(NAME) NAME
49 #endif