From: Di Zhao OS <dizhao@os.amperecomputing.com>
To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: [PATCH] [tree-optimization/110279] fix testcase pr110279-1.c
Date: Wed, 22 May 2024 11:46:42 +0000 [thread overview]
Message-ID: <SJ2PR01MB8193FE48847E289D12C76171E8EB2@SJ2PR01MB8193.prod.exchangelabs.com> (raw)
The test case is for targets that support FMA. Previously
the "target" selector is missed in dg-final command.
Tested on x86_64-pc-linux-gnu.
Thanks
Di Zhao
gcc/testsuite/ChangeLog:
* gcc.dg/pr110279-1.c: add target selector.
---
gcc/testsuite/gcc.dg/pr110279-1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/pr110279-1.c b/gcc/testsuite/gcc.dg/pr110279-1.c
index a8c7257b28d..5436163bc78 100644
--- a/gcc/testsuite/gcc.dg/pr110279-1.c
+++ b/gcc/testsuite/gcc.dg/pr110279-1.c
@@ -64,4 +64,4 @@ foo3 (data_e a, data_e b, data_e c, data_e d)
return result;
}
-/* { dg-final { scan-tree-dump-times "Generated FMA" 3 "widening_mul"} } */
\ No newline at end of file
+/* { dg-final { scan-tree-dump-times "Generated FMA" 3 "widening_mul" { target { { i?86-*-* x86_64-*-* } || { aarch64*-*-* } } } } } */
--
2.25.1
next reply other threads:[~2024-05-22 11:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-22 11:46 Di Zhao OS [this message]
2024-05-22 15:13 ` Jeff Law
2024-05-23 9:55 ` Di Zhao OS
2024-06-18 1:51 ` [PING][PATCH] " Di Zhao OS
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=SJ2PR01MB8193FE48847E289D12C76171E8EB2@SJ2PR01MB8193.prod.exchangelabs.com \
--to=dizhao@os.amperecomputing.com \
--cc=gcc-patches@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: link
Be 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).