public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-621] amdgcn: disable TImode
@ 2021-05-07 16:31 Andrew Stubbs
  0 siblings, 0 replies; only message in thread
From: Andrew Stubbs @ 2021-05-07 16:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7af392687952608b988bd5a476583106b3f51740

commit r12-621-g7af392687952608b988bd5a476583106b3f51740
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Fri May 7 15:42:21 2021 +0100

    amdgcn: disable TImode
    
    The TImode support works for moves only, which has worked in most case up
    to now, but no longer.
    
    We still need TImode to exist for the instructions that take two DImode
    values packed together, but we don't need to advertise this to the middle-end.
    
    gcc/ChangeLog:
    
            * config/gcn/gcn.c (gcn_scalar_mode_supported_p): Disable TImode.

Diff:
---
 gcc/config/gcn/gcn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c
index 9660ca6eaa4..2baf91d2f1f 100644
--- a/gcc/config/gcn/gcn.c
+++ b/gcc/config/gcn/gcn.c
@@ -361,7 +361,7 @@ gcn_scalar_mode_supported_p (scalar_mode mode)
 	  || mode == HImode /* || mode == HFmode  */
 	  || mode == SImode || mode == SFmode
 	  || mode == DImode || mode == DFmode
-	  || mode == TImode);
+	  /*|| mode == TImode*/); /* TI is used for back-end purposes only.  */
 }
 
 /* Implement TARGET_CLASS_MAX_NREGS.


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

only message in thread, other threads:[~2021-05-07 16:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-07 16:31 [gcc r12-621] amdgcn: disable TImode 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).