diff options
author | James Almer <jamrial@gmail.com> | 2019-05-03 01:09:46 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-05-03 01:09:50 -0300 |
commit | abf1aa87ab1a66095919079de98fb501614d6e6a (patch) | |
tree | 7c9565207d916926d9389da4b1443a708fe99015 /libavcodec/x86/v210.asm | |
parent | b0e29357ba823f263526a3e6bd499430a91ea760 (diff) | |
download | ffmpeg-abf1aa87ab1a66095919079de98fb501614d6e6a.tar.gz |
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>
Diffstat (limited to 'libavcodec/x86/v210.asm')
-rw-r--r-- | libavcodec/x86/v210.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/v210.asm b/libavcodec/x86/v210.asm index 5a71ba41b2..d96a7b7f5a 100644 --- a/libavcodec/x86/v210.asm +++ b/libavcodec/x86/v210.asm @@ -39,7 +39,7 @@ SECTION .text %macro v210_planar_unpack 1 ; 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 lea r1, [r1+2*r4] add r2, r4 |