Re: Turn HARD_REGNO_NREGS into a target hook

2017-09-11 Thread Jeff Law
On 09/11/2017 11:18 AM, Richard Sandiford wrote: > Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. > Also tested by comparing the testsuite assembly output on at least one > target per CPU directory. OK to install? > > Richard > > > gcc/ > * target.def (hard_regno

Turn HARD_REGNO_NREGS into a target hook

2017-09-11 Thread Richard Sandiford
Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. Also tested by comparing the testsuite assembly output on at least one target per CPU directory. OK to install? Richard gcc/ * target.def (hard_regno_nregs): New hook. (class_max_nregs): Refer to it instead