Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Martin Liška
xtensions for that architecture. > > It's relatively straight forward to do the back-end plumbing for this, > but the help driver would have to know how to call into the back-end or > for the back-end to be able to report to the midend that this was a help > in

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Richard Earnshaw (lists)
gt;> @@ -89,6 +89,9 @@ BEGIN { >>>>> enum_index[name] = n_enums >>>>> enum_unknown_error[name] = unknown_error >>>>> enum_help[name] = $3 >>>>> + enum_force_help[name] = te

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Martin Liška
gnu2 I hope it's still beneficial for users. Martin > > R. > >> Thanks, >> Martin >> >>> >>> R. >>> >>>> >>>> 0001-Show-valid-options-for-march-and-mtune-in-help-targe-v3.patch >>>> >>>> &g

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Richard Earnshaw (lists)
om that list of enum values. R. > Thanks, > Martin > >> >> R. >> >>> >>> 0001-Show-valid-options-for-march-and-mtune-in-help-targe-v3.patch >>> >>> >>> From 9bfc1400213911b4508e90198df7b2dd11efc85c Mon Sep 17 00:00:00 2001 >>> From: marxin >

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Martin Liška
march-and-mtune-in-help-targe-v3.patch >> >> >> From 9bfc1400213911b4508e90198df7b2dd11efc85c Mon Sep 17 00:00:00 2001 >> From: marxin >> Date: Tue, 20 Feb 2018 10:39:09 +0100 >> Subject: [PATCH] Show valid options for -march and -mtune in --help=target &

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Richard Earnshaw (lists)
e-in-help-targe-v3.patch > > > From 9bfc1400213911b4508e90198df7b2dd11efc85c Mon Sep 17 00:00:00 2001 > From: marxin > Date: Tue, 20 Feb 2018 10:39:09 +0100 > Subject: [PATCH] Show valid options for -march and -mtune in --help=target for > arm32 (PR driver/83193). > > gcc/ChangeLog: > > 2018-07-18

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Martin Liška
, 20 Feb 2018 10:39:09 +0100 Subject: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193). gcc/ChangeLog: 2018-07-18 Martin Liska PR driver/83193 * config/arm/arm-tables.opt: Add ForceHelp flag for processor_type and arch_name en

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-19 Thread Martin Liška
config/arm/arm-tables.opt | 6 +++--- >> gcc/config/arm/parsecpu.awk | 6 +++--- >> gcc/doc/options.texi | 4 >> gcc/opt-read.awk | 3 +++ >> gcc/optc-gen.awk | 3 ++- >> gcc/opts.c | 3 ++- >> gcc/opts.h

Re: [PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-18 Thread Thomas Preudhomme
Hi Martin, Why is this needed when -mfpu does not seem to need it for instance? Regarding the patch: > -print "Name(processor_type) Type(enum processor_type)" > -print "Known ARM CPUs (for use with the -mcpu= and -mtune= options):\n" > +print "Name(processor_type) Type(enum processor_

[PATCH] Show valid options for -march and -mtune in --help=target for arm32 (PR driver/83193).

2018-07-18 Thread Martin Liška
Hi. This introduces new ForceHelp option flag that helps to print valid option enum values that are not directly used as a type of an option. May I please ask ARM folks to test the patch? Thanks, Martin gcc/ChangeLog: 2018-07-18 Martin Liska PR driver/83193 * config/arm/arm-