From 331c122938c1ebeae5f34a1c71222496a17e9199 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 24 Oct 2010 05:31:07 +0000 Subject: Fix stupid memset screw-up git-svn-id: svn://mattst88.com/svn/alpha_mmintrin/trunk@6 f7d56953-e76f-4e43-a77e-20d50f6c004e --- testsuite/ctlz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/ctlz.c') diff --git a/testsuite/ctlz.c b/testsuite/ctlz.c index 1fc0cf1..6bd91ea 100644 --- a/testsuite/ctlz.c +++ b/testsuite/ctlz.c @@ -37,7 +37,7 @@ int main(int argc, char ** argv) { end = __rpcc(); cix_total += end - start - overhead; - memset(b, 4096, 0); + memset(b, 0, 4096); } for (j = 0; j < ITERATIONS; j++) { @@ -57,7 +57,7 @@ int main(int argc, char ** argv) { end = __rpcc(); noncix_total += end - start - overhead; - memset(c, 4096, 0); + memset(c, 0, 4096); } noncix_total /= ITERATIONS; -- cgit v1.2.3