Commit 44182ffb authored by Josh DuBois's avatar Josh DuBois Committed by Alexandre Julliard

ntdll: Avoid movs between rcx, rdx and xmm registers.

Apple's version of as chokes on movs between rcx and rdx and the xmm registers.
parent d8a0f77c
...@@ -624,10 +624,10 @@ __ASM_GLOBAL_FUNC( relay_call, ...@@ -624,10 +624,10 @@ __ASM_GLOBAL_FUNC( relay_call,
"movq 8(%rsp),%rdx\n\t" "movq 8(%rsp),%rdx\n\t"
"movq 16(%rsp),%r8\n\t" "movq 16(%rsp),%r8\n\t"
"movq 24(%rsp),%r9\n\t" "movq 24(%rsp),%r9\n\t"
"movq %rcx,%xmm0\n\t" "movq 0(%rsp),%xmm0\n\t"
"movq %rdx,%xmm1\n\t" "movq 8(%rsp),%xmm1\n\t"
"movq %r8,%xmm2\n\t" "movq 16(%rsp),%xmm2\n\t"
"movq %r9,%xmm3\n\t" "movq 24(%rsp),%xmm3\n\t"
"callq *%rax\n\t" "callq *%rax\n\t"
/* trace the return value */ /* trace the return value */
"leaq -0x30(%rbp),%rsp\n\t" "leaq -0x30(%rbp),%rsp\n\t"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment