summaryrefslogtreecommitdiff
path: root/libavcodec/x86/rnd_template.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-05-07 00:15:41 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-07 18:03:34 +0200
commit7edaf4edb5c3c04f34ad1242680cbc32d11f4087 (patch)
tree744dd68c991567e9cb6ba0839e592097aa8a75dd /libavcodec/x86/rnd_template.c
parentdb9aee6ccf183508835acc325f5ad87d595eacc4 (diff)
x86: rnd_template: Eliminate pointless OP_AVG macro indirection
Diffstat (limited to 'libavcodec/x86/rnd_template.c')
-rw-r--r--libavcodec/x86/rnd_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/rnd_template.c b/libavcodec/x86/rnd_template.c
index 4443ec5729..03f2a0d730 100644
--- a/libavcodec/x86/rnd_template.c
+++ b/libavcodec/x86/rnd_template.c
@@ -132,7 +132,7 @@ static void DEF(avg, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, ptrdiff
"packuswb %%mm5, %%mm4 \n\t"
"pcmpeqd %%mm2, %%mm2 \n\t"
"paddb %%mm2, %%mm2 \n\t"
- OP_AVG(%%mm3, %%mm4, %%mm5, %%mm2)
+ PAVGB_MMX(%%mm3, %%mm4, %%mm5, %%mm2)
"movq %%mm5, (%2, %%"REG_a") \n\t"
"add %3, %%"REG_a" \n\t"
@@ -156,7 +156,7 @@ static void DEF(avg, pixels8_xy2)(uint8_t *block, const uint8_t *pixels, ptrdiff
"packuswb %%mm1, %%mm0 \n\t"
"pcmpeqd %%mm2, %%mm2 \n\t"
"paddb %%mm2, %%mm2 \n\t"
- OP_AVG(%%mm3, %%mm0, %%mm1, %%mm2)
+ PAVGB_MMX(%%mm3, %%mm0, %%mm1, %%mm2)
"movq %%mm1, (%2, %%"REG_a") \n\t"
"add %3, %%"REG_a" \n\t"