public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Jeff Law <law@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-156] Adjust x86 testsuite for recent if-conversion cost checking Date: Fri, 21 Apr 2023 18:24:27 +0000 (GMT) [thread overview] Message-ID: <20230421182427.04640385772A@sourceware.org> (raw) https://gcc.gnu.org/g:f1f18198b069f461155191ecba41bc87bf5689dd commit r14-156-gf1f18198b069f461155191ecba41bc87bf5689dd Author: Jeff Law <jlaw@ventanamicro> Date: Fri Apr 21 12:22:24 2023 -0600 Adjust x86 testsuite for recent if-conversion cost checking gcc/testsuite PR testsuite/109549 * gcc.target/i386/cmov6.c: No longer expect this test to generate 'cmov' instructions. Diff: --- gcc/testsuite/gcc.target/i386/cmov6.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/i386/cmov6.c b/gcc/testsuite/gcc.target/i386/cmov6.c index 535326e4c2a..5111c8a9099 100644 --- a/gcc/testsuite/gcc.target/i386/cmov6.c +++ b/gcc/testsuite/gcc.target/i386/cmov6.c @@ -1,6 +1,9 @@ /* { dg-do compile } */ /* { dg-options "-O2 -march=k8" } */ -/* { dg-final { scan-assembler "cmov\[^6\]" } } */ +/* if-converting this sequence would require two cmov + instructions and seems to always cost more independent + of the TUNE_ONE_IF_CONV setting. */ +/* { dg-final { scan-assembler-not "cmov\[^6\]" } } */ /* Verify that blocks are converted to conditional moves. */ extern int bar (int, int);
reply other threads:[~2023-04-21 18:24 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230421182427.04640385772A@sourceware.org \ --to=law@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).