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
cd5cf395
Commit
cd5cf395
authored
Mar 22, 2014
by
Matt Oliver
Committed by
Michael Niedermayer
Mar 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional icl inline asm fix.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
f0283290
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
motion_est.c
libavcodec/x86/motion_est.c
+2
-3
No files found.
libavcodec/x86/motion_est.c
View file @
cd5cf395
...
...
@@ -264,7 +264,7 @@ static inline void sad8_4_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
"punpckhbw %%mm7, %%mm5
\n\t
"
"paddw %%mm4, %%mm2
\n\t
"
"paddw %%mm5, %%mm3
\n\t
"
"movq
16+"
MANGLE
(
round_tab
)
", %%mm5
\n\t
"
"movq
%5, %%mm5
\n\t
"
"paddw %%mm2, %%mm0
\n\t
"
"paddw %%mm3, %%mm1
\n\t
"
"paddw %%mm5, %%mm0
\n\t
"
...
...
@@ -288,8 +288,7 @@ static inline void sad8_4_mmx(uint8_t *blk1, uint8_t *blk2, int stride, int h)
" js 1b
\n\t
"
:
"+a"
(
len
)
:
"r"
(
blk1
-
len
),
"r"
(
blk1
-
len
+
stride
),
"r"
(
blk2
-
len
),
"r"
((
x86_reg
)
stride
)
NAMED_CONSTRAINTS_ADD
(
round_tab
));
"r"
((
x86_reg
)
stride
),
"m"
(
round_tab
[
2
]));
}
static
inline
int
sum_mmx
(
void
)
...
...
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