This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/77756] __get_cpuid() returns wrong values for level 7 (extended features)


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

--- Comment #11 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Sep 29 18:44:32 2016
New Revision: 240629

URL: https://gcc.gnu.org/viewcvs?rev=240629&root=gcc&view=rev
Log:
        PR target/77756
        * config/i386/cpuid.h (__get_cpuid_count): New.
        (__get_cpuid): Rename __level to __leaf.

testsuite/ChangeLog:

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


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/cpuid.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/pr77756.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]