From: Stan Cox Date: Tue, 18 Mar 1997 22:02:36 +0000 (+0000) Subject: (override_options) Make the default alignment 4 for 486 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4e2f547d8872f5a2224fe74820a6395db157947;p=gcc.git (override_options) Make the default alignment 4 for 486 From-SVN: r13739 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ff48a3d7a4f..93480fc8dd0 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -279,7 +279,10 @@ override_options () fatal ("-mregparm=%d is not between 0 and %d", i386_regparm, REGPARM_MAX); } - def_align = (TARGET_386) ? 2 : 4; + /* The 486 suffers more from non-aligned cache line fills, and the larger code + size results in a larger cache foot-print and more misses. The 486 has a + 16 byte cache line, pentium and pentiumpro have a 32 byte cache line */ + def_align = (TARGET_486) ? 4 : 2; /* Validate -malign-loops= value, or provide default */ if (i386_align_loops_string)