8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00

Fixed usage of RSP register.

It should fix a crash reported by Mark in fb-devel (fbclient.dll on Windows 64 bit broken)
This commit is contained in:
hvlad 2019-10-07 14:36:39 +03:00
parent 6ef8731591
commit 6ab3b75d6e

View File

@ -151,12 +151,12 @@ ttmath_addindexed2_x64 PROC
; rdx = b (value size)
; r8 = nPos
; r9 = nValue1
; [esp+0x28] = nValue2
; [rsp+0x28] = nValue2
xor rax, rax ; return value
mov r11, rcx ; table
sub rdx, r8 ; rdx = remaining count of uints
mov r10, [esp+028h] ; r10 = nValue2
mov r10, [rsp+028h] ; r10 = nValue2
add qword ptr [r11 + r8 * 8], r9
lea r8, [r8+1]
@ -194,9 +194,9 @@ ttmath_addvector_x64 PROC
; rdx = ss2
; r8 = ss1_size
; r9 = ss2_size
; [esp+0x28] = result
; [rsp+0x28] = result
mov r10, [esp+028h]
mov r10, [rsp+028h]
sub r8, r9
xor r11, r11 ; r11=0, cf=0
@ -316,9 +316,9 @@ ttmath_subvector_x64 PROC
; rdx = ss2
; r8 = ss1_size
; r9 = ss2_size
; [esp+0x28] = result
; [rsp+0x28] = result
mov r10, [esp+028h]
mov r10, [rsp+028h]
sub r8, r9
xor r11, r11 ; r11=0, cf=0