diff options
author | Tom Wood <wood@gnu.org> | 1992-07-30 13:54:57 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-07-30 13:54:57 +0000 |
commit | 7ddb68857a2579bfbaca9484c68a77e6ec32d743 (patch) | |
tree | c16d9923fcc7e1b1a3c1849f2f16ed08c871ccc6 /gcc | |
parent | d0466d82e1331a5a0d6dae5a0f57c28b03de4f2d (diff) | |
download | gcc-7ddb68857a2579bfbaca9484c68a77e6ec32d743.zip gcc-7ddb68857a2579bfbaca9484c68a77e6ec32d743.tar.gz gcc-7ddb68857a2579bfbaca9484c68a77e6ec32d743.tar.bz2 |
(FUNCTION_BOUNDARY, ASM_OUTPUT_ALIGN_CODE): Pack code
more tightly for the m88110.
From-SVN: r1723
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m88k/m88k.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/gcc/config/m88k/m88k.h b/gcc/config/m88k/m88k.h index f5aa79d..20742e3 100644 --- a/gcc/config/m88k/m88k.h +++ b/gcc/config/m88k/m88k.h @@ -206,9 +206,9 @@ extern char * reg_names[]; /* Print subsidiary information on the compiler version in use. Redefined in m88kv4.h, and m88kluna.h. */ #define VERSION_INFO1 "88open OCS/BCS, " -#define VERSION_INFO2 "21 Jul 1992" +#define VERSION_INFO2 "30 Jul 1992" #define VERSION_STRING version_string -#define TM_SCCS_ID "@(#)m88k.h 2.2.6.9 21 Jul 1992 09:24:47" +#define TM_SCCS_ID "@(#)m88k.h 2.2.6.11 30 Jul 1992 09:06:33" /* Run-time compilation parameters selecting different hardware subsets. */ @@ -391,9 +391,12 @@ extern char * reg_names[]; /* Boundary (in *bits*) on which stack pointer should be aligned. */ #define STACK_BOUNDARY 128 -/* Allocation boundary (in *bits*) for the code of a function. - Pack code tightly when compiling crtstuff.c. */ -#define FUNCTION_BOUNDARY (flag_inhibit_size_directive ? 32 : 128) +/* Allocation boundary (in *bits*) for the code of a function. On the + m88100, it is desirable to align to a cache line. However, SVR3 targets + only provided 8 byte alignment. The m88110 cache is small, so align + to an 8 byte boundary. Pack code tightly when compiling crtstuff.c. */ +#define FUNCTION_BOUNDARY (flag_inhibit_size_directive ? 32 : \ + (TARGET_88100 && TARGET_SVR4 ? 128 : 64)) /* No data type wants to be aligned rounder than this. */ #define BIGGEST_ALIGNMENT 64 @@ -2000,10 +2003,12 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, if ((LOG) != 0) \ fprintf (FILE, "\t%s\t %d\n", ALIGN_ASM_OP, 1<<(LOG)) -/* Align the text address to half a cache boundary when it can only be - reached by jumping. Pack code tightly when compiling crtstuff.c. */ +/* On the m88100, align the text address to half a cache boundary when it + can only be reached by jumping. Pack code tightly when compiling + crtstuff.c. */ #define ASM_OUTPUT_ALIGN_CODE(FILE) \ - ASM_OUTPUT_ALIGN (FILE, (flag_inhibit_size_directive ? 2 : 3)) + ASM_OUTPUT_ALIGN (FILE, \ + (TARGET_88100 && !flag_inhibit_size_directive ? 3 : 2)) /* Override svr[34].h. */ #undef ASM_OUTPUT_SKIP |