Commit 970c3b33 by Jakub Jelinek Committed by Jakub Jelinek

target-supports.exp (check_effective_target_avx512f): Make sure the builtin…

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
parent 726c3546
......@@ -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
......
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" ]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment