From 50231039fc1dff69dc440857c9207de5c9338390 Mon Sep 17 00:00:00 2001 From: Bryce Denney Date: Wed, 17 Apr 2002 02:28:33 +0000 Subject: [PATCH] - add blur_unroll_inner, which unrolls the x2 and y2 loops into one long statement. - add nice comment on endifs that says what this is the end of --- bochs-performance/testcases/blur.c | 33 ++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/bochs-performance/testcases/blur.c b/bochs-performance/testcases/blur.c index 90dcb111e..a55b9b749 100644 --- a/bochs-performance/testcases/blur.c +++ b/bochs-performance/testcases/blur.c @@ -1,6 +1,6 @@ /* * - * $Id: blur.c,v 1.5 2002-04-16 22:40:30 bdenney Exp $ + * $Id: blur.c,v 1.6 2002-04-17 02:28:33 bdenney Exp $ * */ @@ -32,6 +32,22 @@ void blur_simple() } } +#ifdef BLUR_UNROLL_INNER +void blur_unroll_inner() +{ + int sum; + int x,y,x2,y2; + for (x=1; x