mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. diff -ruN ccbench-0.2/ccbench ccbench-0.2.1/ccbench
  2. --- ccbench-0.2/ccbench 2006-10-08 00:56:54.000000000 +0200
  3. +++ ccbench-0.2.1/ccbench 2006-10-08 00:37:47.000000000 +0200
  4. @@ -61,7 +61,7 @@
  5. try "" -O2 -O3
  6. try "" -march={i386,i486,i586,i686,pentium{-mmx,2,3,4}} \
  7. - -march={k6,k6-2,k6-3,athlon,athlon-{tbird,4,xp,mp}}
  8. + -march={k6,k6-2,k6-3,athlon,athlon-{tbird,4,xp,mp},k8}
  9. try "" -fforce-addr
  10. try "" -fomit-frame-pointer
  11. try "" -finline-functions
  12. diff -ruN ccbench-0.2/test_bubble.c ccbench-0.2.1/test_bubble.c
  13. --- ccbench-0.2/test_bubble.c 2006-10-08 00:56:54.000000000 +0200
  14. +++ ccbench-0.2.1/test_bubble.c 2006-10-08 00:02:37.000000000 +0200
  15. @@ -8,7 +8,7 @@
  16. * is often found in application programs.
  17. */
  18. -void bubblesort(unsigned char * data)
  19. +void bubblesort(char * data)
  20. {
  21. int finished=0;
  22. int counter,buf;
  23. @@ -26,7 +26,7 @@
  24. void test_bubblesort()
  25. {
  26. - unsigned char buf[400];
  27. + char buf[400];
  28. int c, c2;
  29. timer_start(CONTEXT_LOCAL);
  30. diff -ruN ccbench-0.2/test_builtin.c ccbench-0.2.1/test_builtin.c
  31. --- ccbench-0.2/test_builtin.c 2006-10-08 00:56:54.000000000 +0200
  32. +++ ccbench-0.2.1/test_builtin.c 2006-10-08 00:06:29.000000000 +0200
  33. @@ -1,3 +1,5 @@
  34. +#include <strings.h>
  35. +
  36. #include "bench.h"
  37. int test_builtin_ffs(int rc)