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

Message ID patch-14996-tamar@arm.com
State Committed
Commit 518bc4ef87eaf9dde8fbc83120a24ac0888c56e0
Headers
Series [committed] AArch64 [testsuite] Don't expect a complex FMA |

Commit Message

Tamar Christina Oct. 29, 2021, 9:10 p.m. UTC
  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


--
  

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