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
97dde561
Commit
97dde561
authored
Feb 05, 2014
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/vp9lpf: remove braindead double pxor.
parent
9a3b05b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vp9lpf.asm
libavcodec/x86/vp9lpf.asm
+5
-5
No files found.
libavcodec/x86/vp9lpf.asm
View file @
97dde561
...
...
@@ -59,8 +59,10 @@ SECTION .text
%endmacro
; %1 = %1<=%2
%macro
CMP_LTE
4
; src/dst, cmp, tmp, pb_80
%macro
CMP_LTE
3
-
4
; src/dst, cmp, tmp, pb_80
%if
%0
==
4
pxor
%1
,
%4
%endif
pcmpgtb
%3
,
%2
,
%1
; cmp > src?
pcmpeqb
%1
,
%2
; cmp == src? XXX: avoid this with a -1/+1 well placed?
por
%1
,
%3
; cmp >= src?
...
...
@@ -480,15 +482,13 @@ SECTION .text
pxor
m7
,
m8
pxor
m4
,
m8
pcmpgtb
m0
,
m4
,
m7
; abs(p1 - p0) > H (1/2 hev condition)
pxor
m4
,
m8
CMP_LTE
m4
,
m6
,
m5
,
m8
; abs(p1 - p0) <= 1
CMP_LTE
m4
,
m6
,
m5
; abs(p1 - p0) <= 1
pand
m2
,
m4
; (flat8in)
ABSSUB
m4
,
m13
,
m12
,
m1
; abs(q1 - q0)
pxor
m4
,
m8
pcmpgtb
m5
,
m4
,
m7
; abs(q1 - q0) > H (2/2 hev condition)
por
m0
,
m5
; hev final value
pxor
m4
,
m8
CMP_LTE
m4
,
m6
,
m5
,
m8
; abs(q1 - q0) <= 1
CMP_LTE
m4
,
m6
,
m5
; abs(q1 - q0) <= 1
pand
m2
,
m4
; (flat8in)
ABSSUB_CMP
m1
,
m14
,
m12
,
m6
,
m4
,
m5
,
m8
; abs(q2 - q0) <= 1
pand
m2
,
m1
...
...
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