> > There's still lots of places in gcc that use SIZE where they should
> > use PRECISION.
> 
> Yes, and in time, they’ll all get cleaned up.

Hopefully not much time, if I can get my patches commit-worthy.  I'm
actually debugging a pointer-signed-math regression now.

> > I also added a step that looks for target-defined
> > conversions between, for example, HImode and PSImode (rather than go
> > HI->SI->PSI).
> 
> I hope they always fall back to the usual conversions.  On my port,
> I can move them into gprs and do all the usual gpr instructions on
> them.  The register allocator allocates the mode specific registers
> and moves them around as appropriate.

Yeah, it's a check before the usual conversions that just says "if the
target has a MODE1 to MODE2 converter of the right type, just use it".

Without this check, the only mode conversions are (for example) HI-SI
and PSI-SI.  The check allows for HI-PSI or QI-PTI or whatever the
target has opcodes for.

Reply via email to