* [committed][PATCH]AArch64 [testsuite] Don't expect a complex FMA
@ 2021-10-29 21:10 Tamar Christina
0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2021-10-29 21:10 UTC (permalink / raw)
To: gcc-patches
Cc: nd, Richard.Earnshaw, Marcus.Shawcroft, Kyrylo.Tkachov,
richard.sandiford
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
Hi All,
The sharing of the COMPLEX_MUL node makes it so it's
more efficient to not generate both a MUL and FMA
in this node.
Because the shape for a normal FMA is not different
the FMA is no longer detected here which results in
better codegen so update the testcase.
Regtested on aarch64-none-linux-gnu and no issues.
Committed under the GCC obvious rule.
Thanks,
Tamar
gcc/testsuite/ChangeLog:
* g++.dg/vect/pr99149.cc: Update case.
--- inline copy of patch --
diff --git a/gcc/testsuite/g++.dg/vect/pr99149.cc b/gcc/testsuite/g++.dg/vect/pr99149.cc
index 9d584262770c75f53bea9c193d3a44aa792f4d36..e6e0594a336fa053ffba64a12e2de43a4e373f49 100755
--- a/gcc/testsuite/g++.dg/vect/pr99149.cc
+++ b/gcc/testsuite/g++.dg/vect/pr99149.cc
@@ -25,4 +25,3 @@ public:
main() { n.j(); }
/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_MUL" 1 "slp2" } } */
-/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_FMA" 1 "slp2" } } */
--
[-- Attachment #2: rb14996.patch --]
[-- Type: text/x-diff, Size: 467 bytes --]
diff --git a/gcc/testsuite/g++.dg/vect/pr99149.cc b/gcc/testsuite/g++.dg/vect/pr99149.cc
index 9d584262770c75f53bea9c193d3a44aa792f4d36..e6e0594a336fa053ffba64a12e2de43a4e373f49 100755
--- a/gcc/testsuite/g++.dg/vect/pr99149.cc
+++ b/gcc/testsuite/g++.dg/vect/pr99149.cc
@@ -25,4 +25,3 @@ public:
main() { n.j(); }
/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_MUL" 1 "slp2" } } */
-/* { dg-final { scan-tree-dump-times "stmt.*COMPLEX_FMA" 1 "slp2" } } */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-29 21:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 21:10 [committed][PATCH]AArch64 [testsuite] Don't expect a complex FMA Tamar Christina
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).