Re: Make more use of REG_NREGS

2017-09-11 Thread Jeff Law
On 09/11/2017 11:14 AM, Richard Sandiford wrote: > An upcoming patch will convert hard_regno_nregs into an inline > function, which in turn allows hard_regno_nregs to be used as the > name of a targetm field. This patch rewrites uses that are more > easily (and efficiently) written as REG_NREGS. >

Make more use of REG_NREGS

2017-09-11 Thread Richard Sandiford
An upcoming patch will convert hard_regno_nregs into an inline function, which in turn allows hard_regno_nregs to be used as the name of a targetm field. This patch rewrites uses that are more easily (and efficiently) written as REG_NREGS. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc