use movdqu

This commit is contained in:
Katayama Hirofumi MZ 2025-03-30 14:31:04 +09:00
parent 94f3c17c70
commit 5c909b27c0

View file

@ -59,16 +59,16 @@ FUNC _setjmp
mov [rcx + JUMP_BUFFER_R14], r14 /* Save r14 */
mov [rcx + JUMP_BUFFER_R15], r15 /* Save r15 */
mov [rcx + JUMP_BUFFER_Xmm6], xmm6 /* Save xmm6 */
mov [rcx + JUMP_BUFFER_Xmm7], xmm7 /* Save xmm7 */
mov [rcx + JUMP_BUFFER_Xmm8], xmm8 /* Save xmm8 */
mov [rcx + JUMP_BUFFER_Xmm9], xmm9 /* Save xmm9 */
mov [rcx + JUMP_BUFFER_Xmm10], xmm10 /* Save xmm10 */
mov [rcx + JUMP_BUFFER_Xmm11], xmm11 /* Save xmm11 */
mov [rcx + JUMP_BUFFER_Xmm12], xmm12 /* Save xmm12 */
mov [rcx + JUMP_BUFFER_Xmm13], xmm13 /* Save xmm13 */
mov [rcx + JUMP_BUFFER_Xmm14], xmm14 /* Save xmm14 */
mov [rcx + JUMP_BUFFER_Xmm15], xmm15 /* Save xmm15 */
movdqu [rcx + JUMP_BUFFER_Xmm6], xmm6 /* Save xmm6 */
movdqu [rcx + JUMP_BUFFER_Xmm7], xmm7 /* Save xmm7 */
movdqu [rcx + JUMP_BUFFER_Xmm8], xmm8 /* Save xmm8 */
movdqu [rcx + JUMP_BUFFER_Xmm9], xmm9 /* Save xmm9 */
movdqu [rcx + JUMP_BUFFER_Xmm10], xmm10 /* Save xmm10 */
movdqu [rcx + JUMP_BUFFER_Xmm11], xmm11 /* Save xmm11 */
movdqu [rcx + JUMP_BUFFER_Xmm12], xmm12 /* Save xmm12 */
movdqu [rcx + JUMP_BUFFER_Xmm13], xmm13 /* Save xmm13 */
movdqu [rcx + JUMP_BUFFER_Xmm14], xmm14 /* Save xmm14 */
movdqu [rcx + JUMP_BUFFER_Xmm15], xmm15 /* Save xmm15 */
lea rax, [rsp + 8] /* Get frame */
mov [rcx + JUMP_BUFFER_Frame], rax /* Save frame */
@ -104,16 +104,16 @@ FUNC _setjmpex
mov [rcx + JUMP_BUFFER_R14], r14 /* Save r14 */
mov [rcx + JUMP_BUFFER_R15], r15 /* Save r15 */
mov [rcx + JUMP_BUFFER_Xmm6], xmm6 /* Save xmm6 */
mov [rcx + JUMP_BUFFER_Xmm7], xmm7 /* Save xmm7 */
mov [rcx + JUMP_BUFFER_Xmm8], xmm8 /* Save xmm8 */
mov [rcx + JUMP_BUFFER_Xmm9], xmm9 /* Save xmm9 */
mov [rcx + JUMP_BUFFER_Xmm10], xmm10 /* Save xmm10 */
mov [rcx + JUMP_BUFFER_Xmm11], xmm11 /* Save xmm11 */
mov [rcx + JUMP_BUFFER_Xmm12], xmm12 /* Save xmm12 */
mov [rcx + JUMP_BUFFER_Xmm13], xmm13 /* Save xmm13 */
mov [rcx + JUMP_BUFFER_Xmm14], xmm14 /* Save xmm14 */
mov [rcx + JUMP_BUFFER_Xmm15], xmm15 /* Save xmm15 */
movdqu [rcx + JUMP_BUFFER_Xmm6], xmm6 /* Save xmm6 */
movdqu [rcx + JUMP_BUFFER_Xmm7], xmm7 /* Save xmm7 */
movdqu [rcx + JUMP_BUFFER_Xmm8], xmm8 /* Save xmm8 */
movdqu [rcx + JUMP_BUFFER_Xmm9], xmm9 /* Save xmm9 */
movdqu [rcx + JUMP_BUFFER_Xmm10], xmm10 /* Save xmm10 */
movdqu [rcx + JUMP_BUFFER_Xmm11], xmm11 /* Save xmm11 */
movdqu [rcx + JUMP_BUFFER_Xmm12], xmm12 /* Save xmm12 */
movdqu [rcx + JUMP_BUFFER_Xmm13], xmm13 /* Save xmm13 */
movdqu [rcx + JUMP_BUFFER_Xmm14], xmm14 /* Save xmm14 */
movdqu [rcx + JUMP_BUFFER_Xmm15], xmm15 /* Save xmm15 */
mov [rcx + JUMP_BUFFER_Frame], rdx /* Save frame */
@ -148,16 +148,16 @@ FUNC longjmp
mov r14, [rcx + JUMP_BUFFER_R14] /* Restore r14 */
mov r15, [rcx + JUMP_BUFFER_R15] /* Restore r15 */
mov xmm6, [rcx + JUMP_BUFFER_Xmm6] /* Restore xmm6 */
mov xmm7, [rcx + JUMP_BUFFER_Xmm7] /* Restore xmm7 */
mov xmm8, [rcx + JUMP_BUFFER_Xmm8] /* Restore xmm8 */
mov xmm9, [rcx + JUMP_BUFFER_Xmm9] /* Restore xmm9 */
mov xmm10, [rcx + JUMP_BUFFER_Xmm10] /* Restore xmm10 */
mov xmm11, [rcx + JUMP_BUFFER_Xmm11] /* Restore xmm11 */
mov xmm12, [rcx + JUMP_BUFFER_Xmm12] /* Restore xmm12 */
mov xmm13, [rcx + JUMP_BUFFER_Xmm13] /* Restore xmm13 */
mov xmm14, [rcx + JUMP_BUFFER_Xmm14] /* Restore xmm14 */
mov xmm15, [rcx + JUMP_BUFFER_Xmm15] /* Restore xmm15 */
movdqu xmm6, [rcx + JUMP_BUFFER_Xmm6] /* Restore xmm6 */
movdqu xmm7, [rcx + JUMP_BUFFER_Xmm7] /* Restore xmm7 */
movdqu xmm8, [rcx + JUMP_BUFFER_Xmm8] /* Restore xmm8 */
movdqu xmm9, [rcx + JUMP_BUFFER_Xmm9] /* Restore xmm9 */
movdqu xmm10, [rcx + JUMP_BUFFER_Xmm10] /* Restore xmm10 */
movdqu xmm11, [rcx + JUMP_BUFFER_Xmm11] /* Restore xmm11 */
movdqu xmm12, [rcx + JUMP_BUFFER_Xmm12] /* Restore xmm12 */
movdqu xmm13, [rcx + JUMP_BUFFER_Xmm13] /* Restore xmm13 */
movdqu xmm14, [rcx + JUMP_BUFFER_Xmm14] /* Restore xmm14 */
movdqu xmm15, [rcx + JUMP_BUFFER_Xmm15] /* Restore xmm15 */
mov rax, [rcx + JUMP_BUFFER_Frame] /* Get frame */
mov rsp, rax /* Restore frame */