]> gcc.gnu.org Git - gcc.git/commit
x86: Add __cpuidex and include guard to <cpuid.h>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 18 Jul 2020 11:43:10 +0000 (04:43 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 19 Jul 2020 11:10:04 +0000 (04:10 -0700)
commit29e1039ca211c4e3f1053925eda0a81c57cbcb0c
tree4d4f14320ba26cc0f022a662e40d106972b01e48
parent3055d879edb1bc2a3923f92a5e681c8f6774fbc3
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.
gcc/config/i386/cpuid.h
gcc/testsuite/gcc.target/i386/pr95973.c [new file with mode: 0644]
This page took 0.063919 seconds and 6 git commands to generate.