x86/dsputil.asm: make unaligned bswap actually work
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cb69a9dbf4
commit
9b9205e760
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user