re PR target/77756 (__get_cpuid() returns wrong values for level 7 (extended features))
authorUros Bizjak <ubizjak@gmail.com>
Thu, 29 Sep 2016 18:44:32 +0000 (20:44 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 29 Sep 2016 18:44:32 +0000 (20:44 +0200)
commit2488ebe5ef1788616c2fbc61e05af09f0749ebbe
treea2e01bfac39fbf7a7b780b5ac05e4d7f81c2b335
parentf90b32b95bac7d534a96a032af466f1b5087371b
re PR target/77756 (__get_cpuid() returns wrong values for level 7 (extended features))

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.

From-SVN: r240629
gcc/ChangeLog
gcc/config/i386/cpuid.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77756.c