[PATCH 1/2] i386: Consider Kaby Lake to be equivalent to Skylake

Matt Turner mattst88@gmail.com
Thu Jun 22 17:34:00 GMT 2017


On Sun, Jun 18, 2017 at 10:56 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> On Fri, Jun 16, 2017 at 11:42 PM, Matt Turner <mattst88@gmail.com> wrote:
>> Currently -march=native selects -march=broadwell on Kaby Lake systems,
>> since its model numbers are missing from the switch statement. It falls
>> back to the default case and chooses -march=broadwell because of the
>> presence of the ADX instruction set.
>>
>> gcc/
>>         * config/i386/driver-i386.c (host_detect_local_cpu): Add Kaby
>>         Lake models to skylake case.
>>
>> gcc/testsuite/
>>
>>         * gcc.target/i386/builtin_target.c: Add Kaby Lake models to
>>         skylake check.
>>
>> libgcc/
>>
>>         * config/i386/cpuinfo.c (get_intel_cpu): Add Kaby Lake models to
>>         skylake case.
>
> OK.
>
> Thanks,
> Uros.

Thank you very much. I do not have write access, so please check the
patches in for me if you would not mind.



More information about the Gcc-patches mailing list