This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [MMIX] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Anatoly Sokolov <aesok at post dot ru>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 24 Jul 2011 16:51:52 -0400 (EDT)
- Subject: Re: [MMIX] Hookize PRINT_OPERAND, PRINT_OPERAND_ADDRESS and PRINT_OPERAND_PUNCT_VALID_P
- References: <455836624.20110725003507@post.ru>
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