target-supports.exp (check_effective_target_vect_simd_clones): Update comment to mention also avx512f.

* lib/target-supports.exp (check_effective_target_vect_simd_clones):
	Update comment to mention also avx512f.

From-SVN: r239999
This commit is contained in:
Jakub Jelinek 2016-09-05 21:44:26 +02:00 committed by Jakub Jelinek
parent 0ce483917f
commit c76f780985
2 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,8 @@
2016-09-05 Jakub Jelinek <jakub@redhat.com>
* lib/target-supports.exp (check_effective_target_vect_simd_clones):
Update comment to mention also avx512f.
PR sanitizer/77396
* g++.dg/asan/pr77396-2.C: New test.

View file

@ -2909,10 +2909,10 @@ proc check_effective_target_vect_simd_clones { } {
} else {
set et_vect_simd_clones_saved($et_index) 0
if { [istarget i?86-*-*] || [istarget x86_64-*-*] } {
# On i?86/x86_64 #pragma omp declare simd builds a sse2, avx and
# avx2 clone. Only the right clone for the specified arch will be
# chosen, but still we need to at least be able to assemble
# avx2.
# On i?86/x86_64 #pragma omp declare simd builds a sse2, avx, avx2
# and avx512f clone. Only the right clone for the specified arch
# will be chosen, but still we need to at least be able to assemble
# avx512f.
if { [check_effective_target_avx512f] } {
set et_vect_simd_clones_saved($et_index) 1
}