[Bug target/95973] Add __cpuidex

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 19 11:21:15 GMT 2020


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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:29e1039ca211c4e3f1053925eda0a81c57cbcb0c

commit r11-2216-g29e1039ca211c4e3f1053925eda0a81c57cbcb0c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Jul 18 04:43:10 2020 -0700

    x86: Add __cpuidex and include guard to <cpuid.h>

    Add

    void __cpuidex (int __cpuid_info[4], int __leaf, int __subleaf);

    as well as include guard to <cpuid.h>.

    gcc/

            PR target/95973
            PR target/96238
            * config/i386/cpuid.h: Add include guard.
            (__cpuidex): New.

    gcc/testsuite/

            PR target/95973
            PR target/96238
            * gcc.target/i386/pr95973.c: New test.


More information about the Gcc-bugs mailing list