Changes in directory llvm-test/SingleSource/Benchmarks/Shootout:
fib2.c updated: 1.2 -> 1.3 --- Log message: Fix fib2 in the PPC JIT --- Diffs of the changes: (+3 -3) fib2.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm-test/SingleSource/Benchmarks/Shootout/fib2.c diff -u llvm-test/SingleSource/Benchmarks/Shootout/fib2.c:1.2 llvm-test/SingleSource/Benchmarks/Shootout/fib2.c:1.3 --- llvm-test/SingleSource/Benchmarks/Shootout/fib2.c:1.2 Tue Jun 8 12:21:42 2004 +++ llvm-test/SingleSource/Benchmarks/Shootout/fib2.c Thu May 25 12:25:32 2006 @@ -1,10 +1,10 @@ /* -*- mode: c -*- - * $Id: fib2.c,v 1.2 2004/06/08 17:21:42 lattner Exp $ + * $Id: fib2.c,v 1.3 2006/05/25 17:25:32 lattner Exp $ * http://www.bagley.org/~doug/shootout/ */ int atoi(char *); -void printf(char *, unsigned long); +#include <stdio.h> unsigned long fib(unsigned long n) { @@ -16,7 +16,7 @@ int main(int argc, char *argv[]) { - int N = ((argc == 2) ? atoi(argv[1]) : 43); + int N = ((argc == 2) ? atoi(argv[1]) : 4); printf("%ld\n", fib(N)); return(0); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits