[committed][PATCH]AArch64 [testsuite] Don't expect a complex FMA

Tamar Christina tamar.christina@arm.com
Fri Oct 29 21:10:42 GMT 2021


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" } } */


-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb14996.patch
Type: text/x-diff
Size: 467 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211029/05c003e7/attachment.bin>


More information about the Gcc-patches mailing list