[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
This commit is contained in:
Kyrylo Tkachov 2014-09-09 15:27:42 +00:00 committed by Kyrylo Tkachov
parent a1950df341
commit ab7f327830
8 changed files with 39 additions and 7 deletions

View File

@ -1,3 +1,14 @@
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>
* gcc.target/aarch64/vldN_dup_1.c: New test.

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void
foo (int *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void
foo (int *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
int __attribute__((aligned(16))) output[N];
void
foo (int *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void
foo (float *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void
foo (float *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void
foo (float *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */

View File

@ -5,8 +5,11 @@
#define N 32
float __attribute__((aligned(16))) input[N];
float __attribute__((aligned(16))) output[N];
void
foo (float *output, float *input)
foo ()
{
int i = 0;
/* Vectorizable. */