summaryrefslogtreecommitdiff
path: root/libavcodec/bfin/mathops.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-05-09 12:40:37 +0100
committerMans Rullgard <mans@mansr.com>2011-05-09 17:30:12 +0100
commit6bb6fb05ba66ce42ca17c930d81d3e9cf37ab34d (patch)
tree433c4710c06a66d1284806bd7989b3b8697a2406 /libavcodec/bfin/mathops.h
parented87375dd555a1e7798dcd56c967af0171525a26 (diff)
mpegaudio: remove CONFIG_MPEGAUDIO_HP option
The low quality mode is off by default and never tested. The high quality mode is also plenty fast enough. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/bfin/mathops.h')
-rw-r--r--libavcodec/bfin/mathops.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/bfin/mathops.h b/libavcodec/bfin/mathops.h
index db527bf249..bbee49380e 100644
--- a/libavcodec/bfin/mathops.h
+++ b/libavcodec/bfin/mathops.h
@@ -24,7 +24,6 @@
#include "config.h"
-#if CONFIG_MPEGAUDIO_HP
#define MULH(X,Y) ({ int xxo; \
__asm__ ( \
"a1 = %2.L * %1.L (FU);\n\t" \
@@ -34,15 +33,6 @@
"a1 = a1 >>> 16;\n\t" \
"%0 = (a0 += a1);\n\t" \
: "=d" (xxo) : "d" (X), "d" (Y) : "A0","A1"); xxo; })
-#else
-#define MULH(X,Y) ({ int xxo; \
- __asm__ ( \
- "a1 = %2.H * %1.L (IS,M);\n\t" \
- "a0 = %1.H * %2.H, a1+= %1.H * %2.L (IS,M);\n\t"\
- "a1 = a1 >>> 16;\n\t" \
- "%0 = (a0 += a1);\n\t" \
- : "=d" (xxo) : "d" (X), "d" (Y) : "A0","A1"); xxo; })
-#endif
/* signed 16x16 -> 32 multiply */
#define MUL16(a, b) ({ int xxo; \