> * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove.
> * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define.
> (sparc_preferred_reload_class): New function.
OK, modulo
> + if (FP_REG_CLASS_P (rclass)
> + || rclass == GENERAL_OR_FP_REGS
> +
Hello.
This patch removes obsolete PREFERRED_RELOAD_CLASS macro from SPARC back end
in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS target
hooks.
Bootstrapped and regression tested on sparc64-unknown-linux-gnu.
OK to install?
* config/sparc/sparc.h (PREFERRED