summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-ac
blob: db84f88f674c7a6124883cfa6b5f0b218aa9ef64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.10 2004/01/10 13:57:12 recht Exp $

--- 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 */ \
-			      : "X" (mem))
+			      : "m" (mem))
 
 #define	mmx_r2m(op, reg, mem) \
 	__asm__ __volatile__ (#op " %%" #reg ", %0" \