Re: Turn SECONDARY_MEMORY_NEEDED into a hook

2017-09-12 Thread Jeff Law
On 09/12/2017 12:50 PM, Richard Sandiford wrote: > Since the patch is going through all the definitions anyway, it seemed > like a good opportunity to put the mode argument first, to match the > order for register_move_cost. > > Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-g

Turn SECONDARY_MEMORY_NEEDED into a hook

2017-09-12 Thread Richard Sandiford
Since the patch is going through all the definitions anyway, it seemed like a good opportunity to put the mode argument first, to match the order for register_move_cost. Tested on aarch64-linux-gnu, x86_64-linux-gnu and powerpc64le-linux-gnu. Also tested by comparing the testsuite assembly output