This is the mail archive of the
mailing list for the GCC project.
Re: SPARC: minor tweaks
> > /* Slick... but this trick loses if this subreg constant part
> > can be done in one insn. */
> > - if (low == high && (low & 0x3ff) != 0 && low + 0x1000 >= 0x2000)
> > + if (low == high
> > + && ! SPARC_SETHI32_P (high)
> > + && ! SPARC_SIMM13_P (high))
> SPARC_SIMM13_P() should be run against "low" not "high".
Stylistically? The idiom is used in 2 other places like that.