x86: rv40dsp: Use PAVGB instruction macro where appropriate

This commit is contained in:
Diego Biurrun 2013-11-03 21:28:45 +01:00
parent 0a7fef39fc
commit e2b5b09789
1 changed files with 1 additions and 5 deletions

View File

@ -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