* config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
authorUlrich Weigand <uweigand@de.ibm.com>
Wed, 23 Apr 2003 17:13:11 +0000 (17:13 +0000)
committerUlrich Weigand <uweigand@gcc.gnu.org>
Wed, 23 Apr 2003 17:13:11 +0000 (17:13 +0000)
From-SVN: r66002

gcc/ChangeLog
gcc/config/s390/s390.c

index 22312ac37fa963df8952814e039b99e30dbbb0b7..c263b1608bd0950ee7b7dccb8bc5ddf2ae12ae37 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
+
 2003-04-23  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.h (TARGET_OPTIONS): Add value field.
index 38c630db48c0f0651e2924e730c897234d740226..2a4938152aae5e34cc0f91775c39f3fca7fdc846 100644 (file)
@@ -2963,7 +2963,7 @@ s390_expand_cmpstr (target, op0, op1, len)
         emit_move_insn (target, const0_rtx);
     }
 
-  else if (TARGET_MVCLE)
+  else /* if (TARGET_MVCLE) */
     {
       enum machine_mode double_mode = TARGET_64BIT ? TImode : DImode;
       enum machine_mode single_mode = TARGET_64BIT ? DImode : SImode;
@@ -2982,6 +2982,9 @@ s390_expand_cmpstr (target, op0, op1, len)
       emit_insn ((*gen_result) (target));
     }
 
+#if 0
+  /* Deactivate for now as profile code cannot cope with
+     CC being live across basic block boundaries.  */
   else
     {
       rtx addr0, addr1, count, blocks, temp;
@@ -3047,6 +3050,7 @@ s390_expand_cmpstr (target, op0, op1, len)
 
       emit_insn ((*gen_result) (target));
     }
+#endif
 }
 
 /* This is called from dwarf2out.c via ASM_OUTPUT_DWARF_DTPREL.