Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
x264
Commits
afbcfdc2
Commit
afbcfdc2
authored
Apr 04, 2008
by
Loren Merritt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfence after nontemporal stores
parent
7bdaab60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
common/x86/mc-a2.asm
common/x86/mc-a2.asm
+5
-0
common/x86/mc-c.c
common/x86/mc-c.c
+2
-0
No files found.
common/x86/mc-a2.asm
View file @
afbcfdc2
...
...
@@ -314,6 +314,10 @@ HPEL_C sse2
HPEL_C
ss
se3
%endif
cglobal
x264_sfence
sfence
ret
;-----------------------------------------------------------------------------
...
...
@@ -381,6 +385,7 @@ cglobal x264_plane_copy_mmxext, 6,7
add
r0
,
r1
dec
r5d
jg
.loopy
sfence
emms
RET
...
...
common/x86/mc-c.c
View file @
afbcfdc2
...
...
@@ -167,6 +167,7 @@ GET_REF(sse2)
void x264_hpel_filter_v_##cpuv( uint8_t *dst, uint8_t *src, int16_t *buf, int stride, int width);\
void x264_hpel_filter_c_##cpuc( uint8_t *dst, int16_t *buf, int width );\
void x264_hpel_filter_h_##cpuh( uint8_t *dst, uint8_t *src, int width );\
void x264_sfence( void );\
void x264_hpel_filter_##cpu( uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, uint8_t *src,\
int stride, int width, int height )\
{\
...
...
@@ -187,6 +188,7 @@ void x264_hpel_filter_##cpu( uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, uint8_
dstc += stride;\
src += stride;\
}\
x264_sfence();\
x264_free(buf);\
}
...
...
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