* gcc.target/i386/adx-check.h (main): Use __get_cpuid_count.
commit3c824e452091f24976fcd669c85c92653646d4a6
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Sep 2017 23:17:26 +0000 (3 23:17 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 3 Sep 2017 23:17:26 +0000 (3 23:17 +0000)
tree4236956a5e13c223f2a0138d3a90e43c9dfe1650
parenta89fcaa4ac386213f474c9035790f77791b133c8
* gcc.target/i386/adx-check.h (main): Use __get_cpuid_count.
* gcc.target/i386/bmi-check.h (main): Ditto.
* gcc.target/i386/bmi2-check.h (main): Ditto.
* gcc.target/i386/rtm-check.h (main): Ditto.
* gcc.target/i386/sha-check.h (main): Ditto.
* gcc.target/i386/avx2-check.h (check_osxsave): New function.
(main): Use __get_cpuid_count.  Use check_osxsave.
* gcc.target/i386/avx512-check.h (check_osxsave): New function.
(main): Use __get_cpuid_count.  Use check_osxsave.  Reorder conditions.
* gcc.target/i386/mpx/mpx-check.h (check_osxsave): New function.
(main): Use check_osxsave.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251629 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/adx-check.h
gcc/testsuite/gcc.target/i386/avx2-check.h
gcc/testsuite/gcc.target/i386/avx512-check.h
gcc/testsuite/gcc.target/i386/bmi-check.h
gcc/testsuite/gcc.target/i386/bmi2-check.h
gcc/testsuite/gcc.target/i386/mpx/mpx-check.h
gcc/testsuite/gcc.target/i386/rtm-check.h
gcc/testsuite/gcc.target/i386/sha-check.h