[Bug target/95660] get_intel_cpu in cpuinfo.c contains unnecessary check for brand_id
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 24 15:13:28 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95660
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:134f7c941929b3d099322a89928c04e5ac69267e
commit r11-1631-g134f7c941929b3d099322a89928c04e5ac69267e
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jun 12 16:33:23 2020 -0700
x86: Remove brand ID check for Intel processors
Brand ID was a feature that briefly existed in some Pentium III and
Pentium 4 CPUs. The CPUs that had non-zero brand ID still have had
valid family/model. Brand ID just gives a marketing name for the CPU.
Remove the extra code for brand ID check.
gcc/
PR target/95660
* common/config/i386/cpuinfo.h (get_intel_cpu): Remove brand_id.
(cpu_indicator_init): Likewise.
* config/i386/driver-i386.c (host_detect_local_cpu): Updated.
gcc/testsuite/
PR target/95660
* gcc.target/i386/builtin_target.c (check_detailed): Updated.
More information about the Gcc-bugs
mailing list