Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
9b1f776d
Commit
9b1f776d
authored
Apr 15, 2012
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with NASM.
Signed-off-by:
Reimar Döffinger
<
Reimar.Doeffinger@gmx.de
>
parent
dd5e1fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
x86inc.asm
libavutil/x86/x86inc.asm
+6
-2
No files found.
libavutil/x86/x86inc.asm
View file @
9b1f776d
...
...
@@ -116,7 +116,11 @@
%endif
; Always use long nops (reduces 0x90 spam in disassembly on x86_32)
; Not supported by NASM (except via smartalign package + ALIGNMODE k8,
; however that fails when used together with the -M option)
%ifdef
__YASM_VER__
CPU
amdnop
%endif
; Macros to eliminate most code duplication between x86_32 and x86_64:
; Currently this works only for leaf functions which load all their arguments
...
...
@@ -161,10 +165,10 @@ CPU amdnop
%
define
r%1
mp
%2
%
elif
ARCH_X86_64
; memory
%
define
r%1
m
[
rsp
+
stack_offset
+
%6
]
%
define
r%1
mp
qword
r
%
+
%1
m
%
define
r%1
mp
qword
r
%
+
%1
%
+
m
%
else
%
define
r%1
m
[
esp
+
stack_offset
+
%6
]
%
define
r%1
mp
dword
r
%
+
%1
m
%
define
r%1
mp
dword
r
%
+
%1
%
+
m
%
endif
%
define
r%1
%2
%endmacro
...
...
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