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
933dd622
Commit
933dd622
authored
Jun 05, 2017
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/aacpsdsp: optimize ff_ps_mul_pair_single_sse
~2% faster.
parent
caf7d617
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
aacpsdsp.asm
libavcodec/x86/aacpsdsp.asm
+12
-9
No files found.
libavcodec/x86/aacpsdsp.asm
View file @
933dd622
...
...
@@ -62,24 +62,27 @@ PS_ADD_SQUARES 3
; float *src1, int n);
;*******************************************************************
INIT_XMM
sse
cglobal
ps_mul_pair_single
,
4
,
5
,
4
,
dst
,
src1
,
src2
,
n
xor
r4q
,
r4q
cglobal
ps_mul_pair_single
,
4
,
4
,
4
,
dst
,
src1
,
src2
,
n
shl
nd
,
3
add
src1q
,
nq
add
dstq
,
nq
neg
nq
align
16
.
loop
:
movu
m0
,
[
src1q
+
r4
q
]
movu
m1
,
[
src1q
+
r4
q
+
mmsize
]
movu
m0
,
[
src1q
+
n
q
]
movu
m1
,
[
src1q
+
n
q
+
mmsize
]
mova
m2
,
[src2q]
mova
m3
,
m2
unpcklps
m2
,
m2
unpckhps
m3
,
m3
mulps
m0
,
m2
mulps
m1
,
m3
mova
[
dstq
+
r4
q
]
,
m0
mova
[
dstq
+
r4
q
+
mmsize
]
,
m1
mova
[
dstq
+
n
q
]
,
m0
mova
[
dstq
+
n
q
+
mmsize
]
,
m1
add
src2q
,
mmsize
add
r4q
,
mmsize
*
2
sub
nd
,
mmsize
/
4
jg
.
loop
add
nq
,
mmsize
*
2
jl
.
loop
REP_RET
;***********************************************************************
...
...
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