* config/h8300/h8300.c: Fix formatting.

From-SVN: r49449
This commit is contained in:
Kazu Hirata 2002-02-02 21:38:49 +00:00 committed by Kazu Hirata
parent 7a27efc4eb
commit 9cbcd983a9
2 changed files with 23 additions and 18 deletions

View file

@ -1,3 +1,7 @@
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c: Fix formatting.
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Fix formatting.

View file

@ -148,30 +148,31 @@ byte_reg (x, b)
rtx x;
int b;
{
static const char *const names_small[] =
{"r0l", "r0h", "r1l", "r1h", "r2l", "r2h", "r3l", "r3h",
"r4l", "r4h", "r5l", "r5h", "r6l", "r6h", "r7l", "r7h"};
static const char *const names_small[] = {
"r0l", "r0h", "r1l", "r1h", "r2l", "r2h", "r3l", "r3h",
"r4l", "r4h", "r5l", "r5h", "r6l", "r6h", "r7l", "r7h"
};
return names_small[REGNO (x) * 2 + b];
}
/* REGNO must be saved/restored across calls if this macro is true. */
#define WORD_REG_USED(regno) \
(regno < 7 \
/* No need to save registers if this function will not return. */\
&& ! TREE_THIS_VOLATILE (current_function_decl) \
&& (pragma_saveall \
/* Save any call saved register that was used. */ \
|| (regs_ever_live[regno] && !call_used_regs[regno]) \
/* Save the frame pointer if it was used. */ \
|| (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno])\
/* Save any register used in an interrupt handler. */ \
|| (interrupt_handler && regs_ever_live[regno]) \
/* Save call clobbered registers in non-leaf interrupt \
handlers. */ \
|| (interrupt_handler \
&& call_used_regs[regno] \
#define WORD_REG_USED(regno) \
(regno < 7 \
/* No need to save registers if this function will not return. */ \
&& ! TREE_THIS_VOLATILE (current_function_decl) \
&& (pragma_saveall \
/* Save any call saved register that was used. */ \
|| (regs_ever_live[regno] && !call_used_regs[regno]) \
/* Save the frame pointer if it was used. */ \
|| (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno]) \
/* Save any register used in an interrupt handler. */ \
|| (interrupt_handler && regs_ever_live[regno]) \
/* Save call clobbered registers in non-leaf interrupt \
handlers. */ \
|| (interrupt_handler \
&& call_used_regs[regno] \
&& !current_function_is_leaf)))
/* Output assembly language to FILE for the operation OP with operand size