2018-12-31 18:06:45 +00:00
|
|
|
;# unroll VM stack
|
2019-01-10 21:04:55 +00:00
|
|
|
mov rsp, rdi
|
2018-12-31 18:06:45 +00:00
|
|
|
|
|
|
|
;# save VM register values
|
|
|
|
pop rcx
|
2019-01-10 21:04:55 +00:00
|
|
|
pop rcx
|
2018-12-31 18:06:45 +00:00
|
|
|
mov qword ptr [rcx+0], r8
|
|
|
|
mov qword ptr [rcx+8], r9
|
|
|
|
mov qword ptr [rcx+16], r10
|
|
|
|
mov qword ptr [rcx+24], r11
|
|
|
|
mov qword ptr [rcx+32], r12
|
|
|
|
mov qword ptr [rcx+40], r13
|
|
|
|
mov qword ptr [rcx+48], r14
|
|
|
|
mov qword ptr [rcx+56], r15
|
2019-01-19 23:44:01 +00:00
|
|
|
movapd xmmword ptr [rcx+64], xmm8
|
|
|
|
movapd xmmword ptr [rcx+80], xmm9
|
|
|
|
movapd xmmword ptr [rcx+96], xmm2
|
|
|
|
movapd xmmword ptr [rcx+112], xmm3
|
2018-12-31 18:06:45 +00:00
|
|
|
lea rcx, [rcx+64]
|
2019-01-19 23:44:01 +00:00
|
|
|
movapd xmmword ptr [rcx+64], xmm4
|
|
|
|
movapd xmmword ptr [rcx+80], xmm5
|
|
|
|
movapd xmmword ptr [rcx+96], xmm6
|
|
|
|
movapd xmmword ptr [rcx+112], xmm7
|