diff options
author | Radovan Obradovic <robradovic@mips.com> | 2014-05-28 09:43:32 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-05-28 09:43:32 +0000 |
commit | 5c989bbf879aeb9cb772bbc52188ba5b31d77f7f (patch) | |
tree | c423067a5caca6fb1adad10b6cd7f0e8d2a3bd8e | |
parent | c2ba7e7a62c63106e1e811d31b27df26bdae0169 (diff) | |
download | gcc-5c989bbf879aeb9cb772bbc52188ba5b31d77f7f.zip gcc-5c989bbf879aeb9cb772bbc52188ba5b31d77f7f.tar.gz gcc-5c989bbf879aeb9cb772bbc52188ba5b31d77f7f.tar.bz2 |
-fuse-caller-save - Enable by default at O2 and higher
2014-05-28 Radovan Obradovic <robradovic@mips.com>
Tom de Vries <tom@codesourcery.com>
* opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with
OPT_fuse_caller_save.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r211008
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/opts.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7e0f532..e6ddd99 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,6 +1,12 @@ 2014-05-28 Radovan Obradovic <robradovic@mips.com> Tom de Vries <tom@codesourcery.com> + * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with + OPT_fuse_caller_save. + +2014-05-28 Radovan Obradovic <robradovic@mips.com> + Tom de Vries <tom@codesourcery.com> + * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage. * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use get_call_reg_set_usage. @@ -497,6 +497,7 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_2_PLUS_SPEED_ONLY, OPT_foptimize_strlen, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fhoist_adjacent_loads, NULL, 1 }, { OPT_LEVELS_2_PLUS, OPT_fisolate_erroneous_paths_dereference, NULL, 1 }, + { OPT_LEVELS_2_PLUS, OPT_fuse_caller_save, NULL, 1 }, /* -O3 optimizations. */ { OPT_LEVELS_3_PLUS, OPT_ftree_loop_distribute_patterns, NULL, 1 }, |