Commit 5c7a29f0 authored by mru's avatar mru

fix MUL16 macro

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6344 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
No related merge requests found
......@@ -39,9 +39,9 @@
# define MAC16(rt, ra, rb) \
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));
# define MUL16(ra, 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