Re: [MMIX] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-14 Thread Anatoly Sokolov
Hi. > This patch removes obsolete PREFERRED_RELOAD_CLASS and > PREFERRED_OUTPUT_RELOAD_CLASS macros from MMIX back end in the GCC and > introduces equivalent TARGET_PREFERRED_RELOAD_CLASS and > TARGET_PREFERRED_OUTPUT_RELOAD_CLASS target hooks. > --- gcc/config/mmix/mmix.c (revision 1768

Re: [MMIX] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-01 Thread Richard Henderson
On 08/01/2011 10:08 AM, Anatoly Sokolov wrote: > * config/mmix/mmix.h (PREFERRED_RELOAD_CLASS, > PREFERRED_OUTPUT_RELOAD_CLASS): Remove macro. > * config/mmix/mmix-protos.h (mmix_preferred_reload_class, > mmix_preferred_output_reload_class): Remove. > * confi

[MMIX] Hookize PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS

2011-08-01 Thread Anatoly Sokolov
Hi. This patch removes obsolete PREFERRED_RELOAD_CLASS and PREFERRED_OUTPUT_RELOAD_CLASS macros from MMIX back end in the GCC and introduces equivalent TARGET_PREFERRED_RELOAD_CLASS and TARGET_PREFERRED_OUTPUT_RELOAD_CLASS target hooks. Regression tested on mmix-knuth-mmixware. OK to ins