Re: [PATCH] x86: Add __cpuidex and include guard to

2020-07-19 Thread H.J. Lu via Gcc-patches
[1] != ebx > + || cpuid_info[2] != ecx > + || cpuid_info[3] != edx) > +abort (); > > You can use __builtin_abort here to avoid inclusion of stdlib.h. Fixed. This is the patch I am checking in. Thanks. -- H.J. From 56633350c6438a3a64bd84af809b4663ea627208 Mon Sep

Re: [PATCH] x86: Add __cpuidex and include guard to

2020-07-19 Thread Uros Bizjak via Gcc-patches
> Add > > void __cpuidex (int __cpuid_info[4], int __leaf, int __subleaf); > > as well as include guard to . > > 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/pr

[PATCH] x86: Add __cpuidex and include guard to

2020-07-18 Thread H.J. Lu via Gcc-patches
Add void __cpuidex (int __cpuid_info[4], int __leaf, int __subleaf); as well as include guard to . gcc/ PR target/95973 PR target/96238 * config/i386/cpuid.h: Add include guard. (__cpuidex): New. gcc/testsuite/ PR target/95973 PR target/96238