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
a8e3833a
Commit
a8e3833a
authored
Aug 20, 2016
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/avf_showcqt: use the FMULADD_PS x86util macro
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
15dd56c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
avf_showcqt.asm
libavfilter/x86/avf_showcqt.asm
+4
-13
No files found.
libavfilter/x86/avf_showcqt.asm
View file @
a8e3833a
...
...
@@ -35,15 +35,6 @@ struc Coeffs
.
sizeof
:
endstruc
%macro
EMULATE_FMADDPS
5
; dst, src1, src2, src3, tmp
%if
cpuflag
(
fma3
)
||
cpuflag
(
fma4
)
fmaddps
%1
,
%2
,
%3
,
%4
%else
mulps
%5
,
%2
,
%3
addps
%1
,
%4
,
%5
%endif
%endmacro
; EMULATE_FMADDPS
%macro
CQT_CALC
9
; %1 = a_re, %2 = a_im, %3 = b_re, %4 = b_im
; %5 = m_re, %6 = m_im, %7 = tmp, %8 = coeffval, %9 = coeffsq_offset
...
...
@@ -54,9 +45,9 @@ endstruc
shufps
m%6
,
m%5
,
m%7
,
q3131
shufps
m%5
,
m%5
,
m%7
,
q2020
sub
id
,
fft_lend
EMULATE_FMADD
PS
m%2
,
m%6
,
m%8
,
m%2
,
m%6
FMULADD_
PS
m%2
,
m%6
,
m%8
,
m%2
,
m%6
neg
id
EMULATE_FMADD
PS
m%1
,
m%5
,
m%8
,
m%1
,
m%5
FMULADD_
PS
m%1
,
m%5
,
m%8
,
m%1
,
m%5
movups
m%5
,
[
srcq
+
8
*
iq
-
mmsize
+
8
]
movups
m%7
,
[
srcq
+
8
*
iq
-
2
*
mmsize
+
8
]
%
if
mmsize
==
32
...
...
@@ -65,8 +56,8 @@ endstruc
%
endif
shufps
m%6
,
m%5
,
m%7
,
q1313
shufps
m%5
,
m%5
,
m%7
,
q0202
EMULATE_FMADD
PS
m%4
,
m%6
,
m%8
,
m%4
,
m%6
EMULATE_FMADD
PS
m%3
,
m%5
,
m%8
,
m%3
,
m%5
FMULADD_
PS
m%4
,
m%6
,
m%8
,
m%4
,
m%6
FMULADD_
PS
m%3
,
m%5
,
m%8
,
m%3
,
m%5
%endmacro
; CQT_CALC
%macro
CQT_SEPARATE
6
; a_re, a_im, b_re, b_im, tmp, tmp2
...
...
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