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.
oldstable
Josh DuBois 2015-04-28 09:20:13 -05:00 committed by Alexandre Julliard
parent d8a0f77c2b
commit 44182ffb5b
1 changed files with 4 additions and 4 deletions

View File

@ -624,10 +624,10 @@ __ASM_GLOBAL_FUNC( relay_call,
"movq 8(%rsp),%rdx\n\t"
"movq 16(%rsp),%r8\n\t"
"movq 24(%rsp),%r9\n\t"
"movq %rcx,%xmm0\n\t"
"movq %rdx,%xmm1\n\t"
"movq %r8,%xmm2\n\t"
"movq %r9,%xmm3\n\t"
"movq 0(%rsp),%xmm0\n\t"
"movq 8(%rsp),%xmm1\n\t"
"movq 16(%rsp),%xmm2\n\t"
"movq 24(%rsp),%xmm3\n\t"
"callq *%rax\n\t"
/* trace the return value */
"leaq -0x30(%rbp),%rsp\n\t"