Commit 22cb6fb6 authored by Michael Niedermayer's avatar Michael Niedermayer

Adding missing () to mathops.h.

Originally committed as revision 23083 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1c71b5c8
...@@ -31,17 +31,17 @@ ...@@ -31,17 +31,17 @@
"imull %3 \n\t"\ "imull %3 \n\t"\
"shrdl %4, %%edx, %%eax \n\t"\ "shrdl %4, %%edx, %%eax \n\t"\
: "=a"(rt), "=d"(dummy)\ : "=a"(rt), "=d"(dummy)\
: "a" ((int)ra), "rm" ((int)rb), "i"(shift));\ : "a" ((int)(ra)), "rm" ((int)(rb)), "i"(shift));\
rt; }) rt; })
#define MULH(ra, rb) \ #define MULH(ra, rb) \
({ int rt, dummy;\ ({ int rt, dummy;\
__asm__ ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)ra), "rm" ((int)rb));\ __asm__ ("imull %3\n\t" : "=d"(rt), "=a"(dummy): "a" ((int)(ra)), "rm" ((int)(rb)));\
rt; }) rt; })
#define MUL64(ra, rb) \ #define MUL64(ra, rb) \
({ int64_t rt;\ ({ int64_t rt;\
__asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)ra), "g" ((int)rb));\ __asm__ ("imull %2\n\t" : "=A"(rt) : "a" ((int)(ra)), "g" ((int)(rb)));\
rt; }) rt; })
#endif #endif
......
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