[llvm-commits] [test-suite] r165697 - in /test-suite/trunk/MultiSource/Benchmarks/TSVC: Equivalencing-dbl/Equivalencing-dbl.reference_output Equivalencing-flt/Equivalencing-flt.reference_output tsc.inc
Hal Finkel
hfinkel at anl.gov
Wed Oct 10 20:52:36 PDT 2012
Author: hfinkel
Date: Wed Oct 10 22:52:36 2012
New Revision: 165697
URL: http://llvm.org/viewvc/llvm-project?rev=165697&view=rev
Log:
Fix an invalid array access bug in TSVC test s1421.
This fixes an error in test s1421, found by Duncan, and
restores the correct reference outputs.
Modified:
test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Equivalencing-dbl.reference_output
test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt.reference_output
test-suite/trunk/MultiSource/Benchmarks/TSVC/tsc.inc
Modified: test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Equivalencing-dbl.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Equivalencing-dbl.reference_output?rev=165697&r1=165696&r2=165697&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Equivalencing-dbl.reference_output (original)
+++ test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-dbl/Equivalencing-dbl.reference_output Wed Oct 10 22:52:36 2012
@@ -2,7 +2,7 @@
Loop Time(Sec) Checksum
S421 0.00 32010.620068485
-S1421 0.00 17208.404325315
+S1421 0.00 16000
S422 0.00 3.7377231414078
S423 0.00 32000.736895702
S424 0.00 32822.36069424
Modified: test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt.reference_output?rev=165697&r1=165696&r2=165697&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt.reference_output (original)
+++ test-suite/trunk/MultiSource/Benchmarks/TSVC/Equivalencing-flt/Equivalencing-flt.reference_output Wed Oct 10 22:52:36 2012
@@ -2,7 +2,7 @@
Loop Time(Sec) Checksum
S421 0.00 32009
-S1421 0.00 17208
+S1421 0.00 16000
S422 0.00 3.7377
S423 0.00 32001
S424 0.00 32819
Modified: test-suite/trunk/MultiSource/Benchmarks/TSVC/tsc.inc
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/TSVC/tsc.inc?rev=165697&r1=165696&r2=165697&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/TSVC/tsc.inc (original)
+++ test-suite/trunk/MultiSource/Benchmarks/TSVC/tsc.inc Wed Oct 10 22:52:36 2012
@@ -4421,7 +4421,7 @@
clock_dif_sec = (double) (clock_dif/1000000.0);
printf("S1421\t %.2f \t\t", clock_dif_sec);;
temp = 0;
- for (int i = 0; i < LEN; i++){
+ for (int i = 0; i < LEN/2; i++){
temp += xx[i];
}
check(-1);
More information about the llvm-commits
mailing list