projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73c1c96
)
ARM: prettify MAC16() macro
author
Måns Rullgård
<mans@mansr.com>
Thu, 6 Nov 2008 01:33:26 +0000
(
01:33
+0000)
committer
Måns Rullgård
<mans@mansr.com>
Thu, 6 Nov 2008 01:33:26 +0000
(
01:33
+0000)
Originally committed as revision 15782 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/armv4l/mathops.h
patch
|
blob
|
history
diff --git
a/libavcodec/armv4l/mathops.h
b/libavcodec/armv4l/mathops.h
index
9f3076b
..
5c33cab
100644
(file)
--- a/
libavcodec/armv4l/mathops.h
+++ b/
libavcodec/armv4l/mathops.h
@@
-78,8
+78,9
@@
static inline av_const int64_t MAC64(int64_t d, int a, int b)
#if defined(HAVE_ARMV5TE)
/* 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));
+# define MAC16(rt, ra, rb) \
+ __asm__ ("smlabb %0, %1, %2, %0" : "+r"(rt) : "r"(ra), "r"(rb));
+
/* signed 16x16 -> 32 multiply */
# define MUL16(ra, rb) \
({ int rt; \