summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-11-03 21:28:45 +0100
committerDiego Biurrun <diego@biurrun.de>2013-11-04 21:14:39 +0100
commite2b5b097898c9155f4bdff4d83cdc54d5eef6930 (patch)
treeb15bb090b1c01d30e46e3cd29999da43fcda9fce
parent0a7fef39fc578bd7c90fd2646299f8cad722ecb1 (diff)
x86: rv40dsp: Use PAVGB instruction macro where appropriate
-rw-r--r--libavcodec/x86/rv40dsp.asm6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/x86/rv40dsp.asm b/libavcodec/x86/rv40dsp.asm
index 7ec72be36c..d12b079eb7 100644
--- a/libavcodec/x86/rv40dsp.asm
+++ b/libavcodec/x86/rv40dsp.asm
@@ -98,11 +98,7 @@ SECTION .text
%endif
packuswb %1, %1
%ifidn %3, avg
-%if cpuflag(3dnow)
- pavgusb %1, %2
-%else
- pavgb %1, %2
-%endif
+ PAVGB %1, %2
%endif
movh [dstq], %1
%endmacro