mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 01:27:16 +00:00
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.
This commit is contained in:
parent
d8a0f77c2b
commit
44182ffb5b
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue