From d4e2f547d8872f5a2224fe74820a6395db157947 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Tue, 18 Mar 1997 22:02:36 +0000 Subject: [PATCH] (override_options) Make the default alignment 4 for 486 From-SVN: r13739 --- gcc/config/i386/i386.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2