Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
afbcfdc2
Commit
afbcfdc2
authored
Apr 04, 2008
by
Loren Merritt
Browse files
sfence after nontemporal stores
parent
7bdaab60
Changes
2
Hide whitespace changes
Inline
Side-by-side
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