mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-14 17:20:59 +08:00
[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:
parent
a1950df341
commit
ab7f327830
@ -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.
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user