diff options
author | Roger Sayle <roger@nextmovesoftware.com> | 2021-07-31 11:06:22 +0100 |
---|---|---|
committer | Roger Sayle <roger@nextmovesoftware.com> | 2021-07-31 11:09:31 +0100 |
commit | 4c4249b71de3b15ba1e176ce90a57fb7bc54b917 (patch) | |
tree | 2c3c36a66429733a745d50b5a76a6640f57190ba /gcc | |
parent | 05bcef5a88b34dd13179cabbe902e9135cb40ffe (diff) | |
download | gcc-4c4249b71de3b15ba1e176ce90a57fb7bc54b917.zip gcc-4c4249b71de3b15ba1e176ce90a57fb7bc54b917.tar.gz gcc-4c4249b71de3b15ba1e176ce90a57fb7bc54b917.tar.bz2 |
[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 <roger@nextmovesoftware.com>
gcc/testsuite/ChangeLog
* gcc.target/i386/dec-cmov-2.c: Require -march=core2 with -m32.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/dec-cmov-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/i386/dec-cmov-2.c b/gcc/testsuite/gcc.target/i386/dec-cmov-2.c index 115db99..9fbccc3 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) { |