aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2021-05-07 15:42:21 +0100
committerAndrew Stubbs <ams@codesourcery.com>2021-05-07 17:27:56 +0100
commit7af392687952608b988bd5a476583106b3f51740 (patch)
treeb69f1f1d119059ee3d49a0f82d4b181be3b1f087
parent7a5dd3ed49d1b328865520ee30e758158516ca2b (diff)
downloadgcc-7af392687952608b988bd5a476583106b3f51740.zip
gcc-7af392687952608b988bd5a476583106b3f51740.tar.gz
gcc-7af392687952608b988bd5a476583106b3f51740.tar.bz2
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.
-rw-r--r--gcc/config/gcn/gcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c
index 9660ca6..2baf91d 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.