Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
b2aa4017
Commit
b2aa4017
authored
Mar 11, 2011
by
Yunqing Wang
Browse files
Align SAD output array to be 16-byte aligned
Use aligned store. Change-Id: Icab4c0c53da811d0c52bb7e8134927f249ba2499
parent
6daacdb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/mcomp.c
View file @
b2aa4017
...
...
@@ -1415,7 +1415,7 @@ int vp8_full_search_sadx8(MACROBLOCK *x, BLOCK *b, BLOCKD *d, MV *ref_mv, int er
int
col_min
=
ref_col
-
distance
;
int
col_max
=
ref_col
+
distance
;
unsigned
short
sad_array8
[
8
]
;
DECLARE_ALIGNED_ARRAY
(
16
,
unsigned
short
,
sad_array8
,
8
)
;
unsigned
int
sad_array
[
3
];
// Work out the mid point for the search
...
...
vp8/encoder/x86/sad_sse4.asm
View file @
b2aa4017
...
...
@@ -186,7 +186,7 @@ sym(vp8_sad16x16x8_sse4):
PROCESS_16X2X8
0
mov
rdi
,
arg
(
4
)
;Results
movdq
u
XMMWORD
PTR
[
rdi
],
xmm1
movdq
a
XMMWORD
PTR
[
rdi
],
xmm1
; begin epilog
pop
rdi
...
...
@@ -224,7 +224,7 @@ sym(vp8_sad16x8x8_sse4):
PROCESS_16X2X8
0
mov
rdi
,
arg
(
4
)
;Results
movdq
u
XMMWORD
PTR
[
rdi
],
xmm1
movdq
a
XMMWORD
PTR
[
rdi
],
xmm1
; begin epilog
pop
rdi
...
...
@@ -262,7 +262,7 @@ sym(vp8_sad8x8x8_sse4):
PROCESS_8X2X8
0
mov
rdi
,
arg
(
4
)
;Results
movdq
u
XMMWORD
PTR
[
rdi
],
xmm1
movdq
a
XMMWORD
PTR
[
rdi
],
xmm1
; begin epilog
pop
rdi
...
...
@@ -303,7 +303,7 @@ sym(vp8_sad8x16x8_sse4):
PROCESS_8X2X8
0
PROCESS_8X2X8
0
mov
rdi
,
arg
(
4
)
;Results
movdq
u
XMMWORD
PTR
[
rdi
],
xmm1
movdq
a
XMMWORD
PTR
[
rdi
],
xmm1
; begin epilog
pop
rdi
...
...
@@ -339,7 +339,7 @@ sym(vp8_sad4x4x8_sse4):
PROCESS_4X2X8
0
mov
rdi
,
arg
(
4
)
;Results
movdq
u
XMMWORD
PTR
[
rdi
],
xmm1
movdq
a
XMMWORD
PTR
[
rdi
],
xmm1
; begin epilog
pop
rdi
...
...
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