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
d112aa5a
Commit
d112aa5a
authored
Oct 07, 2010
by
Mans Rullgard
Committed by
Michael Niedermayer
Jan 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: use inline asm only when supported by compiler
(cherry picked from commit
7a5a168a
)
parent
604eb152
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
mathops.h
libavcodec/mips/mathops.h
+4
-0
intreadwrite.h
libavutil/mips/intreadwrite.h
+4
-0
No files found.
libavcodec/mips/mathops.h
View file @
d112aa5a
...
...
@@ -25,6 +25,8 @@
#include "config.h"
#include "libavutil/common.h"
#if HAVE_INLINE_ASM
#if HAVE_LOONGSON
static
inline
av_const
int64_t
MAC64
(
int64_t
d
,
int
a
,
int
b
)
...
...
@@ -73,4 +75,6 @@ static inline av_const int64_t MLS64(int64_t d, int a, int b)
#endif
#endif
/* HAVE_INLINE_ASM */
#endif
/* AVCODEC_MIPS_MATHOPS_H */
libavutil/mips/intreadwrite.h
View file @
d112aa5a
...
...
@@ -24,6 +24,8 @@
#include <stdint.h>
#include "config.h"
#if HAVE_INLINE_ASM
#define AV_RN32 AV_RN32
static
av_always_inline
uint32_t
AV_RN32
(
const
void
*
p
)
{
...
...
@@ -91,4 +93,6 @@ static av_always_inline void AV_WN64(void *p, uint64_t v)
#endif
/* ARCH_MIPS64 */
#endif
/* HAVE_INLINE_ASM */
#endif
/* AVUTIL_MIPS_INTREADWRITE_H */
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