Commit 9b9205e7 authored by Michael Niedermayer's avatar Michael Niedermayer

x86/dsputil.asm: make unaligned bswap actually work

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cb69a9db
...@@ -607,6 +607,7 @@ cglobal bswap32_buf, 3,4,3 ...@@ -607,6 +607,7 @@ cglobal bswap32_buf, 3,4,3
cglobal bswap32_buf, 3,4,5 cglobal bswap32_buf, 3,4,5
mov r3, r1 mov r3, r1
%endif %endif
or r3, r0
and r3, 15 and r3, 15
jz .start_align jz .start_align
BSWAP_LOOPS u BSWAP_LOOPS u
......
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