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]

[patch] config/h8300/h8300.[ch]: Code clean up.


Hi,

Attached is a patch to clean up code in h8300.c and fix formatting of
h8300.h.

function_prologue () and function_epilogue () have got so much
repetition.  The patch first computes which registers to push/pop and
then actually emit the code.

Thanks,

Kazu Hirata

gzip compressed data, deflated, original filename, last modified: Thu Aug 3 15:05:01 2000, max compression, os: Unix

2000-08-04  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.c (function_prologue): Rearrange code for
	conciseness.
	(function_epilogue): Likewise.
	* config/h8300/hh8300.h (OK_FOR_U): Fix formatting.


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