1 /* Definitions of prototypes for RISC
-V built
-in functions.
-*- C
-*-
2 Copyright (C
) 2011-2018 Free Software Foundation
, Inc.
3 Contributed by Andrew
Waterman (andrew@sifive.com
).
4 Based on MIPS target for GNU compiler.
6 This file is part of GCC.
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
)
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.
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 <http
://www.gnu.org
/licenses
/>.
*/
22 /* Invoke
DEF_RISCV_FTYPE (NARGS
, LIST
) for each prototype used by
23 RISCV built
-in functions
, where
:
25 NARGS is the number of arguments.
26 LIST contains the return
-type code followed by the codes for each
29 DEF_RISCV_FTYPE (1, (USI
, VOID
))
30 DEF_RISCV_FTYPE (1, (VOID
, USI
))