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
b0367ef0
Commit
b0367ef0
authored
Jul 15, 2008
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: optimised MAC64 and MLS64
Originally committed as revision 14245 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6865e046
Hide 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 @
b0367ef0
...
@@ -57,6 +57,16 @@ static inline av_const int64_t MUL64(int a, int b)
...
@@ -57,6 +57,16 @@ static inline av_const int64_t MUL64(int a, int b)
}
}
#define MUL64 MUL64
#define MUL64 MUL64
static
inline
av_const
int64_t
MAC64
(
int64_t
d
,
int
a
,
int
b
)
{
union
{
uint64_t
x
;
unsigned
hl
[
2
];
}
x
=
{
d
};
asm
(
"smlal %0, %1, %2, %3"
:
"+r"
(
x
.
hl
[
0
]),
"+r"
(
x
.
hl
[
1
])
:
"r"
(
a
),
"r"
(
b
));
return
x
.
x
;
}
#define MAC64(d, a, b) ((d) = MAC64(d, a, b))
#define MLS64(d, a, b) MAC64(d, -(a), b)
#if defined(HAVE_ARMV5TE)
#if defined(HAVE_ARMV5TE)
/* signed 16x16 -> 32 multiply add accumulate */
/* signed 16x16 -> 32 multiply add accumulate */
...
...
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