From 9cbcd983a9413df7092de66b177cfa3ab0ceb5f9 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 2 Feb 2002 21:38:49 +0000 Subject: [PATCH] * config/h8300/h8300.c: Fix formatting. From-SVN: r49449 --- gcc/ChangeLog | 4 ++++ gcc/config/h8300/h8300.c | 37 +++++++++++++++++++------------------ 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edd21798918..cde41956626 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-02 Kazu Hirata + + * config/h8300/h8300.c: Fix formatting. + 2002-02-02 Kazu Hirata * config/h8300/h8300.md: Fix formatting. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index e9962092b62..13fc17ec1b9 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -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