This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: 40 bit integer support
On Fri, 1 Jul 2011, Bernd Schmidt wrote:
> On 07/01/11 23:18, Bernd Schmidt wrote:
> >> What is the function of having both PARTIAL_INT_MODE and
> >> FRACTIONAL_INT_MODE?
> >
> > Not having to change all the targets using PARTIAL_INT_MODE immediately
> > to use the better mechanism.
>
> Also, come to think of it, preventing the rest of the compiler from
> trying to use such a mode in case the target only supports some very
> specific operations on it. A port could choose to use PImode, defined in
We have well-established ways of indicating supported operations with
hooks (used for example to limit operations on __fpreg and __fp16 in the
front ends) and optabs.
--
Joseph S. Myers
joseph@codesourcery.com