Skip to content
Snippets Groups Projects
Commit e2b5b097 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

x86: rv40dsp: Use PAVGB instruction macro where appropriate

parent 0a7fef39
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment