[llvm-commits] [test-suite] r105241 - in /test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32: Makefile crc_32.c telecomm-CRC32.reference_output
Daniel Dunbar
daniel at zuster.org
Mon May 31 11:49:44 PDT 2010
Author: ddunbar
Date: Mon May 31 13:49:44 2010
New Revision: 105241
URL: http://llvm.org/viewvc/llvm-project?rev=105241&view=rev
Log:
Rewrite telecomm-CRC32 to only print the computed hash as an int. This fixes the
x86/x86_64 reference output mismatch.
Modified:
test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile
test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/crc_32.c
test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/telecomm-CRC32.reference_output
Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile?rev=105241&r1=105240&r2=105241&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/Makefile Mon May 31 13:49:44 2010
@@ -4,10 +4,4 @@
LDFLAGS = -lm
RUN_OPTIONS = $(PROJ_SRC_DIR)/large.pcm
-ifeq ($(ARCH),x86)
-ifdef USE_REFERENCE_OUTPUT
-EXEC_XFAILS = telecomm-CRC32
-endif
-endif
-
include $(LEVEL)/MultiSource/Makefile.multisrc
Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/crc_32.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/crc_32.c?rev=105241&r1=105240&r2=105241&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/crc_32.c (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/crc_32.c Mon May 31 13:49:44 2010
@@ -186,7 +186,7 @@
while(--argc > 0)
{
errors |= crc32file(*++argv, &crc, &charcnt);
- printf("%08lX %7ld %s\n", crc, charcnt, mybasename(*argv));
+ printf("%08X %7ld %s\n", (int) crc, charcnt, mybasename(*argv));
}
return(errors != 0);
}
Modified: test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/telecomm-CRC32.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/telecomm-CRC32.reference_output?rev=105241&r1=105240&r2=105241&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/telecomm-CRC32.reference_output (original)
+++ test-suite/trunk/MultiSource/Benchmarks/MiBench/telecomm-CRC32/telecomm-CRC32.reference_output Mon May 31 13:49:44 2010
@@ -1,2 +1,2 @@
-FFFFFFFF786297C0 26610191 large.pcm
+786297C0 26610191 large.pcm
exit 0
More information about the llvm-commits
mailing list