summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-01 21:22:15 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-01 21:22:15 +0000
commite920a9e709d73388e8a621150ec89e4da7fb8fd0 (patch)
tree42654b6a5040f403cdbfe7ffc331cef0a288cf60
parent45f429fef6f8240f34064c63c134dd32e5cc22ec (diff)
downloadgcc-e920a9e709d73388e8a621150ec89e4da7fb8fd0.tar.gz
* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58728 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.h10
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 66d3a2072bd..67a46463030 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-01 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
+
+ * config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
+
2002-11-01 Steve Ellcey <sje@cup.hp.com>
* config/ia64/ia64.h (MASK_INLINE_DIV_LAT): Remove.
diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h
index 36b09ed904b..d0db90ae866 100644
--- a/gcc/config/h8300/h8300.h
+++ b/gcc/config/h8300/h8300.h
@@ -66,6 +66,16 @@ extern const char * const *h8_reg_names;
#define LIB_SPEC "%{mrelax:-relax} %{g:-lg} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \
+ do \
+ { \
+ /* Basic block reordering is only beneficial on targets with cache \
+ and/or variable-cycle branches where (cycle count taken != \
+ cycle count not taken). */ \
+ flag_reorder_blocks = 0; \
+ } \
+ while (0)
+
/* Print subsidiary information on the compiler version in use. */
#define TARGET_VERSION fprintf (stderr, " (Hitachi H8/300)");