mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-09 17:39:08 +00:00
avcodec/x86/huffyuvdsp_template: Don't push+pop reg unnecessarily
All calling conventions on x64 have enough volatile GPRs. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
add wd, wd
|
||||
test wq, 2*mmsize - 1
|
||||
jz %%.tomainloop
|
||||
%if ARCH_X86_32
|
||||
push tmpq
|
||||
%endif
|
||||
%%.wordloop:
|
||||
sub wq, 2
|
||||
%ifidn %2, add
|
||||
@@ -40,7 +42,9 @@
|
||||
mov [dstq+wq], tmpw
|
||||
test wq, 2*mmsize - 1
|
||||
jnz %%.wordloop
|
||||
%if ARCH_X86_32
|
||||
pop tmpq
|
||||
%endif
|
||||
%%.tomainloop:
|
||||
%ifidn %2, add
|
||||
add srcq, wq
|
||||
|
||||
Reference in New Issue
Block a user