https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77756

--- Comment #14 from uros at gcc dot gnu.org ---
Author: uros
Date: Tue Oct  4 14:44:16 2016
New Revision: 240747

URL: https://gcc.gnu.org/viewcvs?rev=240747&root=gcc&view=rev
Log:
        Backport from mainline
        2016-09-29  Uros Bizjak  <ubiz...@gmail.com>

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

        2016-09-29  Uros Bizjak  <ubiz...@gmail.com>

        PR target/77756
        * config/i386/cpuid.h (__get_cpuid_count): New.
        (__get_cpuid): Rename __level to __leaf.

testsuite/ChangeLog:

        Backport from mainline
        2016-09-29  Uros Bizjak  <ubiz...@gmail.com>

        PR target/77756
        * gcc.target/i386/pr77756.c: New test.


Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.target/i386/pr77756.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/config/i386/cpuid.h
    branches/gcc-6-branch/gcc/config/i386/driver-i386.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to