]> gcc.gnu.org Git - gcc.git/commitdiff
m32r.c: Include integrate.h in order to get the prototype for get_hard_reg_initial_val().
authorNick Clifton <nickc@redhat.com>
Tue, 27 Jul 2004 15:43:31 +0000 (15:43 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Tue, 27 Jul 2004 15:43:31 +0000 (15:43 +0000)
* config/m32r/m32r.c: Include integrate.h in order to get the prototype for
  get_hard_reg_initial_val().
* config/m32r/m32r.md (m32rpipeline): Remove unused value "m32r" and tidy up
  indentation.
  (final_presence_set): Use absence_set instead, so that if there is nothing in
  the "o" pipe the "s" pipe can be scheduled.

From-SVN: r85221

gcc/ChangeLog
gcc/config/m32r/m32r.c
gcc/config/m32r/m32r.md

index 5c877bf0db769ad54d2405e64cd980d93619b64c..504a2da84a34710410a1b31be8399cd656be2b89 100644 (file)
@@ -1,3 +1,13 @@
+2004-07-27  Nick Clifton  <nickc@redhat.com>
+
+       * config/m32r/m32r.c: Include integrate.h in order to get the
+       prototype for get_hard_reg_initial_val().
+
+       * config/m32r/m32r.md (m32rpipeline): Remove unused value "m32r"
+       and tidy up indentation.
+       (final_presence_set): Use absence_set instead, so that if there is
+       nothing in the "o" pipe the "s" pipe can be scheduled.
+
 2004-07-27  Diego Novillo  <dnovillo@redhat.com>
 
        * tree-ssa-alias.c (create_name_tags): Ignore pointers that
index a35c394cfa0841a58a5ca7a569906057e483ed95..52dbb770555fe7fc52f30f9265a96e3e13ffbfd6 100644 (file)
@@ -38,6 +38,7 @@
 #include "recog.h"
 #include "toplev.h"
 #include "ggc.h"
+#include "integrate.h"
 #include "tm_p.h"
 #include "target.h"
 #include "target-def.h"
index c32327ab60fd0d957b08b9110f91747fc86c18a7..46c6a339aadab2db6ec998bd7fb2837ab6978fbb 100644 (file)
 ;; Defines the pipeline where an instruction can be executed on.
 ;; For the M32R, a short instruction can execute one of the two pipes.
 ;; For the M32Rx, the restrictions are modelled in the second
-;; condition of this attribute definition.
-(define_attr "m32r_pipeline" "either,s,o,long,m32r"
+;;  condition of this attribute definition.
+(define_attr "m32r_pipeline" "either,s,o,long"
   (cond [(and (eq_attr "cpu" "m32r")
              (eq_attr "insn_size" "short"))
             (const_string "either")
          (eq_attr "insn_size" "!short")
             (const_string "long")]
-       (cond [(eq_attr "type" "int2")
+        (cond [(eq_attr "type" "int2")
                   (const_string "either")
-              (eq_attr "type" "load2,store2,shift2,uncond_branch,branch,call")
+               (eq_attr "type" "load2,store2,shift2,uncond_branch,branch,call")
                   (const_string "o")
-              (eq_attr "type" "mul2")
+               (eq_attr "type" "mul2")
                   (const_string "s")]
-              (const_string "long"))))
+        (const_string "long"))))
 \f
 ;; ::::::::::::::::::::
 ;; ::
 (define_cpu_unit "o_IF,s_IF,o_E,s_E,memory" "m32r")
 
 ;; Prevent the s pipe from being reserved before the o pipe.
-(final_presence_set "s_IF" "o_IF")
-(final_presence_set "s_E" "o_E")
+(absence_set "s_IF" "o_IF")
+(absence_set "s_E"  "o_E")
 
 ;; On the M32Rx, long instructions execute on both pipes, so reserve
 ;; both fetch slots and both pipes.
This page took 0.087398 seconds and 5 git commands to generate.