mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
x86/v210dec: don't reserve more xmm regs than needed
Prevents pointless register saving on win64 for the sse3 and avx versions of the function. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b0e29357ba
commit
abf1aa87ab
@ -39,7 +39,7 @@ SECTION .text
|
|||||||
%macro v210_planar_unpack 1
|
%macro v210_planar_unpack 1
|
||||||
|
|
||||||
; v210_planar_unpack(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width)
|
; v210_planar_unpack(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width)
|
||||||
cglobal v210_planar_unpack_%1, 5, 5, 8
|
cglobal v210_planar_unpack_%1, 5, 5, 6 + 2 * cpuflag(avx2)
|
||||||
movsxdifnidn r4, r4d
|
movsxdifnidn r4, r4d
|
||||||
lea r1, [r1+2*r4]
|
lea r1, [r1+2*r4]
|
||||||
add r2, r4
|
add r2, r4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user