target-supports.exp (check_effective_target_avx512f): Make sure the builtin isn't optimized away as unused.
* lib/target-supports.exp (check_effective_target_avx512f): Make sure the builtin isn't optimized away as unused. From-SVN: r206270
This commit is contained in:
parent
726c3546ef
commit
970c3b3398
3 changed files with 7 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
|||
* cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
|
||||
new_rtx into UNSIGNED_FLOAT rtxes.
|
||||
|
||||
Copyright (C) 2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 2014 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
2014-01-01 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_avx512f): Make sure
|
||||
the builtin isn't optimized away as unused.
|
||||
|
||||
PR rtl-optimization/59647
|
||||
* g++.dg/opt/pr59647.C: New test.
|
||||
|
||||
Copyright (C) 2013 Free Software Foundation, Inc.
|
||||
Copyright (C) 2014 Free Software Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
|
|
|
@ -5176,9 +5176,9 @@ proc check_effective_target_avx512f { } {
|
|||
return [check_no_compiler_messages avx512f object {
|
||||
typedef double __m512d __attribute__ ((__vector_size__ (64)));
|
||||
|
||||
void _mm512_add (__m512d a)
|
||||
__m512d _mm512_add (__m512d a)
|
||||
{
|
||||
__builtin_ia32_addpd512_mask (a, a, a, 1, 4);
|
||||
return __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
|
||||
}
|
||||
} "-O2 -mavx512f" ]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue