Alexandre Julliard : ntdll: Avoid the strd ARM instruction.

Alexandre Julliard julliard at winehq.org
Thu Jan 18 09:41:15 CST 2018


Module: wine
Branch: master
Commit: 3e26caf0d85caa4256edb011a6311e00cf893e3b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3e26caf0d85caa4256edb011a6311e00cf893e3b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 17 09:35:12 2018 +0100

ntdll: Avoid the strd ARM instruction.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/relay.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/ntdll/relay.c b/dlls/ntdll/relay.c
index a0c3cb1..22ce172 100644
--- a/dlls/ntdll/relay.c
+++ b/dlls/ntdll/relay.c
@@ -594,7 +594,8 @@ __ASM_GLOBAL_FUNC( relay_call,
                    "mov r5, r1\n\t"
                    "mov r0, r7\n\t"
                    "mov r1, r8\n\t"
-                   "strd r4, [sp]\n\t"
+                   "str r4, [sp]\n\t"
+                   "str r5, [sp, #4]\n\t"
 #ifndef __SOFTFP__
                    "vstr d0, [sp, #8]\n\t"  /* preserve floating point retval */
                    "bl " __ASM_NAME("relay_trace_exit") "\n\t"




More information about the wine-cvs mailing list