Commit 0aa54da2 by J"orn Rennecke Committed by Joern Rennecke

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
parent b4e01caa
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> Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
*fixinc/inclhack.def(sun_auth_proto): We do not know how to *fixinc/inclhack.def(sun_auth_proto): We do not know how to
......
...@@ -131,7 +131,7 @@ extern int target_flags; ...@@ -131,7 +131,7 @@ extern int target_flags;
#define TARGET_SUPERSCALAR (target_flags & HARD_SH4_BIT) #define TARGET_SUPERSCALAR (target_flags & HARD_SH4_BIT)
/* Nonzero if the target has separate instruction and data caches. */ /* 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.) */ /* Nonzero if compiling for SH4 hardware (to be used for insn costs etc.) */
#define TARGET_HARD_SH4 (target_flags & HARD_SH4_BIT) #define TARGET_HARD_SH4 (target_flags & HARD_SH4_BIT)
...@@ -354,7 +354,7 @@ do { \ ...@@ -354,7 +354,7 @@ do { \
barrier_align (LABEL_AFTER_BARRIER) barrier_align (LABEL_AFTER_BARRIER)
#define LOOP_ALIGN(A_LABEL) \ #define LOOP_ALIGN(A_LABEL) \
((! optimize || TARGET_HARWARD || TARGET_SMALLCODE) ? 0 : 2) ((! optimize || TARGET_HARVARD || TARGET_SMALLCODE) ? 0 : 2)
#define LABEL_ALIGN(A_LABEL) \ #define LABEL_ALIGN(A_LABEL) \
( \ ( \
...@@ -1123,7 +1123,7 @@ extern int current_function_anonymous_args; ...@@ -1123,7 +1123,7 @@ extern int current_function_anonymous_args;
/* Alignment required for a trampoline in bits . */ /* Alignment required for a trampoline in bits . */
#define TRAMPOLINE_ALIGNMENT \ #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. /* Emit RTL insns to initialize the variable parts of a trampoline.
FNADDR is an RTX for the address of the function's pure code. FNADDR is an RTX for the address of the function's pure code.
...@@ -1139,7 +1139,7 @@ extern int current_function_anonymous_args; ...@@ -1139,7 +1139,7 @@ extern int current_function_anonymous_args;
(CXT)); \ (CXT)); \
emit_move_insn (gen_rtx (MEM, SImode, plus_constant ((TRAMP), 12)), \ emit_move_insn (gen_rtx (MEM, SImode, plus_constant ((TRAMP), 12)), \
(FNADDR)); \ (FNADDR)); \
if (TARGET_HARWARD) \ if (TARGET_HARVARD) \
emit_insn (gen_ic_invalidate_line (TRAMP)); \ emit_insn (gen_ic_invalidate_line (TRAMP)); \
} }
......
...@@ -2242,16 +2242,16 @@ ...@@ -2242,16 +2242,16 @@
}") }")
;; The address %0 is assumed to be 4-aligned at least. Thus, by ORing ;; 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 ;; 0xf0000008, we get the low-oder bits *1*00 (binary), which fits
;; the requirement *0*00 for associative address writes. The alignment of ;; the requirement *1*00 for associative address writes. The alignment of
;; %0 implies that its least significant bit is cleared, ;; %0 implies that its least significant bit is cleared,
;; thus we clear the V bit of a matching entry if there is one. ;; thus we clear the V bit of a matching entry if there is one.
(define_insn "ic_invalidate_line_i" (define_insn "ic_invalidate_line_i"
[(unspec_volatile [(match_operand:SI 0 "register_operand" "r,r") [(unspec_volatile [(match_operand:SI 0 "register_operand" "r")
(match_operand:SI 1 "register_operand" "r,r")] 12) (match_operand:SI 1 "register_operand" "r")] 12)
(clobber (match_scratch:SI 2 "=&r,1"))] (clobber (match_scratch:SI 2 "=&r"))]
"TARGET_HARD_SH4" "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")]) [(set_attr "length" "8")])
(define_insn "movqi_i" (define_insn "movqi_i"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment