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
7995962d
Commit
7995962d
authored
Jul 15, 2008
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: ARMv6 optimised MULH
Originally committed as revision 14243 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6651ce17
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
mathops.h
libavcodec/armv4l/mathops.h
+10
-0
No files found.
libavcodec/armv4l/mathops.h
View file @
7995962d
...
...
@@ -33,10 +33,20 @@
hi; })
#endif
#ifdef HAVE_ARMV6
static
inline
av_const
int
MULH
(
int
a
,
int
b
)
{
int
r
;
asm
(
"smmul %0, %1, %2"
:
"=r"
(
r
)
:
"r"
(
a
),
"r"
(
b
));
return
r
;
}
#define MULH MULH
#else
#define MULH(a, b) \
({ int lo, hi;\
asm ("smull %0, %1, %2, %3" : "=&r"(lo), "=&r"(hi) : "r"(b), "r"(a));\
hi; })
#endif
#if defined(HAVE_ARMV5TE)
...
...
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