v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn on -mbig-switch by default.

* common/config/v850/v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn
	on -mbig-switch by default.

From-SVN: r262166
This commit is contained in:
Jeff Law 2018-06-26 14:22:59 -06:00 committed by Jeff Law
parent 053f9fede1
commit 3beb455a05
2 changed files with 5 additions and 1 deletions

View file

@ -180,6 +180,9 @@
2018-06-25 Jeff Law <law@redhat.com>
* common/config/v850/v850-common.c (TARGET_DEFAULT_TARGET_FLAGS): Turn
on -mbig-switch by default.
* config/v850/predicates.md (const_float_1_operand): Fix match_code
test.
(const_float_0_operand): Remove unused predicate.

View file

@ -122,7 +122,8 @@ static const struct default_options v850_option_optimization_table[] =
};
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS (MASK_DEFAULT | MASK_APP_REGS)
#define TARGET_DEFAULT_TARGET_FLAGS \
(MASK_DEFAULT | MASK_APP_REGS | MASK_BIG_SWITCH)
#undef TARGET_HANDLE_OPTION
#define TARGET_HANDLE_OPTION v850_handle_option
#undef TARGET_OPTION_OPTIMIZATION_TABLE