RE: [PATCH][committed] aarch64: Suggest an -mcpu option when user passes CPU name to -march

2022-09-06 Thread Kyrylo Tkachov via Gcc-patches
> -Original Message- > From: Richard Earnshaw > Sent: Monday, September 5, 2022 2:43 PM > To: Kyrylo Tkachov ; gcc-patches@gcc.gnu.org > Subject: Re: [PATCH][committed] aarch64: Suggest an -mcpu option when > user passes CPU name to -march > > > > On 05

Re: [PATCH][committed] aarch64: Suggest an -mcpu option when user passes CPU name to -march

2022-09-05 Thread Richard Earnshaw via Gcc-patches
On 05/09/2022 14:35, Kyrylo Tkachov via Gcc-patches wrote: Hi all, This small patch helps users who confuse -march and -mcpu on AArch64. Sometimes users pass -march with a CPU name, where they most likely wanted to use -mcpu, which would select the right architecture features *and* tune for t

[PATCH][committed] aarch64: Suggest an -mcpu option when user passes CPU name to -march

2022-09-05 Thread Kyrylo Tkachov via Gcc-patches
Hi all, This small patch helps users who confuse -march and -mcpu on AArch64. Sometimes users pass -march with a CPU name, where they most likely wanted to use -mcpu, which would select the right architecture features *and* tune for their desired CPU. Currently we'll just error out with an unkown