Steve Ellcey <sell...@marvell.com> writes: > Here is an update of this patch. I believe I addressed all of the > issues you raised. Thanks for the new target.def description, it > seems much clearer than mine. I did a full build and test on x86 as > well as aarch64 to make sure that architectures that do not define > TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS build correctly. > > Steve Ellcey > sell...@marvell.com > > > 2019-01-02 Steve Ellcey <sell...@marvell.com> > > * config/aarch64/aarch64.c (aarch64_simd_call_p): New function. > (aarch64_remove_extra_call_preserved_regs): New function. > (TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New macro. > * doc/tm.texi.in (TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New hook. > * final.c (get_call_reg_set_usage): Call new hook. > * target.def (remove_extra_call_preserved_regs): New hook. > * targhooks.c (default_remove_extra_call_preserved_regs): New function. > * targhooks.h (default_remove_extra_call_preserved_regs): New function.
OK, thanks. Richard