diff options
-rw-r--r-- | testsuite/ctlz.c | 4 | ||||
-rw-r--r-- | testsuite/maxub8.c | 4 | ||||
-rw-r--r-- | testsuite/maxuw4.c | 4 | ||||
-rw-r--r-- | testsuite/minub8.c | 4 | ||||
-rw-r--r-- | testsuite/minuw4.c | 4 |
5 files changed, 10 insertions, 10 deletions
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; diff --git a/testsuite/maxub8.c b/testsuite/maxub8.c index de2a9e7..ae82a8c 100644 --- a/testsuite/maxub8.c +++ b/testsuite/maxub8.c @@ -63,7 +63,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; @@ -92,7 +92,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; 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; diff --git a/testsuite/minub8.c b/testsuite/minub8.c index 5b54e0a..97cd289 100644 --- a/testsuite/minub8.c +++ b/testsuite/minub8.c @@ -66,7 +66,7 @@ int main(int argc, char ** argv[]) { //printf("%d - %lu nanoseconds\n", j, end - start); 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; diff --git a/testsuite/minuw4.c b/testsuite/minuw4.c index 205d32e..facd326 100644 --- a/testsuite/minuw4.c +++ b/testsuite/minuw4.c @@ -63,7 +63,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; @@ -92,7 +92,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; |