re PR target/77756 (__get_cpuid() returns wrong values for level 7 (extended features))
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 28 Sep 2016 21:29:47 +0000 (23:29 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 28 Sep 2016 21:29:47 +0000 (23:29 +0200)
commit12a813c16f5c7c5a10d8d5080b315463c4c584f8
treefa9603383035d19722911083c6375c6cfacb5807
parent88000fd1dcfa85b7909ffa3cc40a18c577f26e25
re PR target/77756 (__get_cpuid() returns wrong values for level 7 (extended features))

PR target/77756
* config/i386/cpuid.h (__get_cpuid): Handle CPUID level >= 7.

testsuite/ChangeLog:

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

From-SVN: r240597
gcc/ChangeLog
gcc/config/i386/cpuid.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr77756.c [new file with mode: 0644]