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.
This commit is contained in:
Andrew Stubbs 2021-05-07 15:42:21 +01:00
parent 7a5dd3ed49
commit 7af3926879

View file

@ -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.