summaryrefslogtreecommitdiff
path: root/libavcodec/x86/dsputil_mmx.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-02-26 19:35:51 +0200
committerMartin Storsjö <martin@martin.st>2013-02-27 00:17:05 +0200
commit31a23a0dc663bd42bf593275971b4277a479b73d (patch)
tree92701d680cb97b695b83d0c5e751029c19747225 /libavcodec/x86/dsputil_mmx.c
parent3a02b6884cda9739100d974cae0d75276b2b44ed (diff)
x86: dsputil_mmx: Remove leftover inline assembly fragments
These became unused in 71155d7b. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/x86/dsputil_mmx.c')
-rw-r--r--libavcodec/x86/dsputil_mmx.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index fbc4b019c0..d02a6ee8bd 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -756,7 +756,7 @@ static void draw_edges_mmx(uint8_t *buf, int wrap, int width, int height,
#if HAVE_YASM
-#define QPEL_OP(OPNAME, ROUNDER, RND, OP, MMX) \
+#define QPEL_OP(OPNAME, ROUNDER, RND, MMX) \
static void OPNAME ## qpel8_mc00_ ## MMX (uint8_t *dst, uint8_t *src, \
int stride) \
{ \
@@ -1137,17 +1137,9 @@ static void OPNAME ## qpel16_mc22_ ## MMX(uint8_t *dst, uint8_t *src, \
stride, 16); \
}
-#define PUT_OP(a, b, temp, size) \
- "mov"#size" "#a", "#b" \n\t"
-
-#define AVG_MMXEXT_OP(a, b, temp, size) \
- "mov"#size" "#b", "#temp" \n\t" \
- "pavgb "#temp", "#a" \n\t" \
- "mov"#size" "#a", "#b" \n\t"
-
-QPEL_OP(put_, ff_pw_16, _, PUT_OP, mmxext)
-QPEL_OP(avg_, ff_pw_16, _, AVG_MMXEXT_OP, mmxext)
-QPEL_OP(put_no_rnd_, ff_pw_15, _no_rnd_, PUT_OP, mmxext)
+QPEL_OP(put_, ff_pw_16, _, mmxext)
+QPEL_OP(avg_, ff_pw_16, _, mmxext)
+QPEL_OP(put_no_rnd_, ff_pw_15, _no_rnd_, mmxext)
#endif /* HAVE_YASM */