diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-layout-1.h | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/vector-defs.h | 10 |
2 files changed, 4 insertions, 10 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h index e165e203a32..2dca15d745f 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-layout-1.h +++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1.h @@ -57,6 +57,10 @@ typedef int __m128; typedef int __m64; typedef int __m128; #endif +#if defined (__uClinux__) +/* The maximum achievable alignment on uClinux is usually 16 bytes. */ +#define v16sf v4sf +#endif #define FLDS_MAX 32 extern struct Info diff --git a/gcc/testsuite/gcc.dg/compat/vector-defs.h b/gcc/testsuite/gcc.dg/compat/vector-defs.h index ac1870175af..57140f115cd 100644 --- a/gcc/testsuite/gcc.dg/compat/vector-defs.h +++ b/gcc/testsuite/gcc.dg/compat/vector-defs.h @@ -25,12 +25,7 @@ typedef di __attribute__((vector_size (16))) v2di; typedef sf __attribute__((vector_size (8))) v2sf; typedef sf __attribute__((vector_size (16))) v4sf; -#if defined (__uClinux__) -/* The maximum achievable alignment on uClinux is usually 16 bytes. */ -typedef sf __attribute__((vector_size (16))) v16sf; -#else typedef sf __attribute__((vector_size (64))) v16sf; -#endif typedef df __attribute__((vector_size (16))) v2df; @@ -51,12 +46,7 @@ typedef int __attribute__((mode(V2DI))) v2di; typedef float __attribute__((mode(V2SF))) v2sf; typedef float __attribute__((mode(V4SF))) v4sf; -#if defined (__uClinux__) -/* The maximum achievable alignment on uClinux is usually 16 bytes. */ -typedef float __attribute__((mode(V4SF))) v16sf; -#else typedef float __attribute__((mode(V16SF))) v16sf; -#endif typedef float __attribute__((mode(V2DF))) v2df; |