From: kazu Date: Sat, 2 Feb 2002 21:38:49 +0000 (+0000) Subject: * config/h8300/h8300.c: Fix formatting. X-Git-Tag: upstream/4.9.2~88940 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ded3e58c91b59837c50fd3a90da14f6ac7740da7;p=platform%2Fupstream%2Flinaro-gcc.git * config/h8300/h8300.c: Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49449 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index edd2179..cde4195 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2002-02-02 Kazu Hirata + * config/h8300/h8300.c: Fix formatting. + +2002-02-02 Kazu Hirata + * config/h8300/h8300.md: Fix formatting. 2002-02-02 Kazu Hirata diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index e996209..13fc17e 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