This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]