From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1251) id B92DB385801E; Sat, 31 Jul 2021 10:09:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B92DB385801E MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Roger Sayle To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-2651] [Committed] Tweak new test case gcc.target/i386/dec-cmov-2.c X-Act-Checkin: gcc X-Git-Author: Roger Sayle X-Git-Refname: refs/heads/master X-Git-Oldrev: 05bcef5a88b34dd13179cabbe902e9135cb40ffe X-Git-Newrev: 4c4249b71de3b15ba1e176ce90a57fb7bc54b917 Message-Id: <20210731100956.B92DB385801E@sourceware.org> Date: Sat, 31 Jul 2021 10:09:56 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jul 2021 10:09:56 -0000 https://gcc.gnu.org/g:4c4249b71de3b15ba1e176ce90a57fb7bc54b917 commit r12-2651-g4c4249b71de3b15ba1e176ce90a57fb7bc54b917 Author: Roger Sayle Date: Sat Jul 31 11:06:22 2021 +0100 [Committed] Tweak new test case gcc.target/i386/dec-cmov-2.c With -m32, this test case is sensitive to the instruction timings of the target (for ifcvt to normalize bar() to foo() during the ce1 pass, prior to the transformations actually being tested here). Specifying -march=core2 prevents these failures. Committed as obvious. 2021-07-31 Roger Sayle gcc/testsuite/ChangeLog * gcc.target/i386/dec-cmov-2.c: Require -march=core2 with -m32. Diff: --- gcc/testsuite/gcc.target/i386/dec-cmov-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/dec-cmov-2.c b/gcc/testsuite/gcc.target/i386/dec-cmov-2.c index 115db992f39..9fbccc36f82 100644 --- a/gcc/testsuite/gcc.target/i386/dec-cmov-2.c +++ b/gcc/testsuite/gcc.target/i386/dec-cmov-2.c @@ -1,6 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ -/* { dg-additional-options "-march=pentiumpro -mregparm=3" { target ia32 } } */ +/* { dg-additional-options "-march=core2 -mregparm=3" { target ia32 } } */ int foo(int x) {