summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-03 16:02:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-11-03 16:02:18 +0000
commitf5a9e8f33db276008ebcad6cc0a54cca5350d45c (patch)
tree6c2ce55e294fc450ac793b40130e96251c4e8d1e /libavcodec
parente80cf125a7df1c19f0228fb4a520ec577ae0be99 (diff)
merging mov & and (no speedchange)
Originally committed as revision 6889 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/h264dsp_mmx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/i386/h264dsp_mmx.c b/libavcodec/i386/h264dsp_mmx.c
index e73aa9c949..904d8ea5fb 100644
--- a/libavcodec/i386/h264dsp_mmx.c
+++ b/libavcodec/i386/h264dsp_mmx.c
@@ -411,9 +411,8 @@ static inline void h264_loop_filter_luma_mmx2(uint8_t *pix, int stride, int alph
"movq (%1), %%mm3 \n\t" //p2
DIFF_GT2_MMX(%%mm1, %%mm3, %%mm5, %%mm6, %%mm4) // |p2-p0|>beta-1
"pand %%mm7, %%mm6 \n\t" // mask & |p2-p0|<beta
- "movq 8+%0, %%mm4 \n\t" // can be merged with the and below but is slower then
- "pand %%mm7, %%mm4 \n\t" // mask & tc0
- "movq %%mm4, %%mm7 \n\t"
+ "pand 8+%0, %%mm7 \n\t" // mask & tc0
+ "movq %%mm7, %%mm4 \n\t"
"psubb %%mm6, %%mm7 \n\t"
"pand %%mm4, %%mm6 \n\t" // mask & |p2-p0|<beta & tc0
H264_DEBLOCK_Q1(%%mm0, %%mm3, "(%1)", "(%1,%3)", %%mm6, %%mm4)