about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/HISTORY3
-rw-r--r--lib/libpbm3.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/HISTORY b/doc/HISTORY
index f0882363..de7c8b1e 100644
--- a/doc/HISTORY
+++ b/doc/HISTORY
@@ -8,8 +8,7 @@ not yet  BJH  Release 10.43.00
 
               pnmnorm: fix -colorvalue, -saturation, -keephues options.
 
-              Build: make it work with Gcc 4.3 and -sse by omitting
-              MMX/SSE optimizations.
+              Build: make it work with Gcc 4.3 and -sse.
 
 08.03.26 BJH  Release 10.42.00
 
diff --git a/lib/libpbm3.c b/lib/libpbm3.c
index 7debedb9..084eeccc 100644
--- a/lib/libpbm3.c
+++ b/lib/libpbm3.c
@@ -116,7 +116,11 @@ packBitsWithMmxSse(FILE *          const fileP,
             ) ];
     */
 
+#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 403)
+    typedef char v8qi __attribute__ ((vector_size(8)));
+#else
     typedef int v8qi __attribute__ ((mode(V8QI)));
+#endif
     typedef int di __attribute__ ((mode(DI)));
 
     di const zero64 = 0;        /* to clear with PXOR */