On Wed, Sep 30, 2020 at 04:29:34PM +0200, Florian Weimer wrote:
> > Thinking about it more, wouldn't it better to just imply generic tuning
> > for these -march= options?
> 
> I think this is what the patch does?  See the x86-64-v3-haswell.c
> test.

No, I think it will have that behavior solely when the compiler has been
configured to default to -mtune=generic.
What I'm suggesting is to not ignore the tuning like you do for PTA_NO_TUNE,
but instead perhaps use PROCESSOR_GENERIC and special case it in the code
so that ix86_arch will be set to PROCESSOR_K8 in that case and only
ix86_tune will be PROCESSOR_GENERIC.

        Jakub

Reply via email to