summaryrefslogtreecommitdiff
path: root/gcc/config/sh
diff options
context:
space:
mode:
authorToshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>2002-09-09 08:10:46 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2002-09-09 09:10:46 +0100
commit0b0ad147f5f4e336eb12ff8ffa44dd08a78ab810 (patch)
treecf71df2ca21265b4b9a00fc43acaa9d095f12b31 /gcc/config/sh
parent628c57653c98f6080fab3b9277b6bae3cfb9332a (diff)
downloadgcc-0b0ad147f5f4e336eb12ff8ffa44dd08a78ab810.tar.gz
sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> J"orn Rennecke <joern.rennecke@superh.com> * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits. Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com> From-SVN: r56968
Diffstat (limited to 'gcc/config/sh')
-rw-r--r--gcc/config/sh/sh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h
index 6f010864fc7..b8dae37e34c 100644
--- a/gcc/config/sh/sh.h
+++ b/gcc/config/sh/sh.h
@@ -473,13 +473,13 @@ do { \
to the pressure on R0. */ \
flag_schedule_insns = 0; \
\
- /* Allocation boundary (in *bits*) for the code of a function. \
+ /* Allocation boundary (in *bytes*) for the code of a function. \
SH1: 32 bit alignment is faster, because instructions are always \
fetched as a pair from a longword boundary. \
SH2 .. SH5 : align to cache line start. */ \
if (align_functions == 0) \
align_functions \
- = TARGET_SMALLCODE ? FUNCTION_BOUNDARY : (1 << CACHE_LOG) * 8; \
+ = TARGET_SMALLCODE ? FUNCTION_BOUNDARY/8 : (1 << CACHE_LOG); \
} while (0)
/* Target machine storage layout. */