From e2b5b097898c9155f4bdff4d83cdc54d5eef6930 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 3 Nov 2013 21:28:45 +0100 Subject: [PATCH] x86: rv40dsp: Use PAVGB instruction macro where appropriate --- libavcodec/x86/rv40dsp.asm | 6 +----- 1 file changed, 1 insertion(+), 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