(override_options) Make the default alignment 4 for 486

From-SVN: r13739
This commit is contained in:
Stan Cox 1997-03-18 22:02:36 +00:00
parent 33c1d53aec
commit d4e2f547d8

View File

@ -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)