From: Richard Sandiford Date: Sat, 1 Feb 2014 11:50:38 +0000 (+0000) Subject: ssa-dom-thread-4.c: Adjust expected MIPS output. X-Git-Tag: upstream/12.2.0~64980 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1a9abc60810e20c872cece3da3dd94e1fee90e3;p=platform%2Fupstream%2Fgcc.git ssa-dom-thread-4.c: Adjust expected MIPS output. gcc/testsuite/ * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Adjust expected MIPS output. From-SVN: r207386 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index edf89ac..b4c6fdd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2014-02-01 Richard Sandiford + * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Adjust expected MIPS output. + +2014-02-01 Richard Sandiford + * g++.dg/pr49718.C: Use -mno-relax-pic-calls for MIPS. 2014-02-01 Richard Sandiford diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c index 0e4797c..6b0f1b9 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-4.c @@ -66,7 +66,7 @@ bitmap_ior_and_compl (bitmap dst, const_bitmap a, const_bitmap b, "a_elt || b_elt" and "b_elt && kill_elt" into two conditions each, rather than using "(var1 != 0) op (var2 != 0)". Also, as on other targets, we duplicate the header of the inner "while" loop. There are then - 6 threading opportunities: + 4 threading opportunities: 1x "!a_elt && b_elt" in the outer "while" loop -> the start of the inner "while" loop, @@ -74,16 +74,13 @@ bitmap_ior_and_compl (bitmap dst, const_bitmap a, const_bitmap b, 1x "!b_elt" in the first condition -> the outer "while" loop's continuation point, skipping the known-false "b_elt" in the second condition. - 2x "!kill_elt" in the inner "while" loop - -> the outer "while" loop's continuation point, - skipping the known-false "b_elt && kill_elt" in the second condition - 2x "kill_elt->indx < b_elt->indx" in the first "while" loop + 2x "kill_elt->indx >= b_elt->indx" in the first "while" loop -> "kill_elt->indx == b_elt->indx" in the second condition, skipping the known-true "b_elt && kill_elt" in the second condition. */ /* Likewise for arc. */ /* For avr, BRANCH_COST is by default 0, so the default LOGICAL_OP_NON_SHORT_CIRCUIT definition also computes as 0. */ -/* { dg-final { scan-tree-dump-times "Threaded" 6 "dom1" { target mips*-*-* avr-*-* arc*-*-* } } } */ +/* { dg-final { scan-tree-dump-times "Threaded" 4 "dom1" { target mips*-*-* avr-*-* arc*-*-* } } } */ /* { dg-final { cleanup-tree-dump "dom1" } } */