mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
audiodsp/x86: clear the high bits of the order parameter on 64bit
Also change shl to add, since it can be faster on some CPUs. CC: libav-stable@libav.org
This commit is contained in:
parent
1d6c76e11f
commit
75d98e30af
@ -26,7 +26,7 @@ SECTION .text
|
|||||||
%macro SCALARPRODUCT 0
|
%macro SCALARPRODUCT 0
|
||||||
; int ff_scalarproduct_int16(int16_t *v1, int16_t *v2, int order)
|
; int ff_scalarproduct_int16(int16_t *v1, int16_t *v2, int order)
|
||||||
cglobal scalarproduct_int16, 3,3,3, v1, v2, order
|
cglobal scalarproduct_int16, 3,3,3, v1, v2, order
|
||||||
shl orderq, 1
|
add orderd, orderd
|
||||||
add v1q, orderq
|
add v1q, orderq
|
||||||
add v2q, orderq
|
add v2q, orderq
|
||||||
neg orderq
|
neg orderq
|
||||||
|
Loading…
x
Reference in New Issue
Block a user