This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
sh.h minor patch
- To: egcs-patches at egcs dot cygnus dot com
- Subject: sh.h minor patch
- From: Toshiyasu Morita <tm at netcom dot com>
- Date: Fri, 26 Feb 1999 11:32:35 -0800 (PST)
*** sh.h.bak Fri Feb 26 11:25:31 1999
--- sh.h Fri Feb 26 11:28:32 1999
***************
*** 309,316 ****
#define STACK_BOUNDARY BIGGEST_ALIGNMENT
/* The log (base 2) of the cache line size, in bytes. Processors prior to
! SH3 have no actual cache, but they fetch code in chunks of 4 bytes. */
! #define CACHE_LOG (TARGET_CACHE32 ? 5 : TARGET_SH3 ? 4 : 2)
/* Allocation boundary (in *bits*) for the code of a function.
32 bit alignment is faster, because instructions are always fetched as a
--- 309,317 ----
#define STACK_BOUNDARY BIGGEST_ALIGNMENT
/* The log (base 2) of the cache line size, in bytes. Processors prior to
! SH2 have no actual cache, but they fetch code in chunks of 4 bytes.
! The SH2/3 have 16 byte cache lines, and the SH4 has a 32 byte cache line */
! #define CACHE_LOG (TARGET_CACHE32 ? 5 : TARGET_SH2 ? 4 : 2)
/* Allocation boundary (in *bits*) for the code of a function.
32 bit alignment is faster, because instructions are always fetched as a