Commit ab7f3278 by Kyrylo Tkachov Committed by Kyrylo Tkachov

[ARM][tests] Make input and output arrays 128-bit aligned in vectorisation tests

	* gcc.target/arm/vect-lceilf_1.c: Make input and output arrays global
	and 16-byte aligned.
	* gcc.target/arm/vect-lfloorf_1.c: Likewise.
	* gcc.target/arm/vect-lroundf_1.c: Likewise.
	* gcc.target/arm/vect-rounding-btruncf.c: Likewise.
	* gcc.target/arm/vect-rounding-ceilf.c: Likewise.
	* gcc.target/arm/vect-rounding-floorf.c: Likewise.
	* gcc.target/arm/vect-rounding-roundf.c: Likewise.

From-SVN: r215085
parent a1950df3
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vect-lceilf_1.c: Make input and output arrays global
and 16-byte aligned.
* gcc.target/arm/vect-lfloorf_1.c: Likewise.
* gcc.target/arm/vect-lroundf_1.c: Likewise.
* gcc.target/arm/vect-rounding-btruncf.c: Likewise.
* gcc.target/arm/vect-rounding-ceilf.c: Likewise.
* gcc.target/arm/vect-rounding-floorf.c: Likewise.
* gcc.target/arm/vect-rounding-roundf.c: Likewise.
2014-09-09 Alan Lawrence <alan.lawrence@arm.com> 2014-09-09 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vldN_dup_1.c: New test. * gcc.target/aarch64/vldN_dup_1.c: New test.
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void void
foo (int *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void void
foo (int *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void void
foo (int *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void void
foo (float *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void void
foo (float *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void void
foo (float *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
...@@ -5,8 +5,11 @@ ...@@ -5,8 +5,11 @@
#define N 32 #define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void void
foo (float *output, float *input) foo ()
{ {
int i = 0; int i = 0;
/* Vectorizable. */ /* Vectorizable. */
......
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