On Tue, Jul 29, 2025 at 11:02:08AM -0400, Hans-Peter Nilsson wrote:
> > If you have a target with bogus MAX_FIXED_MODE_SIZE definition, you should
> > just fix that.
> 
> That macro should be avoided, for one because it's misleading 
> and ends up being used for other than target tweaking (QED).

No.
That macro is used in tons of places to mean exactly what is documented.
"An integer expression for the size in bits of the largest integer
machine mode that should actually be used."
If the target supports TImode as a generally usable integral mode
(e.g. it returns true from targetm.scalar_mode_supported_p (TImode),
rather than just have the mode but not really support say addition/moves
etc. on it), then DImode is definitely not the largest integer machine mode
that should actually be used.

        Jakub

Reply via email to