public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix scan pattern of vect-8.f90 dump.
@ 2020-03-30 14:06 Martin Liška
  2020-03-30 15:33 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2020-03-30 14:06 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

Hi.

I would like to relax scanned pattern, see the PR.

Ready to be installed?
Thanks,
Martin

gcc/testsuite/ChangeLog:

2020-03-30  Martin Liska  <mliska@suse.cz>

	PR testsuite/94402
	* gfortran.dg/vect/vect-8.f90: Allow 22 or 23 loops
	to be vectorized (based on libmvec presence).
---
  gcc/testsuite/gfortran.dg/vect/vect-8.f90 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



[-- Attachment #2: 0001-Fix-scan-pattern-of-vect-8.f90-dump.patch --]
[-- Type: text/x-patch, Size: 777 bytes --]

diff --git a/gcc/testsuite/gfortran.dg/vect/vect-8.f90 b/gcc/testsuite/gfortran.dg/vect/vect-8.f90
index 6f10c7e586f..b10c4fc0a97 100644
--- a/gcc/testsuite/gfortran.dg/vect/vect-8.f90
+++ b/gcc/testsuite/gfortran.dg/vect/vect-8.f90
@@ -705,5 +705,5 @@ RETURN
 END SUBROUTINE kernel
 
 ! { dg-final { scan-tree-dump-times "vectorized 23 loops" 1 "vect" { target aarch64*-*-* } } }
-! { dg-final { scan-tree-dump-times "vectorized 22 loops" 1 "vect" { target { vect_intdouble_cvt && { ! aarch64*-*-* } } } } }
+! { dg-final { scan-tree-dump-times "vectorized 2\[23\] loops" 1 "vect" { target { vect_intdouble_cvt && { ! aarch64*-*-* } } } } }
 ! { dg-final { scan-tree-dump-times "vectorized 17 loops" 1 "vect" { target { { ! vect_intdouble_cvt } && { ! aarch64*-*-* } } } } }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix scan pattern of vect-8.f90 dump.
  2020-03-30 14:06 [PATCH] Fix scan pattern of vect-8.f90 dump Martin Liška
@ 2020-03-30 15:33 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2020-03-30 15:33 UTC (permalink / raw)
  To: Martin Liška, gcc-patches

On Mon, 2020-03-30 at 16:06 +0200, Martin Liška wrote:
> Hi.
> 
> I would like to relax scanned pattern, see the PR.
> 
> Ready to be installed?
> Thanks,
> Martin
> 
> gcc/testsuite/ChangeLog:
> 
> 2020-03-30  Martin Liska  <mliska@suse.cz>
> 
> 	PR testsuite/94402
> 	* gfortran.dg/vect/vect-8.f90: Allow 22 or 23 loops
> 	to be vectorized (based on libmvec presence).
OK
jeff
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-30 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-30 14:06 [PATCH] Fix scan pattern of vect-8.f90 dump Martin Liška
2020-03-30 15:33 ` Jeff Law

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).