OSDN Git Service

* config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2001 15:42:38 +0000 (15:42 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 19 Aug 2001 15:42:38 +0000 (15:42 +0000)
        display markers during final schedule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45031 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/ia64/ia64.c

index 0970d02..3539845 100644 (file)
@@ -1,5 +1,10 @@
 2001-08-19  Richard Henderson  <rth@redhat.com>
 
+       * config/ia64/ia64.c (ia64_cycle_display): Only emit cycle
+       display markers during final schedule.
+
+2001-08-19  Richard Henderson  <rth@redhat.com>
+
        * function.c (gen_mem_addressof): Don't call get_alias_set if no decl.
 
 2001-08-19  Richard Henderson  <rth@redhat.com>
index 08660a7..ec082fc 100644 (file)
@@ -6408,7 +6408,10 @@ ia64_cycle_display (clock, last)
      int clock;
      rtx last;
 {
-  return emit_insn_after (gen_cycle_display (GEN_INT (clock)), last);
+  if (ia64_final_schedule)
+    return emit_insn_after (gen_cycle_display (GEN_INT (clock)), last);
+  else
+    return last;
 }
 \f
 /* Emit pseudo-ops for the assembler to describe predicate relations.