win64: Use rsp instead of esp

Using esp works by coincidence as long as the stack pointer is
within the first 4 GB of the address space - which seems to work
as long as the test binary is built with /dynamicbase:no, but breaks
if this option is removed.
This commit is contained in:
Martin Storsjö 2014-01-10 16:56:20 +02:00
parent f02d0aa667
commit a78f1b2650

View File

@ -64,7 +64,7 @@ WELS_EXTERN DeblockLumaLt4V_sse2
DeblockLumaLt4V_sse2:
push rbp
mov r11,[esp + 16 + 20h] ; pTC
mov r11,[rsp + 16 + 20h] ; pTC
sub rsp,1B0h
lea rbp,[rsp+20h]
movd xmm4,r8d