From: Andrew Stubbs Date: Fri, 7 May 2021 14:42:21 +0000 (+0100) Subject: amdgcn: disable TImode X-Git-Tag: basepoints/gcc-13~7692 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7af392687952608b988bd5a476583106b3f51740;p=thirdparty%2Fgcc.git 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 --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c index 9660ca6eaa41..2baf91d2f1f9 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.