Commit 746cd719 by Bernd Edlinger

vect-nop-move.c (main): Check for vect runtime.

2014-01-25  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * gcc.dg/vect/vect-nop-move.c (main): Check for vect runtime.

From-SVN: r207075
parent 54dce195
2014-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
* gcc.dg/vect/vect-nop-move.c (main): Check for vect runtime.
2014-01-24 Jeff Law <law@redhat.com>
PR tree-optimization/59919
......@@ -55,8 +59,8 @@
* g++.dg/cilk-plus/cilk-plus.exp: Called the C/C++ common tests for
SIMD enabled function.
* g++.dg/cilk-plus/ef_test.C: New test.
* c-c++-common/cilk-plus/ef_error3.c: Made certain messages C specific
and added C++ ones.
* c-c++-common/cilk-plus/ef_error3.c: Made certain messages C specific
and added C++ ones.
* c-c++-common/cilk-plus/vlength_errors.c: Added new dg-error tags
to differenciate C error messages from C++ ones.
......
......@@ -2,6 +2,8 @@
/* { dg-require-effective-target vect_float } */
/* { dg-additional-options "-fdump-rtl-combine-details" } */
#include "tree-vect.h"
extern void abort (void);
#define NOINLINE __attribute__((noinline))
......@@ -48,8 +50,8 @@ foo32x2_le (float32x2_t x)
return bar (x[0]);
}
int
main()
NOINLINE int
test (void)
{
float32x4_t a = { 0.0f, 1.0f, 2.0f, 3.0f };
float32x2_t b = { 0.0f, 1.0f };
......@@ -69,6 +71,13 @@ main()
return 0;
}
int
main ()
{
check_vect ();
return test ();
}
/* { dg-final { scan-rtl-dump "deleting noop move" "combine" { target aarch64*-*-* } } } */
/* { dg-final { cleanup-rtl-dump "combine" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
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