Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-03-09 Thread Martin Liška
On 03/09/2018 04:43 PM, Kyrill Tkachov wrote: On 22/02/18 12:15, Martin Liška wrote: On 02/22/2018 11:59 AM, Kyrill Tkachov wrote: Hi Martin, On 22/02/18 08:51, Martin Liška wrote: On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: On arm we also support "native" as a value for -mcpu and

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-03-09 Thread Kyrill Tkachov
On 22/02/18 12:15, Martin Liška wrote: On 02/22/2018 11:59 AM, Kyrill Tkachov wrote: Hi Martin, On 22/02/18 08:51, Martin Liška wrote: On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: On arm we also support "native" as a value for -mcpu and -mtune. These are both handled by the

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-03-08 Thread Martin Liška
PING^1 On 02/22/2018 01:15 PM, Martin Liška wrote: > On 02/22/2018 11:59 AM, Kyrill Tkachov wrote: >> Hi Martin, >> >> On 22/02/18 08:51, Martin Liška wrote: >>> On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: On arm we also support "native" as a value for -mcpu and -mtune. These are

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-22 Thread Martin Liška
On 02/22/2018 11:59 AM, Kyrill Tkachov wrote: > Hi Martin, > > On 22/02/18 08:51, Martin Liška wrote: >> On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: >>> On arm we also support "native" as a value for -mcpu and -mtune. These are >>> both handled by >>> the arm_print_hint_for_cpu_option function

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-22 Thread Kyrill Tkachov
Hi Martin, On 22/02/18 08:51, Martin Liška wrote: On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: On arm we also support "native" as a value for -mcpu and -mtune. These are both handled by the arm_print_hint_for_cpu_option function in the same file. Can you please add this snippet to them as

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-22 Thread Martin Liška
On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: > > On arm we also support "native" as a value for -mcpu and -mtune. These are  > both handled by > the arm_print_hint_for_cpu_option function in the same file. Can you please  > add this snippet > to them as well? Hi. Can you please test for me

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-21 Thread Martin Liška
On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: > Have you tested this with a native and a cross-compiler like the aarch64  > version? Yes, you tested that ;) I'm going to install the patch. Martin

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-21 Thread Kyrill Tkachov
On 21/02/18 09:53, Martin Liška wrote: On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: Have you tested this with a native and a cross-compiler like the aarch64 version? No, I don't have a machine. Can you please do that? Sure, I've bootstrapped and tested it on arm-none-linux-gnueabihf and

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-21 Thread Martin Liška
On 02/21/2018 10:23 AM, Kyrill Tkachov wrote: > Have you tested this with a native and a cross-compiler like the aarch64  > version? No, I don't have a machine. Can you please do that? Thanks, Martin

Re: Add "native" as a valid option value for -march= on arm (PR driver/83193).

2018-02-21 Thread Kyrill Tkachov
Hi Martin, On 21/02/18 07:34, Martin Liška wrote: Hi. This is equivalent patch for ARM target. Thanks for fixing this! Ready for trunk? Have you tested this with a native and a cross-compiler like the aarch64 version? Thanks, Martin From 656a883bc5239439ba80743f15a8df704501ee71 Mon