* GCN: Enable effective-target 'vect_long_long'
@ 2024-04-16 19:01 Thomas Schwinge
2024-04-17 8:17 ` Andrew Stubbs
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Schwinge @ 2024-04-16 19:01 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_long'"?
(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_long.patch --]
[-- Type: text/x-diff, Size: 1389 bytes --]
From d74cc9caadfe36652503782a8da172ae1975915c Mon Sep 17 00:00:00 2001
From: Thomas Schwinge <tschwinge@baylibre.com>
Date: Tue, 16 Apr 2024 14:10:15 +0200
Subject: [PATCH] GCN: Enable effective-target 'vect_long_long'
... as made apparent by a number of unexpectedly UNSUPPORTED test cases, which
now all turn into PASS, with just one exception:
PASS: gcc.dg/vect/vect-early-break_124-pr114403.c (test for excess errors)
PASS: gcc.dg/vect/vect-early-break_124-pr114403.c execution test
FAIL: gcc.dg/vect/vect-early-break_124-pr114403.c scan-tree-dump vect "LOOP VECTORIZED"
..., which needs to be looked into, separately.
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_vect_long_long):
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 594837653bb..1a8459561c6 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -7692,7 +7692,8 @@ proc check_effective_target_vect_long_long { } {
|| ([istarget riscv*-*-*]
&& [check_effective_target_riscv_v])
|| ([istarget loongarch*-*-*]
- && [check_effective_target_loongarch_sx])}}]
+ && [check_effective_target_loongarch_sx])
+ || [istarget amdgcn-*-*] }}]
}
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCN: Enable effective-target 'vect_long_long'
2024-04-16 19:01 GCN: Enable effective-target 'vect_long_long' Thomas Schwinge
@ 2024-04-17 8:17 ` Andrew Stubbs
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Stubbs @ 2024-04-17 8:17 UTC (permalink / raw)
To: Thomas Schwinge, gcc-patches
On 16/04/2024 20:01, Thomas Schwinge wrote:
> Hi!
>
> OK to push the attached "GCN: Enable effective-target 'vect_long_long'"?
> (Or is that not what you'd expect to see for GCN? I haven't checked the
> actual back end code...)
I think if there are still missing int64 vector operations then they're
exceptions, not the rule.
The patch looks good to me.
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-17 8:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-16 19:01 GCN: Enable effective-target 'vect_long_long' Thomas Schwinge
2024-04-17 8:17 ` 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).