[llvm-commits] [test-suite] r58167 - /test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c
Dan Gohman
gohman at apple.com
Sat Oct 25 16:18:48 PDT 2008
Author: djg
Date: Sat Oct 25 18:18:48 2008
New Revision: 58167
URL: http://llvm.org/viewvc/llvm-project?rev=58167&view=rev
Log:
Print the value of crc_accum instead of returning it from main.
This allows the full value to be compared, since process exit
statuses only preserve 8 bits. Return 0 from main on success.
Modified:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c
Modified: test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c?rev=58167&r1=58166&r2=58167&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c Sat Oct 25 18:18:48 2008
@@ -142,6 +142,7 @@
}
fprintf (stdout, "CRC completed for %d packets \n", numpackets);
+ fprintf (stdout, "crc_accum is %lu\n", crc_accum);
- return crc_accum;
+ return 0;
}
More information about the llvm-commits
mailing list