Commit 89cba1bd authored by Måns Rullgård's avatar Måns Rullgård

fix MUL16 macro

Originally committed as revision 6344 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6c17a956
......@@ -40,8 +40,8 @@
asm ("smlabb %0, %2, %3, %0" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));
/* signed 16x16 -> 32 multiply */
# define MUL16(ra, rb) \
({ int __rt;\
asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb));
({ int __rt; \
asm ("smulbb %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb)); \
__rt; })
#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