Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
33a58d7b
Commit
33a58d7b
authored
Aug 24, 2015
by
Henrik Gramner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checkasm: Fix floating point arguments on 64-bit Windows
parent
4cd1d231
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
checkasm.asm
tests/checkasm/x86/checkasm.asm
+7
-3
No files found.
tests/checkasm/x86/checkasm.asm
View file @
33a58d7b
...
@@ -103,16 +103,20 @@ cglobal checked_call, 2,15,16,max_args*8+8
...
@@ -103,16 +103,20 @@ cglobal checked_call, 2,15,16,max_args*8+8
mov
[
rsp
+
(
i
-
6
)
*
8
]
,
r9
mov
[
rsp
+
(
i
-
6
)
*
8
]
,
r9
%
assign
i
i
+
1
%
assign
i
i
+
1
%
endrep
%
endrep
%else
%else
; WIN64
%
assign
i
4
%
assign
i
4
%
rep
max_args
-
4
%
rep
max_args
-
4
mov
r9
,
[
rsp
+
stack_offset
+
(
i
+
7
)
*
8
]
mov
r9
,
[
rsp
+
stack_offset
+
(
i
+
7
)
*
8
]
mov
[
rsp
+
i
*
8
]
,
r9
mov
[
rsp
+
i
*
8
]
,
r9
%
assign
i
i
+
1
%
assign
i
i
+
1
%
endrep
%
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
%
assign
i
6
%
rep
16
-
6
%
rep
16
-
6
mova
m
%
+
i
,
[
x
%
+
i
]
mova
m
%
+
i
,
[
x
%
+
i
]
...
...
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