Commit e359cf6f authored by mru's avatar mru

ARM: prettify MAC16() macro

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15782 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent acb015dd
......@@ -79,7 +79,8 @@ static inline av_const int64_t MAC64(int64_t d, int a, int b)
/* signed 16x16 -> 32 multiply add accumulate */
# define MAC16(rt, ra, rb) \
__asm__ ("smlabb %0, %2, %3, %0" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));
__asm__ ("smlabb %0, %1, %2, %0" : "+r"(rt) : "r"(ra), "r"(rb));
/* signed 16x16 -> 32 multiply */
# define MUL16(ra, rb) \
({ int rt; \
......
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