aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJ"orn Rennecke <amylaar@cygnus.co.uk>1999-06-10 11:25:47 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>1999-06-10 12:25:47 +0100
commit0aa54da2ef5219a097442dfeb17b082b6361d41b (patch)
tree1e822dc240f5b1377bd418e8ff0ab9289dda3234 /gcc
parentb4e01caa36a6984d4225c95ad7df7d77468d18b0 (diff)
downloadgcc-0aa54da2ef5219a097442dfeb17b082b6361d41b.zip
gcc-0aa54da2ef5219a097442dfeb17b082b6361d41b.tar.gz
gcc-0aa54da2ef5219a097442dfeb17b082b6361d41b.tar.bz2
sh.h (TARGET_HARWARD, [...]): Changed the former to the latter.
* sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the latter. * sh.md (ic_invalidate_line_i): Remove second alternative. From-SVN: r27469
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/sh/sh.h8
-rw-r--r--gcc/config/sh/sh.md12
3 files changed, 17 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7ffc7ba..825a4ee 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+ * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
+ latter.
+
+ * sh.md (ic_invalidate_line_i): Remove second alternative.
+
Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
*fixinc/inclhack.def(sun_auth_proto): We do not know how to
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 644668f..23c315f 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -131,7 +131,7 @@ extern int target_flags;
#define TARGET_SUPERSCALAR (target_flags & HARD_SH4_BIT)
/* Nonzero if the target has separate instruction and data caches. */
-#define TARGET_HARWARD (target_flags & HARD_SH4_BIT)
+#define TARGET_HARVARD (target_flags & HARD_SH4_BIT)
/* Nonzero if compiling for SH4 hardware (to be used for insn costs etc.) */
#define TARGET_HARD_SH4 (target_flags & HARD_SH4_BIT)
@@ -354,7 +354,7 @@ do { \
barrier_align (LABEL_AFTER_BARRIER)
#define LOOP_ALIGN(A_LABEL) \
- ((! optimize || TARGET_HARWARD || TARGET_SMALLCODE) ? 0 : 2)
+ ((! optimize || TARGET_HARVARD || TARGET_SMALLCODE) ? 0 : 2)
#define LABEL_ALIGN(A_LABEL) \
( \
@@ -1123,7 +1123,7 @@ extern int current_function_anonymous_args;
/* Alignment required for a trampoline in bits . */
#define TRAMPOLINE_ALIGNMENT \
- ((CACHE_LOG < 3 || TARGET_SMALLCODE && ! TARGET_HARWARD) ? 32 : 64)
+ ((CACHE_LOG < 3 || TARGET_SMALLCODE && ! TARGET_HARVARD) ? 32 : 64)
/* Emit RTL insns to initialize the variable parts of a trampoline.
FNADDR is an RTX for the address of the function's pure code.
@@ -1139,7 +1139,7 @@ extern int current_function_anonymous_args;
(CXT)); \
emit_move_insn (gen_rtx (MEM, SImode, plus_constant ((TRAMP), 12)), \
(FNADDR)); \
- if (TARGET_HARWARD) \
+ if (TARGET_HARVARD) \
emit_insn (gen_ic_invalidate_line (TRAMP)); \
}
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index e4648bb..2acbb0f 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -2242,16 +2242,16 @@
}")
;; The address %0 is assumed to be 4-aligned at least. Thus, by ORing
-;; 0xf0000008, we get the low-oder bits *1*00 (binary), ;; which fits
-;; the requirement *0*00 for associative address writes. The alignment of
+;; 0xf0000008, we get the low-oder bits *1*00 (binary), which fits
+;; the requirement *1*00 for associative address writes. The alignment of
;; %0 implies that its least significant bit is cleared,
;; thus we clear the V bit of a matching entry if there is one.
(define_insn "ic_invalidate_line_i"
- [(unspec_volatile [(match_operand:SI 0 "register_operand" "r,r")
- (match_operand:SI 1 "register_operand" "r,r")] 12)
- (clobber (match_scratch:SI 2 "=&r,1"))]
+ [(unspec_volatile [(match_operand:SI 0 "register_operand" "r")
+ (match_operand:SI 1 "register_operand" "r")] 12)
+ (clobber (match_scratch:SI 2 "=&r"))]
"TARGET_HARD_SH4"
- "ocbwb\\t@%0\;extu.w\\t%0,%2\;or\\t%r1,%r2\;mov.l\\t%0,@%2"
+ "ocbwb\\t@%0\;extu.w\\t%0,%2\;or\\t%1,%2\;mov.l\\t%0,@%2"
[(set_attr "length" "8")])
(define_insn "movqi_i"