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
18279738
Commit
18279738
authored
Oct 05, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/blockdsp: use three operand form for an instruction
Fixes assembling with old yasm.
parent
26ea1426
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
blockdsp.asm
libavcodec/x86/blockdsp.asm
+2
-2
No files found.
libavcodec/x86/blockdsp.asm
View file @
18279738
...
@@ -34,7 +34,7 @@ SECTION .text
...
@@ -34,7 +34,7 @@ SECTION .text
; %2 = number of inline store loops
; %2 = number of inline store loops
%macro
CLEAR_BLOCK
2
%macro
CLEAR_BLOCK
2
cglobal
clear_block
,
1
,
1
,
%1
,
blocks
cglobal
clear_block
,
1
,
1
,
%1
,
blocks
ZERO
m0
,
m0
ZERO
m0
,
m0
,
m0
%assign
%%
i
0
%assign
%%
i
0
%rep
%2
%rep
%2
mova
[
blocksq
+
mmsize
*
(
0
+
%%
i
)
]
,
m0
mova
[
blocksq
+
mmsize
*
(
0
+
%%
i
)
]
,
m0
...
@@ -63,7 +63,7 @@ CLEAR_BLOCK 1, 1
...
@@ -63,7 +63,7 @@ CLEAR_BLOCK 1, 1
cglobal
clear_blocks
,
1
,
2
,
%1
,
blocks
,
len
cglobal
clear_blocks
,
1
,
2
,
%1
,
blocks
,
len
add
blocksq
,
768
add
blocksq
,
768
mov
lenq
,
-
768
mov
lenq
,
-
768
ZERO
m0
,
m0
ZERO
m0
,
m0
,
m0
.
loop
:
.
loop
:
mova
[
blocksq
+
lenq
+
mmsize
*
0
]
,
m0
mova
[
blocksq
+
lenq
+
mmsize
*
0
]
,
m0
mova
[
blocksq
+
lenq
+
mmsize
*
1
]
,
m0
mova
[
blocksq
+
lenq
+
mmsize
*
1
]
,
m0
...
...
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