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
320e1d0d
Commit
320e1d0d
authored
Jul 15, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: ABSB2: port to cpuflags
parent
094a7405
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
x86util.asm
libavutil/x86/x86util.asm
+6
-8
No files found.
libavutil/x86/x86util.asm
View file @
320e1d0d
...
@@ -220,13 +220,18 @@
...
@@ -220,13 +220,18 @@
%endif
%endif
%endmacro
%endmacro
%macro
ABSB2_MMX
4
%macro
ABSB2
4
; src1, src2, tmp1, tmp2 (tmp1/2 unused for SSSE3)
%if
cpuflag
(
ssse3
)
pabsb
%1
,
%1
pabsb
%2
,
%2
%else
pxor
%3
,
%3
pxor
%3
,
%3
pxor
%4
,
%4
pxor
%4
,
%4
psubb
%3
,
%1
psubb
%3
,
%1
psubb
%4
,
%2
psubb
%4
,
%2
pminub
%1
,
%3
pminub
%1
,
%3
pminub
%2
,
%4
pminub
%2
,
%4
%endif
%endmacro
%endmacro
%macro
ABSD2_MMX
4
%macro
ABSD2_MMX
4
...
@@ -240,18 +245,11 @@
...
@@ -240,18 +245,11 @@
psubd
%2
,
%4
psubd
%2
,
%4
%endmacro
%endmacro
%macro
ABSB2_SSSE3
4
pabsb
%1
,
%1
pabsb
%2
,
%2
%endmacro
%macro
ABS4
6
%macro
ABS4
6
ABS2
%1
,
%2
,
%5
,
%6
ABS2
%1
,
%2
,
%5
,
%6
ABS2
%3
,
%4
,
%5
,
%6
ABS2
%3
,
%4
,
%5
,
%6
%endmacro
%endmacro
%define
ABSB2
ABSB2_MMX
%macro
SPLATB_LOAD
3
%macro
SPLATB_LOAD
3
%if
cpuflag
(
ssse3
)
%if
cpuflag
(
ssse3
)
movd
%1
,
[
%2
-
3
]
movd
%1
,
[
%2
-
3
]
...
...
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