summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/mmintrin.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c0505f3419c..185da67d8f9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2002-08-06 Jakub Jelinek <jakub@redhat.com>
+ * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
+
+2002-08-06 Jakub Jelinek <jakub@redhat.com>
+
* config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
and MODE_CLASS_INT modes.
diff --git a/gcc/config/i386/mmintrin.h b/gcc/config/i386/mmintrin.h
index 41dc4be6d6e..88e384f8011 100644
--- a/gcc/config/i386/mmintrin.h
+++ b/gcc/config/i386/mmintrin.h
@@ -31,7 +31,7 @@
#define _MMINTRIN_H_INCLUDED
/* The data type intended for user use. */
-typedef unsigned long long __m64;
+typedef unsigned long long __m64 __attribute__ ((__aligned__ (8)));
/* Internal data types for implementing the intrinsics. */
typedef int __v2si __attribute__ ((__mode__ (__V2SI__)));
OpenPOWER on IntegriCloud