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
26f01bd1
Commit
26f01bd1
authored
Jul 15, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: PMINUB: port to cpuflags
parent
9ce02e14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
ac3dsp.asm
libavcodec/x86/ac3dsp.asm
+0
-3
x86util.asm
libavutil/x86/x86util.asm
+5
-5
No files found.
libavcodec/x86/ac3dsp.asm
View file @
26f01bd1
...
@@ -63,12 +63,10 @@ cglobal ac3_exponent_min, 3, 4, 2, exp, reuse_blks, expn, offset
...
@@ -63,12 +63,10 @@ cglobal ac3_exponent_min, 3, 4, 2, exp, reuse_blks, expn, offset
REP_RET
REP_RET
%endmacro
%endmacro
%define
PMINUB
PMINUB_MMX
%define
LOOP_ALIGN
%define
LOOP_ALIGN
INIT_MMX
mmx
INIT_MMX
mmx
AC3_EXPONENT_MIN
AC3_EXPONENT_MIN
%if
HAVE_MMXEXT
%if
HAVE_MMXEXT
%define
PMINUB
PMINUB_MMXEXT
%define
LOOP_ALIGN
ALIGN
16
%define
LOOP_ALIGN
ALIGN
16
INIT_MMX
mmxext
INIT_MMX
mmxext
AC3_EXPONENT_MIN
AC3_EXPONENT_MIN
...
@@ -77,7 +75,6 @@ AC3_EXPONENT_MIN
...
@@ -77,7 +75,6 @@ AC3_EXPONENT_MIN
INIT_XMM
sse2
INIT_XMM
sse2
AC3_EXPONENT_MIN
AC3_EXPONENT_MIN
%endif
%endif
%undef
PMINUB
%undef
LOOP_ALIGN
%undef
LOOP_ALIGN
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
...
...
libavutil/x86/x86util.asm
View file @
26f01bd1
...
@@ -530,14 +530,14 @@
...
@@ -530,14 +530,14 @@
movh
[
%7
+
%8
]
,
%4
movh
[
%7
+
%8
]
,
%4
%endmacro
%endmacro
%macro
PMINUB_MMX
3
; dst, src, tmp
%macro
PMINUB
3
; dst, src, ignored
%if
cpuflag
(
mmxext
)
pminub
%1
,
%2
%else
; dst, src, tmp
mova
%3
,
%1
mova
%3
,
%1
psubusb
%3
,
%2
psubusb
%3
,
%2
psubb
%1
,
%3
psubb
%1
,
%3
%endmacro
%endif
%macro
PMINUB_MMXEXT
3
; dst, src, ignored
pminub
%1
,
%2
%endmacro
%endmacro
%macro
SPLATW
2
-
3
0
%macro
SPLATW
2
-
3
0
...
...
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