[patch] MIPS: Fix clobbers for R4000 extending multiplications

Richard Sandiford rsandifo@redhat.com
Mon Jul 19 21:24:00 GMT 2004


"Maciej W. Rozycki" <macro@linux-mips.org> writes:
>  Here is a fix.  I've decided to use a single DImode clobber referring to
> the "x" artificial register instead of a pair of SImode clobbers as this
> seems to go with the spirit of the patterns better.

For the record, 'x' isn't an artificial register, at least not in the
same sense that the old HILO/"accum" was.  'x' is just a constraint
that refers to a class containing both HI and LO, whereas 'h' and 'l'
just refer to single-register classes.

> 2004-07-19  Maciej W. Rozycki  <macro@linux-mips.org>
>
> 	* config/mips/mips.md (mulsidi3_32bit_r4000): Fix the clobber list.
> 	(umulsidi3_32bit_r4000): Likewise.

Applied, thanks.

Richard



More information about the Gcc-patches mailing list