summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'devel/SDL/patches/patch-ac')
-rw-r--r--devel/SDL/patches/patch-ac30
1 files changed, 4 insertions, 26 deletions
diff --git a/devel/SDL/patches/patch-ac b/devel/SDL/patches/patch-ac
index 8974cdd389c..db84f88f674 100644
--- a/devel/SDL/patches/patch-ac
+++ b/devel/SDL/patches/patch-ac
@@ -1,14 +1,8 @@
-$NetBSD: patch-ac,v 1.9 2003/10/27 23:19:46 kristerw Exp $
+$NetBSD: patch-ac,v 1.10 2004/01/10 13:57:12 recht Exp $
---- src/video/mmx.h.orig Fri Aug 22 07:51:19 2003
-+++ src/video/mmx.h Mon Oct 27 21:07:27 2003
-@@ -348,16 +348,16 @@
- #define mmx_i2r(op, imm, reg) \
- __asm__ __volatile__ (#op " %0, %%" #reg \
- : /* nothing */ \
-- : "X" (imm) )
-+ : "i" (imm) )
-
+--- src/video/mmx.h.orig 2003-08-22 07:51:19.000000000 +0200
++++ src/video/mmx.h 2004-01-10 14:24:56.000000000 +0100
+@@ -353,7 +353,7 @@
#define mmx_m2r(op, mem, reg) \
__asm__ __volatile__ (#op " %0, %%" #reg \
: /* nothing */ \
@@ -17,19 +11,3 @@ $NetBSD: patch-ac,v 1.9 2003/10/27 23:19:46 kristerw Exp $
#define mmx_r2m(op, reg, mem) \
__asm__ __volatile__ (#op " %%" #reg ", %0" \
-- : "=X" (mem) \
-+ : "=m" (mem) \
- : /* nothing */ )
-
- #define mmx_r2r(op, regs, regd) \
-@@ -367,8 +367,8 @@
- __asm__ __volatile__ ("movq %0, %%mm0\n\t" \
- #op " %1, %%mm0\n\t" \
- "movq %%mm0, %0" \
-- : "=X" (memd) \
-- : "X" (mems))
-+ : "=m" (memd) \
-+ : "m" (mems))
-
- #endif
-