diff options
author | liuhongt <hongtao.liu@intel.com> | 2024-07-03 14:47:33 +0800 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2024-07-03 15:27:00 +0800 |
commit | 239ad907b1fc08874042f8bea5f61eaf3ba2877d (patch) | |
tree | aef19400e6651a8b9a79c8c0df00511554aa1953 /gcc/tree-vect-patterns.cc | |
parent | ab3e3d2f0564c2eb0640de3f4d0a50e1fcc8c318 (diff) | |
download | gcc-239ad907b1fc08874042f8bea5f61eaf3ba2877d.zip gcc-239ad907b1fc08874042f8bea5f61eaf3ba2877d.tar.gz gcc-239ad907b1fc08874042f8bea5f61eaf3ba2877d.tar.bz2 |
Move runtime check into a separate function and guard it with target ("no-avx")
The patch can avoid SIGILL on non-AVX512 machine due to kmovd is
generated in dynamic check.
gcc/testsuite/ChangeLog:
PR target/115748
* gcc.target/i386/avx512-check.h: Move runtime check into a
separate function and guard it with target ("no-avx").
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions