aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-06-27 10:00:07 +0000
committerRichard Sandiford <richard@codesourcery.com>2006-06-27 10:00:07 +0000
commit7d9fb55088abd77468377d07b94078e465bb60e2 (patch)
tree06c0b7ebe23ae2b3e4ae2bfe037e162bb3e9bd35 /gcc
parentade539b423f67b1d3654cb67973831007137b4bb (diff)
gcc/testsuite/
* gcc.dg/compat/vector-defs.h: Revert previous change. * gcc.dg/compat/struct-layout-1.h (v16sf): Define to v4sf on uClinux. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl/coldfire-4_1@115033 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-layout-1.h4
-rw-r--r--gcc/testsuite/gcc.dg/compat/vector-defs.h10
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;