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

Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
This commit is contained in:
Josh DuBois 2015-04-28 09:20:13 -05:00 committed by Alexandre Julliard
parent ee3bb31a6f
commit 1f34f193b6

View file

@ -1077,10 +1077,10 @@ __ASM_GLOBAL_FUNC( call_server_func,
"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"
"leaq -16(%rbp),%rsp\n\t" /* restore stack */
"popq %rdi\n\t"