SOURCES: libdv-mmx.patch (NEW) - fix idiotic constraints for asm. ...
pluto
pluto at pld-linux.org
Sat Dec 10 23:05:06 CET 2005
Author: pluto Date: Sat Dec 10 22:05:06 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix idiotic constraints for asm. operands.
---- Files affected:
SOURCES:
libdv-mmx.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libdv-mmx.patch
diff -u /dev/null SOURCES/libdv-mmx.patch:1.1
--- /dev/null Sat Dec 10 23:05:06 2005
+++ SOURCES/libdv-mmx.patch Sat Dec 10 23:05:01 2005
@@ -0,0 +1,33 @@
+--- libdv-0.104/libdv/mmx.h.orig 2001-10-28 03:23:57.000000000 +0000
++++ libdv-0.104/libdv/mmx.h 2005-12-10 21:56:20.931874000 +0000
+@@ -353,16 +353,16 @@
+ #define mmx_i2r(op, imm, reg) \
+ __asm__ __volatile__ (#op " %0, %%" #reg \
+ : /* nothing */ \
+- : "X" (imm) )
++ : "i" (imm) )
+
+ #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" \
+- : "=X" (mem) \
++ : "=m" (mem) \
+ : /* nothing */ )
+
+ #define mmx_r2r(op, regs, regd) \
+@@ -372,8 +372,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
+
================================================================
More information about the pld-cvs-commit
mailing list