This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] config/h8300/h8300.[ch]: Code clean up.
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] config/h8300/h8300.[ch]: Code clean up.
- From: Kazu Hirata <kazu at isuzu dot hxi dot com>
- Date: Thu, 3 Aug 2000 15:13:00 -0400 (EDT)
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.