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
b93e934a
Commit
b93e934a
authored
Oct 17, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mips64: mark hi/lo registers clobbered in MAC64/MLS64 macros
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
206a070d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mathops.h
libavcodec/mips/mathops.h
+4
-2
No files found.
libavcodec/mips/mathops.h
View file @
b93e934a
...
...
@@ -57,7 +57,8 @@ static inline av_const int64_t MAC64(int64_t d, int a, int b)
__asm__
(
"dmult %2, %3
\n\t
"
"mflo %1
\n\t
"
"daddu %0, %0, %1
\n\t
"
:
"+r"
(
d
),
"=&r"
(
m
)
:
"r"
(
a
),
"r"
(
b
));
:
"+r"
(
d
),
"=&r"
(
m
)
:
"r"
(
a
),
"r"
(
b
)
:
"hi"
,
"lo"
);
return
d
;
}
#define MAC64(d, a, b) ((d) = MAC64(d, a, b))
...
...
@@ -68,7 +69,8 @@ static inline av_const int64_t MLS64(int64_t d, int a, int b)
__asm__
(
"dmult %2, %3
\n\t
"
"mflo %1
\n\t
"
"dsubu %0, %0, %1
\n\t
"
:
"+r"
(
d
),
"=&r"
(
m
)
:
"r"
(
a
),
"r"
(
b
));
:
"+r"
(
d
),
"=&r"
(
m
)
:
"r"
(
a
),
"r"
(
b
)
:
"hi"
,
"lo"
);
return
d
;
}
#define MLS64(d, a, b) ((d) = MLS64(d, a, b))
...
...
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