Commit 962a5eb7 authored by diego's avatar diego

Fix building with --disable-opts but MMX enabled.

patch by Marco Manfredini mldb %at% gmx %dot% net


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5994 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e67d6750
...@@ -184,16 +184,16 @@ typedef union { ...@@ -184,16 +184,16 @@ typedef union {
#define mmx_m2ri(op,mem,reg,imm) \ #define mmx_m2ri(op,mem,reg,imm) \
__asm__ __volatile__ (#op " %1, %0, %%" #reg \ __asm__ __volatile__ (#op " %1, %0, %%" #reg \
: /* nothing */ \ : /* nothing */ \
: "X" (mem), "X" (imm)) : "m" (mem), "i" (imm))
#define mmx_r2ri(op,regs,regd,imm) \ #define mmx_r2ri(op,regs,regd,imm) \
__asm__ __volatile__ (#op " %0, %%" #regs ", %%" #regd \ __asm__ __volatile__ (#op " %0, %%" #regs ", %%" #regd \
: /* nothing */ \ : /* nothing */ \
: "X" (imm) ) : "i" (imm) )
#define mmx_fetch(mem,hint) \ #define mmx_fetch(mem,hint) \
__asm__ __volatile__ ("prefetch" #hint " %0" \ __asm__ __volatile__ ("prefetch" #hint " %0" \
: /* nothing */ \ : /* nothing */ \
: "X" (mem)) : "m" (mem))
#define maskmovq(regs,maskreg) mmx_r2ri (maskmovq, regs, maskreg) #define maskmovq(regs,maskreg) mmx_r2ri (maskmovq, regs, maskreg)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment