public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Tamar Christina <tnfchris@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-6655] testsuite: move mla_1 test to aarch64 only [PR109118]
Date: Tue, 14 Mar 2023 10:26:22 +0000 (GMT)	[thread overview]
Message-ID: <20230314102622.D812E3858D37@sourceware.org> (raw)

https://gcc.gnu.org/g:0e0c18f60af51f3afd210a2929b853dd02abe996

commit r13-6655-g0e0c18f60af51f3afd210a2929b853dd02abe996
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Tue Mar 14 10:25:42 2023 +0000

    testsuite: move mla_1 test to aarch64 only [PR109118]
    
    I previously made the test generic, but there's no list
    of targets that support integer MLA, and so it's not
    really feasible for me to make this generic.
    
    As such I've moved it to be AArch64 only.
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/109118
            * gcc.dg/mla_1.c: Moved to...
            * gcc.target/aarch64/sve/mla_3.c: ...here.

Diff:
---
 gcc/testsuite/{gcc.dg/mla_1.c => gcc.target/aarch64/sve/mla_3.c} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/mla_1.c b/gcc/testsuite/gcc.target/aarch64/sve/mla_3.c
similarity index 78%
rename from gcc/testsuite/gcc.dg/mla_1.c
rename to gcc/testsuite/gcc.target/aarch64/sve/mla_3.c
index 98e5808ee70..25e99f7d72a 100644
--- a/gcc/testsuite/gcc.dg/mla_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/sve/mla_3.c
@@ -1,6 +1,5 @@
 /* { dg-do compile } */
-/* { dg-require-effective-target vect_int } */
-/* { dg-options "-O2 -msve-vector-bits=256 -march=armv8.2-a+sve -fdump-tree-optimized" { target aarch64*-*-* } } */
+/* { dg-options "-O2 -msve-vector-bits=256 -march=armv8.2-a+sve -fdump-tree-optimized" } */
 
 unsigned int
 f1 (unsigned int a, unsigned int b, unsigned int c) {
@@ -37,4 +36,4 @@ g3 (vec a, vec b, vec c)
   return a * b + c;
 }
 
-/* { dg-final { scan-tree-dump-times {\.FMA } 1 "optimized" { target aarch64*-*-* } } } */
+/* { dg-final { scan-tree-dump-times {\.FMA } 1 "optimized" } } */

                 reply	other threads:[~2023-03-14 10:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230314102622.D812E3858D37@sourceware.org \
    --to=tnfchris@gcc.gnu.org \
    --cc=gcc-cvs@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).