aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>2002-11-01 21:22:15 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-11-01 21:22:15 +0000
commit25a533a018da51d53b9dc80d3af9071e6e32fff4 (patch)
tree42654b6a5040f403cdbfe7ffc331cef0a288cf60
parentdcffbadece5d19c214e2461f3872ddfa27321c1e (diff)
downloadgcc-25a533a018da51d53b9dc80d3af9071e6e32fff4.zip
gcc-25a533a018da51d53b9dc80d3af9071e6e32fff4.tar.gz
gcc-25a533a018da51d53b9dc80d3af9071e6e32fff4.tar.bz2
* config/h8300/h8300.h (OPTIMIZATION_OPTIONS): New.
From-SVN: r58728
-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 66d3a20..67a4646 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 36b09ed..d0db90a 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)");