summaryrefslogtreecommitdiff
path: root/testsuite/maxuw4.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2010-10-24 05:31:07 +0000
committerMatt Turner <mattst88@gmail.com>2010-10-24 05:31:07 +0000
commit331c122938c1ebeae5f34a1c71222496a17e9199 (patch)
tree29ea68c749949557877481f3513ccd8271934367 /testsuite/maxuw4.c
parentc626d4b1794a9597f168f82420a1d3deab4c6642 (diff)
Fix stupid memset screw-up
git-svn-id: svn://mattst88.com/svn/alpha_mmintrin/trunk@6 f7d56953-e76f-4e43-a77e-20d50f6c004e
Diffstat (limited to 'testsuite/maxuw4.c')
-rw-r--r--testsuite/maxuw4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/maxuw4.c b/testsuite/maxuw4.c
index 3b8e942..06ae2d8 100644
--- a/testsuite/maxuw4.c
+++ b/testsuite/maxuw4.c
@@ -66,7 +66,7 @@ int main(int argc, char ** argv[]) {
end = __rpcc() - overhead;
no_simd_total += end - start;
- memset(c, 4096, 0);
+ memset(c, 0, 4096);
}
no_simd_total /= ITERATIONS;
@@ -95,7 +95,7 @@ int main(int argc, char ** argv[]) {
end = __rpcc() - overhead;
simd_total += end - start;
- memset(d, 4096, 0);
+ memset(d, 0, 4096);
}
simd_total /= ITERATIONS;