public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9594] amdgcn: Ensure gfx11 is running in cumode
@ 2024-03-21 13:39 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2024-03-21 13:39 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:69dc2dc7e0e853856b84b1bcc89d0241d8a570aa

commit r14-9594-g69dc2dc7e0e853856b84b1bcc89d0241d8a570aa
Author: Andrew Stubbs <ams@baylibre.com>
Date:   Mon Mar 4 15:48:47 2024 +0000

    amdgcn: Ensure gfx11 is running in cumode
    
    CUmode "on" is the setting for compatibility with GCN and CDNA devices.
    
    gcc/ChangeLog:
    
            * config/gcn/gcn-hsa.h (ASM_SPEC): Pass -mattr=+cumode.

Diff:
---
 gcc/config/gcn/gcn-hsa.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/gcn/gcn-hsa.h b/gcc/config/gcn/gcn-hsa.h
index 9cf181f52a4..c75256dbac3 100644
--- a/gcc/config/gcn/gcn-hsa.h
+++ b/gcc/config/gcn/gcn-hsa.h
@@ -107,6 +107,7 @@ extern unsigned int gcn_local_sym_hash (const char *name);
 		  "%{" NO_XNACK XNACKOPT "} " \
 		  "%{" NO_SRAM_ECC SRAMOPT "} " \
 		  "%{march=gfx1030|march=gfx1100:-mattr=+wavefrontsize64} " \
+		  "%{march=gfx1030|march=gfx1100:-mattr=+cumode} " \
 		  "-filetype=obj"
 #define LINK_SPEC "--pie --export-dynamic"
 #define LIB_SPEC  "-lc"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-21 13:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21 13:39 [gcc r14-9594] amdgcn: Ensure gfx11 is running in cumode 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).