* GCN: Enable effective-target 'vect_long_mult'
@ 2024-03-21 10:41 Thomas Schwinge
2024-03-25 13:53 ` Andrew Stubbs
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Schwinge @ 2024-03-21 10:41 UTC (permalink / raw)
To: gcc-patches, Andrew Stubbs
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
Hi!
OK to push the attached "GCN: Enable effective-target 'vect_long_mult'"?
(Or is that not what you'd expect to see for GCN? I haven't checked the
actual back end code...)
Grüße
Thomas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-GCN-Enable-effective-target-vect_long_mult.patch --]
[-- Type: text/x-diff, Size: 1456 bytes --]
From e0e58dfc350581ed0519420ad02adcc01e645eae Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <tschwinge@baylibre.com>
Date: Wed, 20 Mar 2024 23:56:58 +0100
Subject: [PATCH] GCN: Enable effective-target 'vect_long_mult'
... as made apparent by commit bfd6b36f08021f023e0e9223f5aea315b74a5c56
"testsuite/vect: Fix pr25413a.c expectations [PR109705]" causing:
PASS: gcc.dg/vect/pr25413a.c (test for excess errors)
PASS: gcc.dg/vect/pr25413a.c execution test
-PASS: gcc.dg/vect/pr25413a.c scan-tree-dump-times vect "vectorized 2 loops" 1
+FAIL: gcc.dg/vect/pr25413a.c scan-tree-dump-times vect "vectorized 1 loops" 1
..., which this commit resolves.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_vect_long_mult):
Enable for GCN.
---
gcc/testsuite/lib/target-supports.exp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 2291a673d53..452b36ff927 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -9056,7 +9056,8 @@ proc check_effective_target_vect_long_mult { } {
|| ([istarget riscv*-*-*]
&& [check_effective_target_riscv_v])
|| ([istarget loongarch*-*-*]
- && [check_effective_target_loongarch_sx]) } {
+ && [check_effective_target_loongarch_sx])
+ || [istarget amdgcn-*-*] } {
set answer 1
} else {
set answer 0
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCN: Enable effective-target 'vect_long_mult'
2024-03-21 10:41 GCN: Enable effective-target 'vect_long_mult' Thomas Schwinge
@ 2024-03-25 13:53 ` Andrew Stubbs
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Stubbs @ 2024-03-25 13:53 UTC (permalink / raw)
To: Thomas Schwinge, gcc-patches
On 21/03/2024 10:41, Thomas Schwinge wrote:
> Hi!
>
> OK to push the attached "GCN: Enable effective-target 'vect_long_mult'"?
> (Or is that not what you'd expect to see for GCN? I haven't checked the
> actual back end code...)
OK.
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-25 13:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 10:41 GCN: Enable effective-target 'vect_long_mult' Thomas Schwinge
2024-03-25 13:53 ` Andrew Stubbs
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).