From ff61f5f3ff1314f8bd2350a9b71165b11f7f7855 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 8 Dec 2003 17:23:41 +0000 Subject: prefetching seems to improve performance as well CVS patchset: 5876 CVS date: 2003/12/08 17:23:41 --- src/post/deinterlace/plugins/linearblend.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/post/deinterlace/plugins/linearblend.c b/src/post/deinterlace/plugins/linearblend.c index 977efe2b3..372db5ce1 100644 --- a/src/post/deinterlace/plugins/linearblend.c +++ b/src/post/deinterlace/plugins/linearblend.c @@ -183,6 +183,10 @@ static void deinterlace_scanline_linear_blend_mmxext( uint8_t *output, int i; static mmx_t high_mask = {ub:{0xff,0xff,0xff,0xff,0,0,0,0}}; + READ_PREFETCH_2048( t0 ); + READ_PREFETCH_2048( b0 ); + READ_PREFETCH_2048( m1 ); + // Get width in bytes. width *= 2; i = width / 8; @@ -244,6 +248,10 @@ static void deinterlace_scanline_linear_blend2_mmxext( uint8_t *output, uint8_t *b1 = data->b1; int i; + + READ_PREFETCH_2048( t1 ); + READ_PREFETCH_2048( b1 ); + READ_PREFETCH_2048( m0 ); // Get width in bytes. width *= 2; -- cgit v1.2.3