If -Os use load/store multiple instructions

From-SVN: r21511
This commit is contained in:
Michael Meissner 1998-07-31 17:30:57 +00:00 committed by Michael Meissner
parent 02c452afe0
commit ef79218343
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 31 20:22:02 1998 Michael Meissner <meissner@cygnus.com>
* rs6000.c (rs6000_override_options): If big endian and -Os, use
load/store multiple instructions unless user overrides.
Fri Jul 31 17:08:59 1998 Jeffrey A Law (law@cygnus.com)
* ns32k/netbsd.h: Fix typo.

View File

@ -276,6 +276,11 @@ rs6000_override_options (default_cpu)
}
}
/* If we are optimizing big endian systems for space, use the
store multiple instructions. */
if (BYTES_BIG_ENDIAN && optimize_size)
target_flags |= MASK_MULTIPLE;
/* If -mmultiple or -mno-multiple was explicitly used, don't
override with the processor default */
if (TARGET_MULTIPLE_SET)