Commit 377eaca7 by Uros Bizjak Committed by Uros Bizjak

i * gcc.dg/vect/pr66636.c (foo): Add __attribute__((noinline,noclone)).

From-SVN: r236238
parent 5fe79728
......@@ -18,6 +18,7 @@
* gcc.dg/vect/tree-vect.h (check_vect): Handle AVX2,
remove XOP handling.
* gcc.dg/vect/pr66636.c (foo): Add __attribute__((noinline,noclone)).
2016-05-13 Nathan Sidwell <nathan@acm.org>
......
......@@ -6,7 +6,8 @@ extern void abort (void);
struct X { double x; double y; };
void foo (struct X *x, double px, int s)
void __attribute__((noinline,noclone))
foo (struct X *x, double px, int s)
{
int i;
for (i = 0; i < 256; ++i)
......
......@@ -38,7 +38,7 @@ check_vect (void)
/* Determine what instruction set we've been compiled for, and detect
that we're running with it. This allows us to at least do a compile
check for, e.g. SSE4.1 when the machine only supports SSE2. */
#if defined(__AVX2__)
# if defined(__AVX2__)
want_level = 7, want_b = bit_AVX2;
# elif defined(__AVX__)
want_level = 1, want_c = bit_AVX;
......
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