Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
external
libvpx
Commits
7725a7eb
Commit
7725a7eb
authored
14 years ago
by
Yunqing Wang
Committed by
Code Review
14 years ago
Browse files
Options
Download
Plain Diff
Merge "Improve vp8_sad16x16_sse3 function"
parents
27dad215
2debd5b5
v1.14.0-linphone
1.4.X
bali
cayuga
eider
experimental
feature/update_to_v1.9.0-linphone
feature/uwp_nuget
forest
frame_parallel
highbitdepth
indianrunnerduck
javanwhistlingduck
khakicampbell
linphone
linphone-android
linphone-old
longtailedduck
m29-baseline
m31-baseline
m49-2623
m52-2743
m54-2840
m56-2924
m66-3359
m68-3440
mandarinduck
mcw
mcw2
nextgen
nextgenv2
pcs-2013
playground
sandbox/Jingning/experimental
sandbox/Jingning/transcode
sandbox/Jingning/vpx
sandbox/aconverse@google.com/ansbench
sandbox/atna/dec_sem_sync
sandbox/awatry/initial_opencl_implementation
sandbox/debargha/playground
sandbox/hkuang/frame_parallel
sandbox/hkuang@google.com/decode
sandbox/jimbankoski@google.com/proposed-aom
sandbox/jingning@google.com/decoder_test_suite
sandbox/jingning@google.com/experimental
sandbox/jkoleszar/cached-multibit
sandbox/jkoleszar/new-rate-control
sandbox/jkoleszar/new-rtcd
sandbox/jkoleszar/reuse-modemv
sandbox/jkoleszar/use-memcpy
sandbox/jzern@google.com/test
sandbox/wangch@google.com/vp9
sandbox/yaowu@google.com/mergeaom
stable-vp9-decoder
v1.12.0-linphone
v1.6.1_linphone
v1.7.0-linphone
v1.9.0-linphone
vp9-preview
v1.9.0
v1.9.0-rc1
v1.8.2
v1.8.1
v1.8.0
v1.7.0
v1.6.1
v1.6.0
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
v1.0.0
v0.9.7
v0.9.7-p1
v0.9.6
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp8/encoder/x86/sad_sse3.asm
+25
-32
vp8/encoder/x86/sad_sse3.asm
with
25 additions
and
32 deletions
vp8/encoder/x86/sad_sse3.asm
+
25
−
32
View file @
7725a7eb
...
@@ -586,52 +586,45 @@ sym(vp8_sad16x16_sse3):
...
@@ -586,52 +586,45 @@ sym(vp8_sad16x16_sse3):
STACK_FRAME_CREATE_X3
STACK_FRAME_CREATE_X3
lea
end_ptr
,
[
src_ptr
+
src_stride
*
8
]
mov
end_ptr
,
4
pxor
xmm7
,
xmm7
lea
end_ptr
,
[
end_ptr
+
src_stride
*
8
]
pxor
mm7
,
mm7
.vp8_sad16x16_sse3_loop:
.vp8_sad16x16_sse3_loop:
movdqa
xmm0
,
XMMWORD
PTR
[
src_ptr
]
movdqu
xmm1
,
XMMWORD
PTR
[
ref_ptr
]
movdqa
xmm2
,
XMMWORD
PTR
[
src_ptr
+
src_stride
]
movdqu
xmm3
,
XMMWORD
PTR
[
ref_ptr
+
ref_stride
]
movq
ret_var
,
mm7
lea
src_ptr
,
[
src_ptr
+
src_stride
*
2
]
cmp
ret_var
,
max_err
lea
ref_ptr
,
[
ref_ptr
+
ref_stride
*
2
]
jg
.vp8_sad16x16_early_exit
movq
mm0
,
QWORD
PTR
[
src_ptr
]
movq
mm2
,
QWORD
PTR
[
src_ptr
+
8
]
movq
mm1
,
QWORD
PTR
[
ref_ptr
]
movq
mm3
,
QWORD
PTR
[
ref_ptr
+
8
]
movq
mm4
,
QWORD
PTR
[
src_ptr
+
src_stride
]
movdqa
xmm4
,
XMMWORD
PTR
[
src_ptr
]
movq
mm5
,
QWORD
PTR
[
ref_ptr
+
ref_stride
]
movdqu
xmm5
,
XMMWORD
PTR
[
ref_ptr
]
movdqa
xmm6
,
XMMWORD
PTR
[
src_ptr
+
src_stride
]
psadbw
mm0
,
mm1
psadbw
xmm0
,
xmm1
psadbw
mm2
,
mm3
movq
mm1
,
QWORD
PTR
[
src_ptr
+
src_stride
+
8
]
movdqu
xmm1
,
XMMWORD
PTR
[
ref_ptr
+
ref_stride
]
movq
mm3
,
QWORD
PTR
[
ref_ptr
+
ref_stride
+
8
]
psadbw
mm4
,
mm5
psadbw
xmm2
,
xmm3
psadbw
mm1
,
mm3
psadbw
xmm4
,
xmm5
psadbw
xmm6
,
xmm1
lea
src_ptr
,
[
src_ptr
+
src_stride
*
2
]
lea
src_ptr
,
[
src_ptr
+
src_stride
*
2
]
lea
ref_ptr
,
[
ref_ptr
+
ref_stride
*
2
]
lea
ref_ptr
,
[
ref_ptr
+
ref_stride
*
2
]
paddw
mm0
,
mm2
paddw
xmm7
,
xmm0
paddw
mm4
,
mm1
paddw
xmm7
,
xmm2
paddw
xmm7
,
xmm4
paddw
mm7
,
mm0
paddw
xmm7
,
xmm6
paddw
mm7
,
mm4
cmp
src
_ptr
,
end_ptr
sub
end
_ptr
,
1
jne
.vp8_sad16x16_sse3_loop
jne
.vp8_sad16x16_sse3_loop
movq
ret_var
,
mm7
movq
xmm0
,
xmm7
psrldq
xmm7
,
8
.vp8_sad16x16_early_exit:
paddw
xmm0
,
xmm7
movq
rax
,
xmm0
mov
rax
,
ret_var
STACK_FRAME_DESTROY_X3
STACK_FRAME_DESTROY_X3
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets