OSDN Git Service

* config/sh/sh.c (sh_use_dfa_interface): Add TARGET_SH1.
[pf3gnuchains/gcc-fork.git] / gcc / genattr.c
index 9914384..41ff649 100644 (file)
@@ -1,5 +1,5 @@
 /* Generate attribute information (insn-attr.h) from machine description.
-   Copyright (C) 1991, 1994, 1996, 1998, 1999, 2000, 2003
+   Copyright (C) 1991, 1994, 1996, 1998, 1999, 2000, 2003, 2004
    Free Software Foundation, Inc.
    Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
 
@@ -165,7 +165,7 @@ write_units (int num_units, struct range *multiplicity, struct range *simultanei
   printf ("#define BLOCKAGE_BITS %d\n", i + 1);
 
   /* INSN_QUEUE_SIZE is a power of two larger than MAX_BLOCKAGE and
-     MAX_READY_COST.  This is the longest time an isnsn may be queued.  */
+     MAX_READY_COST.  This is the longest time an insn may be queued.  */
   i = MAX (blockage->max, ready_cost->max);
   for (q_size = 1; q_size <= i; q_size <<= 1)
     ;
@@ -268,8 +268,7 @@ main (int argc, char **argv)
 
          if (unit == 0)
            {
-             unit = (struct function_unit *)
-               xmalloc (sizeof (struct function_unit));
+             unit = xmalloc (sizeof (struct function_unit));
              unit->name = xstrdup (name);
              unit->multiplicity = multiplicity;
              unit->simultaneity = simultaneity;
@@ -301,12 +300,6 @@ main (int argc, char **argv)
 
   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