This is the mail archive of the gcc-patches@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: [PATCH]Construct canonical scaled address expression in IVOPT


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.


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