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

2017-06-22 Thread Matt Turner
On Sun, Jun 18, 2017 at 10:56 AM, Uros Bizjak wrote: > On Fri, Jun 16, 2017 at 11:42 PM, Matt Turner 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

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

2017-06-18 Thread Uros Bizjak
On Fri, Jun 16, 2017 at 11:42 PM, Matt Turner 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 instr

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

2017-06-16 Thread Matt Turner
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_de