Commit e2b5b097 authored by Diego Biurrun's avatar Diego Biurrun

x86: rv40dsp: Use PAVGB instruction macro where appropriate

parent 0a7fef39
...@@ -98,11 +98,7 @@ SECTION .text ...@@ -98,11 +98,7 @@ SECTION .text
%endif %endif
packuswb %1, %1 packuswb %1, %1
%ifidn %3, avg %ifidn %3, avg
%if cpuflag(3dnow) PAVGB %1, %2
pavgusb %1, %2
%else
pavgb %1, %2
%endif
%endif %endif
movh [dstq], %1 movh [dstq], %1
%endmacro %endmacro
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment