[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c
Chris Lattner
lattner at cs.uiuc.edu
Tue Dec 14 11:17:32 PST 2004
Changes in directory llvm-test/MultiSource/Benchmarks/FreeBench/distray:
distray.c updated: 1.1 -> 1.2
---
Log message:
Reduce the precision of the output, avoiding spurious FP comparison failures.
---
Diffs of the changes: (+3 -3)
Index: llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c
diff -u llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c:1.1 llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c:1.2
--- llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c:1.1 Sat Oct 11 16:18:47 2003
+++ llvm-test/MultiSource/Benchmarks/FreeBench/distray/distray.c Tue Dec 14 13:17:16 2004
@@ -439,9 +439,9 @@
/***...write image to stdout...***/
for (i=0 ; i<3*WIDTH*HEIGHT ; ) {
- fputc( memory[i++], stdout);
- fputc( memory[i++], stdout);
- fputc( memory[i++], stdout);
+ fputc( memory[i++]&~1, stdout);
+ fputc( memory[i++]&~1, stdout);
+ fputc( memory[i++]&~1, stdout);
}
return 0; /***...ANSI C wants main to return an int...***/
More information about the llvm-commits
mailing list