aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x44
1 files changed, 0 insertions, 44 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x b/gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x
deleted file mode 100644
index 338f6edf9..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.target/aarch64/vect-fp.x
+++ /dev/null
@@ -1,44 +0,0 @@
-
-typedef float F32;
-typedef double F64;
-typedef float *__restrict__ pRF32;
-typedef double *__restrict__ pRF64;
-
-extern float fabsf (float);
-extern double fabs (double);
-
-#define DEF3(fname, type, op) \
- void fname##_##type (pR##type a, \
- pR##type b, \
- pR##type c) \
- { \
- int i; \
- for (i=0; i<16; i++) \
- a[i] = b[i] op c[i]; \
- }
-
-#define DEF2(fname, type, op) \
- void fname##_##type (pR##type a, \
- pR##type b) \
- { \
- int i; \
- for (i=0; i<16; i++) \
- a[i] = op(b[i]); \
- }
-
-
-#define DEFN3(fname, op) \
- DEF3 (fname, F32, op) \
- DEF3 (fname, F64, op)
-
-#define DEFN2(fname, op) \
- DEF2 (fname, F32, op) \
- DEF2 (fname, F64, op)
-
-DEFN3 (add, +)
-DEFN3 (sub, -)
-DEFN3 (mul, *)
-DEFN3 (div, /)
-DEFN2 (neg, -)
-DEF2 (abs, F32, fabsf)
-DEF2 (abs, F64, fabs)