diff options
author | kan <kan@FreeBSD.org> | 2004-07-28 03:11:36 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2004-07-28 03:11:36 +0000 |
commit | 5e00ec74d8ce58f99801200d4d3d0412c7cc1b28 (patch) | |
tree | 052f4bb635f2bea2c5e350bd60c902be100a0d1e /contrib/gcc/genattrtab.h | |
parent | 87b8398a7d9f9bf0e28bbcd54a4fc27db2125f38 (diff) | |
download | FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.zip FreeBSD-src-5e00ec74d8ce58f99801200d4d3d0412c7cc1b28.tar.gz |
Gcc 3.4.2 20040728.
Diffstat (limited to 'contrib/gcc/genattrtab.h')
-rw-r--r-- | contrib/gcc/genattrtab.h | 59 |
1 files changed, 37 insertions, 22 deletions
diff --git a/contrib/gcc/genattrtab.h b/contrib/gcc/genattrtab.h index ea1f239..1af43c0 100644 --- a/contrib/gcc/genattrtab.h +++ b/contrib/gcc/genattrtab.h @@ -1,43 +1,58 @@ /* External definitions of source files of genattrtab. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2003 Free Software Foundation, Inc. -This file is part of GNU CC. +This file is part of GCC. -GNU CC is free software; you can redistribute it and/or modify +GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -GNU CC is distributed in the hope that it will be useful, +GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with GNU CC; see the file COPYING. If not, write to +along with GCC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +/* Name of function (attribute) to translate insn into number of insn + alternatives reservation. */ +#define INSN_ALTS_FUNC_NAME "insn_alts" + /* Defined in genattrtab.c: */ -extern rtx check_attr_test PARAMS ((rtx, int, int)); -extern rtx make_numeric_value PARAMS ((int)); -extern void make_internal_attr PARAMS ((const char *, rtx, int)); -extern char *attr_printf PARAMS ((unsigned int, const char *, ...)) +extern rtx check_attr_test (rtx, int, int); +extern rtx make_numeric_value (int); +extern void make_internal_attr (const char *, rtx, int); +extern char *attr_printf (unsigned int, const char *, ...) ATTRIBUTE_PRINTF_2; extern int num_dfa_decls; /* Defined in genautomata.c: */ -extern void gen_cpu_unit PARAMS ((rtx)); -extern void gen_query_cpu_unit PARAMS ((rtx)); -extern void gen_bypass PARAMS ((rtx)); -extern void gen_excl_set PARAMS ((rtx)); -extern void gen_presence_set PARAMS ((rtx)); -extern void gen_absence_set PARAMS ((rtx)); -extern void gen_automaton PARAMS ((rtx)); -extern void gen_automata_option PARAMS ((rtx)); -extern void gen_reserv PARAMS ((rtx)); -extern void gen_insn_reserv PARAMS ((rtx)); -extern void initiate_automaton_gen PARAMS ((int, char **)); -extern void expand_automata PARAMS ((void)); -extern void write_automata PARAMS ((void)); +extern void gen_cpu_unit (rtx); +extern void gen_query_cpu_unit (rtx); +extern void gen_bypass (rtx); +extern void gen_excl_set (rtx); +extern void gen_presence_set (rtx); +extern void gen_final_presence_set (rtx); +extern void gen_absence_set (rtx); +extern void gen_final_absence_set (rtx); +extern void gen_automaton (rtx); +extern void gen_automata_option (rtx); +extern void gen_reserv (rtx); +extern void gen_insn_reserv (rtx); +extern void initiate_automaton_gen (int, char **); +extern void expand_automata (void); +extern void write_automata (void); + +/* Flags for make_internal_attr's `special' parameter. */ +#define ATTR_NONE 0 +#define ATTR_SPECIAL (1 << 0) +#define ATTR_NEGATIVE_OK (1 << 1) +#define ATTR_UNSIGNED (1 << 2) +#define ATTR_FUNC_UNITS (1 << 3) +#define ATTR_BLOCKAGE (1 << 4) +#define ATTR_STATIC (1 << 5) |