OSDN Git Service

* config/rs6000/rs6000.md (strlensi): Emit barrier after
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Mar 2006 15:37:33 +0000 (15:37 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Mar 2006 15:37:33 +0000 (15:37 +0000)
unconditional jump.

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

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index bc62af9..f844e61 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-17  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.md (strlensi): Emit barrier after
+       unconditional jump.
+
 2006-03-17  Paul Brook  <paul@codesourcery.com>
 
        * doc/install.texi: Docuemnt --with-mode.
 2006-03-17  Paul Brook  <paul@codesourcery.com>
 
        * doc/install.texi: Docuemnt --with-mode.
index fc57e5b..ab7902f 100644 (file)
   emit_jump_insn (gen_rtx_SET (VOIDmode,
                                pc_rtx,
                                gen_rtx_LABEL_REF (VOIDmode, loop_label)));
   emit_jump_insn (gen_rtx_SET (VOIDmode,
                                pc_rtx,
                                gen_rtx_LABEL_REF (VOIDmode, loop_label)));
+  emit_barrier ();
   emit_label (end_label);
   emit_insn (gen_addsi3 (scratch_string, scratch_string, scratch_dlmzb));
   emit_insn (gen_subsi3 (result, scratch_string, addr));
   emit_label (end_label);
   emit_insn (gen_addsi3 (scratch_string, scratch_string, scratch_dlmzb));
   emit_insn (gen_subsi3 (result, scratch_string, addr));