Mercurial > libavcodec.hg
changeset 3767:2eddcfa87eda libavcodec
fix MUL16 macro
author | mru |
---|---|
date | Tue, 26 Sep 2006 18:31:43 +0000 |
parents | acf9ca729bd2 |
children | c540147303fa |
files | armv4l/mathops.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/armv4l/mathops.h Tue Sep 26 14:04:36 2006 +0000 +++ b/armv4l/mathops.h Tue Sep 26 18:31:43 2006 +0000 @@ -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