[PATCH]Construct canonical scaled address expression in IVOPT

Richard Earnshaw rearnsha@arm.com
Mon Sep 23 15:56:00 GMT 2013


On 23/09/13 13:07, Richard Biener wrote:
> What's the problem
> with arm supporting reg1 * scale?  Why shouldn't it being able to handle
> the implicit zero offset?

Something like "we don't have an instruction that can do that"...

Valid addresses are of the general form

address:=
     '[' base-reg ']'
  |  '[' base-reg ',' offset ']'
  |  '[' base-reg ',' offset-reg ',' addr-scale-op ']'

The base register is mandatory, the scale can only be applied when there
is both a base and an offset which is a register.

R.



More information about the Gcc-patches mailing list