This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [MMIX] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P


On Mon, 25 Jul 2011, Anatoly Sokolov wrote:
> Hi.
>
>   This patch removes obsolete PRINT_OPERAND, PRINT_OPERAND_ADDRESS and
> PRINT_OPERAND_PUNCT_VALID_P macros from MMIX back end in the GCC and
> introduces equivalent TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS and
> TARGET_PRINT_OPERAND_PUNCT_VALID_P target hooks.
>
>   Regression tested on mmix-knuth-mmixware.
>
>   OK to install?
>
>         * config/mmix/mmix.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS,
>         PRINT_OPERAND_PUNCT_VALID_P): Remove macro.
>         * config/mmix/mmix-protos.h (mmix_print_operand_punct_valid_p,
>         mmix_print_operand, mmix_print_operand_address): Remove.
>         * config/mmix/mmix.c (mmix_print_operand_punct_valid_p): Make static.
>         Change return type to bool. Change argument type to bool.
>         (mmix_print_operand, mmix_print_operand_address): Make static.
>         (mmix_intval, mmix_output_condition): Change 'x' argument type
>         to const_rtx.
>         (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS,
>         TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define.

Ok, thanks!

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]