Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
1480d0f3
Commit
1480d0f3
authored
Dec 11, 2022
by
Torge Matthies
Committed by
Alexandre Julliard
Dec 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make sure xmm6-xmm15 are always restored in unix call dispatcher.
Signed-off-by:
Torge Matthies
<
tmatthies@codeweavers.com
>
parent
0dda60ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+8
-8
No files found.
dlls/ntdll/unix/signal_x86_64.c
View file @
1480d0f3
...
...
@@ -2913,14 +2913,6 @@ __ASM_GLOBAL_FUNC( __wine_unix_call_dispatcher,
"movq %r8,%rdi
\n\t
"
/* args */
"callq *(%r10,%rdx,8)
\n\t
"
"movq %rsp,%rcx
\n
"
"testl $0xffff,0x94(%rcx)
\n\t
"
/* frame->restore_flags */
"jnz .L__wine_syscall_dispatcher_return
\n\t
"
#ifdef __linux__
"testl $12,%r14d
\n\t
"
/* SYSCALL_HAVE_PTHREAD_TEB | SYSCALL_HAVE_WRFSGSBASE */
"jz 1f
\n\t
"
"movw 0x7e(%rcx),%fs
\n
"
"1:
\n\t
"
#endif
"movdqa 0x1c0(%rcx),%xmm6
\n\t
"
"movdqa 0x1d0(%rcx),%xmm7
\n\t
"
"movdqa 0x1e0(%rcx),%xmm8
\n\t
"
...
...
@@ -2931,6 +2923,14 @@ __ASM_GLOBAL_FUNC( __wine_unix_call_dispatcher,
"movdqa 0x230(%rcx),%xmm13
\n\t
"
"movdqa 0x240(%rcx),%xmm14
\n\t
"
"movdqa 0x250(%rcx),%xmm15
\n\t
"
"testl $0xffff,0x94(%rcx)
\n\t
"
/* frame->restore_flags */
"jnz .L__wine_syscall_dispatcher_return
\n\t
"
#ifdef __linux__
"testl $12,%r14d
\n\t
"
/* SYSCALL_HAVE_PTHREAD_TEB | SYSCALL_HAVE_WRFSGSBASE */
"jz 1f
\n\t
"
"movw 0x7e(%rcx),%fs
\n
"
"1:
\n\t
"
#endif
"movq 0x60(%rcx),%r14
\n\t
"
__ASM_CFI
(
".cfi_same_value r14
\n\t
"
)
"movq 0x28(%rcx),%rdi
\n\t
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment