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]

[H8300] Hookize target macros


Hi,

Please find attached the patch which hookizes REGISTER_MOVE_COST,
PRINT_OPERAND, FUNCTION_VAL and related macros for the h8300 backend.
Please review the patch and let me know if there should be any 
modifications in it.

Tested with h8300-elf.  No new regressions.
	
ChangeLog
2010-09-01  Naveen H.S  <naveen.S@kpitcummins.com>

	* config/h8300/h8300.c (h8300_print_operand_address): Make static.
	Adjust comments. Declare.
	(h8300_print_operand): Likewise.
	(h8300_print_operand_punct_valid_p): Moved from h8300.h file. 
	(h8300_function_value): Likewise.
	(h8300_function_value_regno_p): Likewise.
	(h8300_register_move_cost): Likewise.
	(TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND
	TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST
	TARGET_FUNCTION_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
	* config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND
	PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST, FUNCTION_VALUE
	FUNCTION_VALUE_REGNO_P): Delete.
	* config/h8300/h8300-protos.h (print_operand): Delete.
	(print_operand_address): Delete.

Thanks & Regards,
Naveen

Attachment: targhooks-h8300.patch
Description: targhooks-h8300.patch


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