diff options
author | Matt Turner <mattst88@gmail.com> | 2009-04-10 01:34:48 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2009-04-10 01:34:48 +0000 |
commit | 1b1ba4b2f4766e503a5072c46402689e7474cb25 (patch) | |
tree | 1b485621a11ab719e9b7612713cea3dd9d66c192 | |
parent | cb6f2186742c75b62b45ef477048c6a74f2d6828 (diff) |
high 32-bits of the result of rpcc is undefined. should fix ev5 benchmarking
git-svn-id: svn://mattst88.com/svn/cpml-benchmarks@2 dfcbb71e-afff-4d4a-b3c7-756acd92cddf
-rw-r--r-- | math.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -31,7 +31,7 @@ int main(int argc, char * argv[]) { int i; int iterations; - uint64_t start, end; + uint32_t start, end; start = __rpcc(); @@ -49,8 +49,7 @@ int main(int argc, char * argv[]) { } } -/* printf("%5s\t%5s\t%lu\n", LIB_NAME, FUNCTION_NAME, (end - start) / 30);*/ - printf("%lu,", (end - start) / iterations); + printf("%u,", (end - start) / iterations); return 0; } |