ntdll: Remove redundant ldmxcsr in set_full_cpu_context() on x86_64.

Mxcsr will be overwritten anyway by consequent fxrstor.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-08-20 00:22:55 +03:00 committed by Alexandre Julliard
parent 578dee2602
commit 25d4c50db3
1 changed files with 0 additions and 1 deletions

View File

@ -1483,7 +1483,6 @@ __ASM_GLOBAL_FUNC( set_full_cpu_context,
__ASM_SEH(".seh_stackalloc 0x40\n\t")
__ASM_SEH(".seh_endprologue\n\t")
__ASM_CFI(".cfi_adjust_cfa_offset 40\n\t")
"ldmxcsr 0x34(%rdi)\n\t" /* context->MxCsr */
"movw 0x38(%rdi),%ax\n\t" /* context->SegCs */
"movq %rax,8(%rsp)\n\t"
"movw 0x42(%rdi),%ax\n\t" /* context->SegSs */