diff options
author | Marco Manfredini <mldb@gmx.net> | 2006-08-13 10:10:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-08-13 10:10:06 +0000 |
commit | 6bb9e49249cb710e5c4dc4d1ea448e32f72c3567 (patch) | |
tree | d743c1f7208cd0132203edb90cfa42e2bc222e0e /libavcodec/i386/mmx.h | |
parent | b5f7e6eb95cb4cdb3204e34b2935d14bac50ab4a (diff) | |
download | ffmpeg-6bb9e49249cb710e5c4dc4d1ea448e32f72c3567.tar.gz |
Fix building with --disable-opts but MMX enabled.
patch by Marco Manfredini mldb %at% gmx %dot% net
Originally committed as revision 5994 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/mmx.h')
-rw-r--r-- | libavcodec/i386/mmx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/mmx.h b/libavcodec/i386/mmx.h index eab0513416..a2d87b2e73 100644 --- a/libavcodec/i386/mmx.h +++ b/libavcodec/i386/mmx.h @@ -184,16 +184,16 @@ typedef union { #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) |