OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1abd2a
)
checkasm: Fix floating point arguments on 64-bit Windows
author
Henrik Gramner
<henrik@gramner.com>
Mon, 24 Aug 2015 20:53:56 +0000
(22:53 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 28 Aug 2015 07:54:54 +0000
(09:54 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
tests/checkasm/x86/checkasm.asm
patch
|
blob
|
history
diff --git
a/tests/checkasm/x86/checkasm.asm
b/tests/checkasm/x86/checkasm.asm
index
4948fc9
..
828352c
100644
(file)
--- a/
tests/checkasm/x86/checkasm.asm
+++ b/
tests/checkasm/x86/checkasm.asm
@@
-103,16
+103,20
@@
cglobal checked_call, 2,15,16,max_args*8+8
mov [rsp+(i-6)*8], r9
%assign i i+1
%endrep
-%else
+%else
; WIN64
%assign i 4
%rep max_args-4
mov r9, [rsp+stack_offset+(i+7)*8]
mov [rsp+i*8], r9
%assign i i+1
%endrep
-%endif
-%if WIN64
+ ; Move possible floating-point arguments to the correct registers
+ movq m0, r0
+ movq m1, r1
+ movq m2, r2
+ movq m3, r3
+
%assign i 6
%rep 16-6
mova m %+ i, [x %+ i]