gcc/
[official-gcc.git] / gcc / target-insns.def
blob8fa81ded8520970f87c50364e85d6bdc4c6b8916
1 /* Target instruction definitions.
2 Copyright (C) 2015 Free Software Foundation, Inc.
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 3, or (at your option) any
7 later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>. */
18 /* This file has one entry for each public pattern name that the target
19 can provide. It is only used if no distinction between operand modes
20 is necessary. If separate patterns are needed for different modes
21 (so as to distinguish addition of QImode values from addition of
22 HImode values, for example) then an optab should be used instead.
24 Each entry has the form:
26 DEF_TARGET_INSN (name, prototype)
28 where NAME is the name of the pattern and PROTOTYPE is its C prototype.
29 The prototype should use parameter names of the form "x0", "x1", etc.
30 Patterns that take no operands should have a prototype "(void)".
32 Instructions should be documented in md.texi rather than here. */
33 DEF_TARGET_INSN (canonicalize_funcptr_for_compare, (rtx x0, rtx x1))
34 DEF_TARGET_INSN (epilogue, (void))
35 DEF_TARGET_INSN (prologue, (void))
36 DEF_TARGET_INSN (return, (void))
37 DEF_TARGET_INSN (sibcall_epilogue, (void))
38 DEF_TARGET_INSN (simple_return, (void))