URL
https://opencores.org/ocsvn/hf-risc/hf-risc/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
13 |
serginhofr |
/* Definitions of prototypes for RISC-V built-in functions.
|
2 |
|
|
Copyright (C) 2011-2014 Free Software Foundation, Inc.
|
3 |
|
|
Contributed by Andrew Waterman (waterman@cs.berkeley.edu) at UC Berkeley.
|
4 |
|
|
Based on MIPS target for GNU compiler.
|
5 |
|
|
|
6 |
|
|
This file is part of GCC.
|
7 |
|
|
|
8 |
|
|
GCC is free software; you can redistribute it and/or modify
|
9 |
|
|
it under the terms of the GNU General Public License as published by
|
10 |
|
|
the Free Software Foundation; either version 3, or (at your option)
|
11 |
|
|
any later version.
|
12 |
|
|
|
13 |
|
|
GCC is distributed in the hope that it will be useful,
|
14 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
|
|
GNU General Public License for more details.
|
17 |
|
|
|
18 |
|
|
You should have received a copy of the GNU General Public License
|
19 |
|
|
along with GCC; see the file COPYING3. If not see
|
20 |
|
|
. */
|
21 |
|
|
|
22 |
|
|
/* Invoke DEF_RISCV_FTYPE (NARGS, LIST) for each prototype used by
|
23 |
|
|
MIPS built-in functions, where:
|
24 |
|
|
|
25 |
|
|
NARGS is the number of arguments.
|
26 |
|
|
LIST contains the return-type code followed by the codes for each
|
27 |
|
|
argument type.
|
28 |
|
|
|
29 |
|
|
Argument- and return-type codes are either modes or one of the following:
|
30 |
|
|
|
31 |
|
|
VOID for void_type_node
|
32 |
|
|
INT for integer_type_node
|
33 |
|
|
POINTER for ptr_type_node
|
34 |
|
|
|
35 |
|
|
(we don't use PTR because that's a ANSI-compatibillity macro).
|
36 |
|
|
|
37 |
|
|
Please keep this list lexicographically sorted by the LIST argument. */
|
38 |
|
|
|
39 |
|
|
DEF_RISCV_FTYPE (1, (VOID, VOID))
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.