[Ffmpeg-cvslog] r5994 - trunk/libavcodec/i386/mmx.h
diego
subversion
Sun Aug 13 12:10:07 CEST 2006
Author: diego
Date: Sun Aug 13 12:10:06 2006
New Revision: 5994
Modified:
trunk/libavcodec/i386/mmx.h
Log:
Fix building with --disable-opts but MMX enabled.
patch by Marco Manfredini mldb %at% gmx %dot% net
Modified: trunk/libavcodec/i386/mmx.h
==============================================================================
--- trunk/libavcodec/i386/mmx.h (original)
+++ trunk/libavcodec/i386/mmx.h Sun Aug 13 12:10:06 2006
@@ -184,16 +184,16 @@
#define mmx_m2ri(op,mem,reg,imm) \
__asm__ __volatile__ (#op " %1, %0, %%" #reg \
: /* nothing */ \
- : "X" (mem), "X" (imm))
+ : "m" (mem), "i" (imm))
#define mmx_r2ri(op,regs,regd,imm) \
__asm__ __volatile__ (#op " %0, %%" #regs ", %%" #regd \
: /* nothing */ \
- : "X" (imm) )
+ : "i" (imm) )
#define mmx_fetch(mem,hint) \
__asm__ __volatile__ ("prefetch" #hint " %0" \
: /* nothing */ \
- : "X" (mem))
+ : "m" (mem))
#define maskmovq(regs,maskreg) mmx_r2ri (maskmovq, regs, maskreg)
More information about the ffmpeg-cvslog
mailing list