aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-02-09 17:31:50 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-02-09 17:31:50 +0000
commitca77d87c47315c6e3d694bb42dd9f2a079c41de9 (patch)
tree393f5ba6e4d9a05fd670790845a50457ee00452c
parent16c9630430fc8632ba7a769d99d3c3313ddbadbe (diff)
downloadgcc-ca77d87c47315c6e3d694bb42dd9f2a079c41de9.zip
gcc-ca77d87c47315c6e3d694bb42dd9f2a079c41de9.tar.gz
gcc-ca77d87c47315c6e3d694bb42dd9f2a079c41de9.tar.bz2
h8300.h: Fix formatting.
* config/h8300/h8300.h: Fix formatting. Remove commented-out definitions. From-SVN: r49639
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.h47
2 files changed, 28 insertions, 24 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 29a6636..fcc4178 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2002-02-09 Kazu Hirata <kazu@hxi.com>
+ * config/h8300/h8300.h: Fix formatting. Remove commented-out
+ definitions.
+
+2002-02-09 Kazu Hirata <kazu@hxi.com>
+
* config/h8300/h8300.md (length): Correct the distance valid
for the short branch.
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 06a29ab..1c53c9d 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -744,19 +744,21 @@ struct cum_arg
^^^^^^ 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 @@ struct cum_arg
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. */