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
52504931
Commit
52504931
authored
Jan 11, 2023
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Manually write byte code for the xsavec instruction.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=51268
parent
95fe8e5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
signal_i386.c
dlls/ntdll/unix/signal_i386.c
+3
-1
signal_x86_64.c
dlls/ntdll/unix/signal_x86_64.c
+3
-1
No files found.
dlls/ntdll/unix/signal_i386.c
View file @
52504931
...
...
@@ -2601,7 +2601,9 @@ __ASM_GLOBAL_FUNC( __wine_syscall_dispatcher,
"movl %edx,0x274(%ecx)
\n\t
"
"movl %edx,0x278(%ecx)
\n\t
"
"movl %edx,0x27c(%ecx)
\n\t
"
"xsavec 0x40(%ecx)
\n\t
"
/* The xsavec instruction is not supported by
* binutils < 2.25. */
".byte 0x0f, 0xc7, 0x61, 0x40
\n\t
"
/* xsavec 0x40(%ecx) */
"jmp 4f
\n
"
"1:
\t
xsave 0x40(%ecx)
\n\t
"
"jmp 4f
\n
"
...
...
dlls/ntdll/unix/signal_x86_64.c
View file @
52504931
...
...
@@ -2693,7 +2693,9 @@ __ASM_GLOBAL_FUNC( __wine_syscall_dispatcher,
"movq %rdx,0x2e8(%rcx)
\n\t
"
"movq %rdx,0x2f0(%rcx)
\n\t
"
"movq %rdx,0x2f8(%rcx)
\n\t
"
"xsavec64 0xc0(%rcx)
\n\t
"
/* The xsavec instruction is not supported by
* binutils < 2.25. */
".byte 0x48, 0x0f, 0xc7, 0xa1, 0xc0, 0x00, 0x00, 0x00
\n\t
"
/* xsavec64 0xc0(%rcx) */
"jmp 3f
\n
"
"1:
\t
xsave64 0xc0(%rcx)
\n\t
"
"jmp 3f
\n
"
...
...
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