driver-i386.c (host_detect_local_cpu): Check maximum ext_level before calling CPUID...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 29 Sep 2016 20:49:58 +0000 (22:49 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 29 Sep 2016 20:49:58 +0000 (22:49 +0200)
commit0a2d7bc05a7de689cb3fde82109e74a0b72e535c
tree64ef9bbd62abd3d0d71dc9edd66a008d9e621480
parentdd4b238a77c34f2ef1109623da2200793fa45d45
driver-i386.c (host_detect_local_cpu): Check maximum ext_level before calling CPUID with 0x80000008.

* config/i386/driver-i386.c (host_detect_local_cpu): Check maximum
ext_level before calling CPUID with 0x80000008.
Simplify xgetbv checks.

From-SVN: r240637
gcc/ChangeLog
gcc/config/i386/driver-i386.c