This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Remove TRADITIONAL_PIPELINE_INTERFACE andDFA_PIPELINE_INTERFACE.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: vmakarov at redhat dot com
- Date: Sat, 28 Feb 2004 14:44:23 -0500 (EST)
- Subject: [patch] Remove TRADITIONAL_PIPELINE_INTERFACE andDFA_PIPELINE_INTERFACE.
Hi,
Attached is a patch to remove TRADITIONAL_PIPELINE_INTERFACE and
DFA_PIPELINE_INTERFACE as they are unused.
I guess port maintainers know which pipeline descriptions they have.
Bootstrapped on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
2004-02-28 Kazu Hirata <kazu@cs.umass.edu>
* genattr.c (main): Don't define
TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE.
* system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison.
(DFA_PIPELINE_INTERFACE): Likewise.
* doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove.
(DFA_PIPELINE_INTERFACE): Likewise.
Index: genattr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/genattr.c,v
retrieving revision 1.60
diff -u -r1.60 genattr.c
--- genattr.c 19 Jul 2003 14:47:06 -0000 1.60
+++ genattr.c 27 Feb 2004 01:44:22 -0000
@@ -300,12 +300,6 @@
if (num_units > 0 || num_insn_reservations > 0)
{
- if (num_units > 0)
- printf ("#define TRADITIONAL_PIPELINE_INTERFACE 1\n");
-
- if (num_insn_reservations > 0)
- printf ("#define DFA_PIPELINE_INTERFACE 1\n");
-
/* Compute the range of blockage cost values. See genattrtab.c
for the derivation. BLOCKAGE (E,C) when SIMULTANEITY is zero is
Index: system.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/system.h,v
retrieving revision 1.201
diff -u -r1.201 system.h
--- system.h 26 Feb 2004 23:32:08 -0000 1.201
+++ system.h 27 Feb 2004 01:44:23 -0000
@@ -638,7 +638,8 @@
LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \
GIV_SORT_CRITERION MAX_LONG_TYPE_SIZE MAX_LONG_DOUBLE_TYPE_SIZE \
MAX_WCHAR_TYPE_SIZE GCOV_TYPE_SIZE SHARED_SECTION_ASM_OP \
- FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE
+ FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \
+ TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
Index: doc/tm.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tm.texi,v
retrieving revision 1.303
diff -u -r1.303 tm.texi
--- doc/tm.texi 26 Feb 2004 23:32:09 -0000 1.303
+++ doc/tm.texi 27 Feb 2004 01:44:31 -0000
@@ -5708,24 +5708,6 @@
Macros in the following table are generated by the program
@file{genattr} and can be useful for writing the hooks.
-@defmac TRADITIONAL_PIPELINE_INTERFACE
-The macro definition is generated if there is a traditional pipeline
-description in @file{.md} file. You should also remember that to
-simplify the insn scheduler sources an empty traditional pipeline
-description interface is generated even if there is no a traditional
-pipeline description in the @file{.md} file. The macro can be used to
-distinguish the two types of the traditional interface.
-@end defmac
-
-@defmac DFA_PIPELINE_INTERFACE
-The macro definition is generated if there is an automaton pipeline
-description in @file{.md} file. You should also remember that to
-simplify the insn scheduler sources an empty automaton pipeline
-description interface is generated even if there is no an automaton
-pipeline description in the @file{.md} file. The macro can be used to
-distinguish the two types of the automaton interface.
-@end defmac
-
@defmac MAX_DFA_ISSUE_RATE
The macro definition is generated in the automaton based pipeline
description interface. Its value is calculated from the automaton