[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #5 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 31 22:04:22 2018 New Revision: 261042 URL: https://gcc.gnu.org/viewcvs?rev=261042=gcc=rev Log: PR target/85591 * config/i386/cpuinfo.c (get_amd_cpu):

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-31 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Thu May 31 19:45:54 2018 New Revision: 261036 URL: https://gcc.gnu.org/viewcvs?rev=261036=gcc=rev Log: PR target/85591 * config/i386/cpuinfo.c (get_amd_cpu):

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-31 Thread stefantalpalaru at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #3 from Ștefan Talpalaru --- I applied the patch to gcc-8.1.0 and it fixes the problem on my CPU.

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-31 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #2 from Uroš Bizjak --- Created attachment 44218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44218=edit Proposed patch Can someone please test the attached patch?

[Bug target/85591] __builtin_cpu_is() is not detecting bdver2 with Model = 0x02

2018-05-30 Thread stefantalpalaru at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85591 --- Comment #1 from Ștefan Talpalaru --- I can confirm this on an FX-8320E.