diff options
author | Andi Kleen <ak@linux.intel.com> | 2016-07-06 02:38:49 +0000 |
---|---|---|
committer | Andi Kleen <ak@gcc.gnu.org> | 2016-07-06 02:38:49 +0000 |
commit | 8070763a2cd6d84f8614890a9a7bfae57b44c047 (patch) | |
tree | c126d32aab7e0abd395b031752d1798dceeb508e /gcc/tree-vectorizer.h | |
parent | 8217ad204feff459bdf3f0eb1e99a02ab6fba9a3 (diff) | |
download | gcc-8070763a2cd6d84f8614890a9a7bfae57b44c047.zip gcc-8070763a2cd6d84f8614890a9a7bfae57b44c047.tar.gz gcc-8070763a2cd6d84f8614890a9a7bfae57b44c047.tar.bz2 |
Fix MPX tests on systems with MPX disabled
I have a Skylake system with MPX in the CPU, but MPX is disabled
in the kernel configuration.
This makes all the MPX tests fail because they assume if MPX
is in CPUID it works
Check the output of XGETBV too to detect non MPX kernels.
gcc/testsuite/:
2016-07-05 Andi Kleen <ak@linux.intel.com>
* gcc.target/i386/mpx/mpx-check.h: Check XGETBV output
if kernel supports MPX.
From-SVN: r238031
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions