Message ID | 20200203113832.20270-4-claziss@gmail.com |
---|---|
State | New |
Headers | show |
Series | [1/4,ARC] Update mlo/mhi handling when big-endian CPU. | expand |
On Mon, 2020-02-03 at 12:38 +0100, Claudiu Zissulescu wrote: > For ARC, predicated instructions are not very friendly with size > optimizations, leading to increased object size. Disable if-conversion > step when optimized for size. > > gcc/ > xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> > > * common/config/arc/arc-common.c (arc_option_optimization_table): > Disable if-conversion step when optimized for size. OK jeff >
diff --git a/gcc/common/config/arc/arc-common.c b/gcc/common/config/arc/arc-common.c index 0b77dd546e5..7f46f547e30 100644 --- a/gcc/common/config/arc/arc-common.c +++ b/gcc/common/config/arc/arc-common.c @@ -59,6 +59,7 @@ static const struct default_options arc_option_optimization_table[] = { OPT_LEVELS_SIZE, OPT_mcase_vector_pcrel, NULL, 1 }, { OPT_LEVELS_SIZE, OPT_msize_level_, NULL, 3 }, { OPT_LEVELS_SIZE, OPT_mmillicode, NULL, 1 }, + { OPT_LEVELS_SIZE, OPT_fif_conversion, NULL, 0 }, { OPT_LEVELS_1_PLUS, OPT_fomit_frame_pointer, NULL, 1 }, { OPT_LEVELS_3_PLUS_SPEED_ONLY, OPT_msize_level_, NULL, 0 }, { OPT_LEVELS_NONE, 0, NULL, 0 }