This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] h8300.h: Fix formatting. Remove commented-out definitions.
- From: Kazu Hirata <kazu at hxi dot com>
- To: gcc-patches at gcc dot gnu dot org
- Subject: [patch] h8300.h: Fix formatting. Remove commented-out definitions.
Hi,
Attached is a patch to fix formatting and remove commented-out
definitions. Committed as obvious.
Kazu Hirata
2002-02-09 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.h: Fix formatting. Remove commented-out
definitions.
Index: h8300.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.h,v
retrieving revision 1.70
diff -u -r1.70 h8300.h
--- h8300.h 2002/01/28 15:26:04 1.70
+++ h8300.h 2002/02/09 17:27:35
@@ -744,19 +744,21 @@
^^^^^^ function
*/
-#define TRAMPOLINE_TEMPLATE(FILE) \
- do { \
- if (TARGET_H8300) \
- { \
- fprintf (FILE, "\tmov.w #0x1234,r3\n"); \
- fprintf (FILE, "\tjmp @0x1234\n"); \
- } \
- else \
- { \
- fprintf (FILE, "\tmov.l #0x12345678,er3\n"); \
- fprintf (FILE, "\tjmp @0x123456\n"); \
- } \
- } while (0)
+#define TRAMPOLINE_TEMPLATE(FILE) \
+ do \
+ { \
+ if (TARGET_H8300) \
+ { \
+ fprintf (FILE, "\tmov.w #0x1234,r3\n"); \
+ fprintf (FILE, "\tjmp @0x1234\n"); \
+ } \
+ else \
+ { \
+ fprintf (FILE, "\tmov.l #0x12345678,er3\n"); \
+ fprintf (FILE, "\tjmp @0x123456\n"); \
+ } \
+ } \
+ while (0)
/* Length in units of the trampoline for entering a nested function. */
@@ -766,23 +768,20 @@
FNADDR is an RTX for the address of the function's pure code.
CXT is an RTX for the static chain value for the function. */
-#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
-{ \
- enum machine_mode mode = TARGET_H8300H || TARGET_H8300S? SImode : HImode; \
- emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 2)), CXT); \
- emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 6)), FNADDR); \
- if (TARGET_H8300H || TARGET_H8300S) \
- emit_move_insn (gen_rtx_MEM (QImode, plus_constant ((TRAMP), 6)), \
- GEN_INT (0x5A)); \
+#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
+{ \
+ enum machine_mode mode = TARGET_H8300H || TARGET_H8300S ? SImode : HImode; \
+ emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 2)), CXT); \
+ emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 6)), FNADDR); \
+ if (TARGET_H8300H || TARGET_H8300S) \
+ emit_move_insn (gen_rtx_MEM (QImode, plus_constant ((TRAMP), 6)), \
+ GEN_INT (0x5A)); \
}
/* Addressing modes, and classification of registers for them. */
#define HAVE_POST_INCREMENT 1
-/*#define HAVE_POST_DECREMENT 0 */
-
#define HAVE_PRE_DECREMENT 1
-/*#define HAVE_PRE_INCREMENT 0 */
/* Macros to check register numbers against specific register classes. */