aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-09-07 14:14:55 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-09-07 14:14:55 +0000
commit8bd06267cfc0fa588174484499f56e841fed311f (patch)
treec1a9fbf90bbcc5bbc4eee0d8312f0f3c84593cac
parent39587bb9f39130beb3a499e4ecb67b7971354ef1 (diff)
downloadgcc-8bd06267cfc0fa588174484499f56e841fed311f.zip
gcc-8bd06267cfc0fa588174484499f56e841fed311f.tar.gz
gcc-8bd06267cfc0fa588174484499f56e841fed311f.tar.bz2
h8300.c: Fix formatting.
* config/h8300/h8300.c: Fix formatting. * config/h8300/h8300.h: Likewise. * config/h8300/h8300.md: Likewise. From-SVN: r56917
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/h8300/h8300.c10
-rw-r--r--gcc/config/h8300/h8300.h12
-rw-r--r--gcc/config/h8300/h8300.md2
4 files changed, 18 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e666c3f..74f035a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-07 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.c: Fix formatting.
+ * config/h8300/h8300.h: Likewise.
+ * config/h8300/h8300.md: Likewise.
+
2002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
* cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c
index 952db46..cfcea40 100644
--- a/gcc/config/h8300/h8300.c
+++ b/gcc/config/h8300/h8300.c
@@ -315,9 +315,9 @@ h8300_init_once ()
target_flags |= 1;
}
- /* Some of the shifts are optimized for speed by default.
+ /* Some of the shifts are optimized for speed by default.
See http://gcc.gnu.org/ml/gcc-patches/2002-07/msg01858.html
- If optimizing for size, change shift_alg for those shift to
+ If optimizing for size, change shift_alg for those shift to
SHIFT_LOOP. */
if(optimize_size)
{
@@ -484,7 +484,7 @@ pop (file, rn)
PC
FP <- fp
<locals>
- <saved registers> <- sp
+ <saved registers> <- sp
This is what the stack looks like after the prolog of
a function which doesn't have a frame:
@@ -492,7 +492,7 @@ pop (file, rn)
<args>
PC
<locals>
- <saved registers> <- sp
+ <saved registers> <- sp
*/
/* Output assembly language code for the function prologue. */
@@ -700,7 +700,7 @@ asm_file_start (file)
{
fprintf (file, ";\tGCC For the Hitachi H8/300\n");
fprintf (file, ";\tBy Hitachi America Ltd and Cygnus Support\n");
-
+
if (optimize_size)
fprintf (file, "; -Os\n");
else if (optimize)
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 6781af8..726d47f 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -392,8 +392,8 @@ enum reg_class {
#define REG_CLASS_CONTENTS \
{ {0}, /* No regs */ \
- {0x6ff}, /* GENERAL_REGS */ \
- {0x100}, /* MAC_REGS */ \
+ {0x6ff}, /* GENERAL_REGS */ \
+ {0x100}, /* MAC_REGS */ \
{0x7ff}, /* ALL_REGS */ \
}
@@ -686,14 +686,14 @@ struct cum_arg
H8/300
vvvv context
- 1 0000 7900xxxx mov.w #0x1234,r3
- 2 0004 5A00xxxx jmp @0x1234
+ 1 0000 7900xxxx mov.w #0x1234,r3
+ 2 0004 5A00xxxx jmp @0x1234
^^^^ function
H8/300H
vvvvvvvv context
- 2 0000 7A00xxxxxxxx mov.l #0x12345678,er3
- 3 0006 5Axxxxxx jmp @0x123456
+ 2 0000 7A00xxxxxxxx mov.l #0x12345678,er3
+ 3 0006 5Axxxxxx jmp @0x123456
^^^^^^ function
*/
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 9aa47ce..822367d 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -97,7 +97,7 @@
;; none - insn does not affect cc
;; none_0hit - insn does not affect cc but it does modify operand 0
;; This attribute is used to keep track of when operand 0 changes.
-;; See the description of NOTICE_UPDATE_CC for more info.
+;; See the description of NOTICE_UPDATE_CC for more info.
;; set_znv - insn sets z,n,v to usable values (like a tst insn); c is unknown.
;; set_zn - insn sets z,n to usable values; v,c are unknown.
;; compare - compare instruction