Add "native" as a valid option value for -mcpu/-mtune= on arm (PR driver/83193).
2018-02-22 Martin Liska <mliska@suse.cz> PR driver/83193 * common/config/arm/arm-common.c (arm_print_hint_for_cpu_option): Add "native" as a possible value. From-SVN: r257900
This commit is contained in:
parent
caa7952a43
commit
a11f3649d7
@ -1,3 +1,9 @@
|
||||
2018-02-22 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR driver/83193
|
||||
* common/config/arm/arm-common.c (arm_print_hint_for_cpu_option):
|
||||
Add "native" as a possible value.
|
||||
|
||||
2018-02-22 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR driver/83193
|
||||
|
@ -309,6 +309,12 @@ arm_print_hint_for_cpu_option (const char *target,
|
||||
auto_vec<const char*> candidates;
|
||||
for (; list->common.name != NULL; list++)
|
||||
candidates.safe_push (list->common.name);
|
||||
|
||||
#ifdef HAVE_LOCAL_CPU_DETECT
|
||||
/* Add also "native" as possible value. */
|
||||
candidates.safe_push ("native");
|
||||
#endif
|
||||
|
||||
char *s;
|
||||
const char *hint = candidates_list_and_hint (target, s, candidates);
|
||||
if (hint)
|
||||
|
Loading…
Reference in New Issue
Block a user