Commit 949e8ad5 authored by michael's avatar michael

comment about failed optimization


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6887 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cbf70684
...@@ -402,7 +402,7 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph ...@@ -402,7 +402,7 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph
"pandn %%mm7, %%mm6 \n\t" "pandn %%mm7, %%mm6 \n\t"
"pcmpeqb %%mm7, %%mm6 \n\t" "pcmpeqb %%mm7, %%mm6 \n\t"
"pand %%mm7, %%mm6 \n\t" // mask & |p2-p0|<beta "pand %%mm7, %%mm6 \n\t" // mask & |p2-p0|<beta
"movq 8+%0, %%mm4 \n\t" "movq 8+%0, %%mm4 \n\t" // can be merged with the and below but is slower then
"pand %%mm7, %%mm4 \n\t" // mask & tc0 "pand %%mm7, %%mm4 \n\t" // mask & tc0
"movq %%mm4, %%mm7 \n\t" "movq %%mm4, %%mm7 \n\t"
"psubb %%mm6, %%mm7 \n\t" "psubb %%mm6, %%mm7 \n\t"
...@@ -415,7 +415,7 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph ...@@ -415,7 +415,7 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph
"pandn %0, %%mm6 \n\t" "pandn %0, %%mm6 \n\t"
"pcmpeqb %0, %%mm6 \n\t" "pcmpeqb %0, %%mm6 \n\t"
"pand %0, %%mm6 \n\t" "pand %0, %%mm6 \n\t"
"movq 8+%0, %%mm5 \n\t" "movq 8+%0, %%mm5 \n\t" // can be merged with the and below but is slower then
"pand %%mm6, %%mm5 \n\t" "pand %%mm6, %%mm5 \n\t"
"psubb %%mm6, %%mm7 \n\t" "psubb %%mm6, %%mm7 \n\t"
"movq (%2,%3), %%mm3 \n\t" "movq (%2,%3), %%mm3 \n\t"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment