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
702da12d
Commit
702da12d
authored
Dec 08, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Disable floating point instructions for the soft-float ARM build.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5c50ec0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
except_arm.c
dlls/msvcrt/except_arm.c
+4
-0
No files found.
dlls/msvcrt/except_arm.c
View file @
702da12d
...
...
@@ -151,6 +151,7 @@ __ASM_GLOBAL_FUNC(MSVCRT__setjmpex,
"str r11, [r0, #0x20]
\n\t
"
/* jmp_buf->R11 */
"str sp, [r0, #0x24]
\n\t
"
/* jmp_buf->Sp */
"str lr, [r0, #0x28]
\n\t
"
/* jmp_buf->Pc */
#ifndef __SOFTFP__
"vmrs r2, fpscr
\n\t
"
"str r2, [r0, #0x2c]
\n\t
"
/* jmp_buf->Fpscr */
"vstr d8, [r0, #0x30]
\n\t
"
/* jmp_buf->D[0] */
...
...
@@ -161,6 +162,7 @@ __ASM_GLOBAL_FUNC(MSVCRT__setjmpex,
"vstr d13, [r0, #0x58]
\n\t
"
/* jmp_buf->D[5] */
"vstr d14, [r0, #0x60]
\n\t
"
/* jmp_buf->D[6] */
"vstr d15, [r0, #0x68]
\n\t
"
/* jmp_buf->D[7] */
#endif
"mov r0, #0
\n\t
"
"bx lr"
);
...
...
@@ -177,6 +179,7 @@ __ASM_GLOBAL_FUNC(longjmp_set_regs,
"ldr r11, [r0, #0x20]
\n\t
"
/* jmp_buf->R11 */
"ldr sp, [r0, #0x24]
\n\t
"
/* jmp_buf->Sp */
"ldr r2, [r0, #0x28]
\n\t
"
/* jmp_buf->Pc */
#ifndef __SOFTFP__
"ldr r3, [r0, #0x2c]
\n\t
"
/* jmp_buf->Fpscr */
"vmsr fpscr, r3
\n\t
"
"vldr d8, [r0, #0x30]
\n\t
"
/* jmp_buf->D[0] */
...
...
@@ -187,6 +190,7 @@ __ASM_GLOBAL_FUNC(longjmp_set_regs,
"vldr d13, [r0, #0x58]
\n\t
"
/* jmp_buf->D[5] */
"vldr d14, [r0, #0x60]
\n\t
"
/* jmp_buf->D[6] */
"vldr d15, [r0, #0x68]
\n\t
"
/* jmp_buf->D[7] */
#endif
"mov r0, r1
\n\t
"
/* retval */
"bx r2"
);
...
...
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