[FFmpeg-cvslog] ARM: remove MULL inline asm
Mans Rullgard
git at videolan.org
Sun Jun 5 03:21:59 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Jun 4 21:16:04 2011 +0100| [594fbe42c6b21aef76b938ce97524fa92a48e7a0] | committer: Mans Rullgard
ARM: remove MULL inline asm
Reasonable gcc versions get this one right on their own.
Signed-off-by: Mans Rullgard <mans at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=594fbe42c6b21aef76b938ce97524fa92a48e7a0
---
libavcodec/arm/mathops.h | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h
index 7c2acca..3870fce 100644
--- a/libavcodec/arm/mathops.h
+++ b/libavcodec/arm/mathops.h
@@ -28,18 +28,6 @@
#if HAVE_INLINE_ASM
-# define MULL MULL
-static inline av_const int MULL(int a, int b, unsigned shift)
-{
- int lo, hi;
- __asm__("smull %0, %1, %2, %3 \n\t"
- "mov %0, %0, lsr %4 \n\t"
- "add %1, %0, %1, lsl %5 \n\t"
- : "=&r"(lo), "=&r"(hi)
- : "r"(b), "r"(a), "ir"(shift), "ir"(32-shift));
- return hi;
-}
-
#define MULH MULH
#define MUL64 MUL64
More information about the ffmpeg-cvslog
mailing list