This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Insn canonicalization not only with constant
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: S dot Khawam at ee dot ed dot ac dot uk (Sami Khawam)
- Cc: rask at sygehus dot dk (Rask Ingemann Lambertsen), gcc at gcc dot gnu dot org
- Date: Wed, 14 Feb 2007 16:17:38 -0500 (EST)
- Subject: Re: Insn canonicalization not only with constant
>
> Hi Rask,
>
> Basically the CPU has the 'SCALE_28_4' instruction which does the following:
> output = (operand1 >> 28) | (operand2 << 4)
Isn't that a rotate? if so you can use either rotate or rotatert instead.
Thanks,
Andrew Pinski