[llvm-commits] [test-suite] r105242 - in /test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc: Makefile crc32.c netbench-crc.reference_output
Daniel Dunbar
daniel at zuster.org
Mon May 31 11:49:48 PDT 2010
Author: ddunbar
Date: Mon May 31 13:49:47 2010
New Revision: 105242
URL: http://llvm.org/viewvc/llvm-project?rev=105242&view=rev
Log:
Rewrite netcomm-crc to only print the computed hash as an int. This fixes the
x86/x86_64 reference output mismatch.
Modified:
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c
test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc.reference_output
Modified: test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile?rev=105242&r1=105241&r2=105242&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/Makefile Mon May 31 13:49:47 2010
@@ -11,10 +11,4 @@
endif
endif
-ifeq ($(ARCH),x86)
-ifdef USE_REFERENCE_OUTPUT
-EXEC_XFAILS = netbench-crc
-endif
-endif
-
include $(LEVEL)/MultiSource/Makefile.multisrc
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=105242&r1=105241&r2=105242&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/crc32.c Mon May 31 13:49:47 2010
@@ -142,7 +142,7 @@
}
fprintf (stdout, "CRC completed for %d packets \n", numpackets);
- fprintf (stdout, "crc_accum is %lu\n", crc_accum);
+ fprintf (stdout, "crc_accum is %u\n", (unsigned) crc_accum);
return 0;
}
Modified: test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc.reference_output?rev=105242&r1=105241&r2=105242&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc.reference_output (original)
+++ test-suite/trunk/MultiSource/Benchmarks/Trimaran/netbench-crc/netbench-crc.reference_output Mon May 31 13:49:47 2010
@@ -1,3 +1,3 @@
CRC completed for 12000 packets
-crc_accum is 144398862177705626
+crc_accum is 101883546
exit 0
More information about the llvm-commits
mailing list