On Thu, Dec 11, 2014 at 9:34 AM, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote: > Hi all, > > While looking in this area on other business I noticed we could be using the > names R0_REGNUM > and R1_REGNUM when creating those REG rtxs since it's a bit more descriptive > that just 0 and 1. > > Tested arm-none-eabi. > > Ok for trunk?
Sorry been on holiday and now catching up on emails. This is OK, thanks. Ramana > > Thanks, > Kyrill > > 2014-12-11 Kyrylo Tkachov kyrylo.tkac...@arm.com > > * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0 > in gen_rtx_REG. > (arm_tls_descseq_addr): Likewise. > (arm_gen_movmemqi): Likewise. > (arm_expand_epilogue_apcs_frame): Likewise. > (arm_expand_epilogue): Likewise. > (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1 > in gen_rtx_REG.