Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
74cc8c52
Commit
74cc8c52
authored
May 25, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: fix av_clipl_int32_arm()
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
3d96c13e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
intmath.h
libavutil/arm/intmath.h
+1
-0
No files found.
libavutil/arm/intmath.h
View file @
74cc8c52
...
@@ -93,6 +93,7 @@ static av_always_inline av_const int32_t av_clipl_int32_arm(int64_t a)
...
@@ -93,6 +93,7 @@ static av_always_inline av_const int32_t av_clipl_int32_arm(int64_t a)
int
x
,
y
;
int
x
,
y
;
__asm__
volatile
(
"adds %1, %R2, %Q2, lsr #31
\n\t
"
__asm__
volatile
(
"adds %1, %R2, %Q2, lsr #31
\n\t
"
"mvnne %1, #1<<31
\n\t
"
"mvnne %1, #1<<31
\n\t
"
"moveq %0, %Q2
\n\t
"
"eorne %0, %1, %R2, asr #31
\n\t
"
"eorne %0, %1, %R2, asr #31
\n\t
"
:
"=r"
(
x
),
"=&r"
(
y
)
:
"r"
(
a
));
:
"=r"
(
x
),
"=&r"
(
y
)
:
"r"
(
a
));
return
x
;
return
x
;
...
...
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