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
95057b19
Commit
95057b19
authored
Apr 28, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swr: int16->int32: use the old index negate trick to avoid 2 adds
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
113738d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
audio_convert.asm
libswresample/x86/audio_convert.asm
+13
-11
No files found.
libswresample/x86/audio_convert.asm
View file @
95057b19
...
@@ -35,18 +35,20 @@ cglobal int16_to_int32_%1, 3, 3, 3, dst, src, len
...
@@ -35,18 +35,20 @@ cglobal int16_to_int32_%1, 3, 3, 3, dst, src, len
%else
%else
int16_to_int32_u_int
%
+
SUFFIX
int16_to_int32_u_int
%
+
SUFFIX
%endif
%endif
add
dstq
,
lenq
shr
lenq
,
1
add
srcq
,
lenq
neg
lenq
.
next
.
next
mov%1
m4
,
[srcq]
mov%1
m2
,
[
srcq
+
lenq
]
pxor
m0
,
m0
pxor
m0
,
m0
pxor
m1
,
m1
pxor
m1
,
m1
punpcklwd
m0
,
m4
punpcklwd
m0
,
m2
punpckhwd
m1
,
m4
punpckhwd
m1
,
m2
mov%1
[
dstq
]
,
m0
mov%1
[
dstq
+
2
*
lenq
]
,
m0
mov%1
[
mmsize
+
dstq
]
,
m1
mov%1
[
mmsize
+
dstq
+
2
*
lenq
]
,
m1
add
srcq
,
mmsize
add
lenq
,
mmsize
add
dstq
,
2
*
mmsize
jl
.
next
sub
lenq
,
2
*
mmsize
jg
.
next
%if
mmsize
==
8
%if
mmsize
==
8
emms
emms
%endif
%endif
...
...
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