|
diff -ruN ccbench-0.2/ccbench ccbench-0.2.1/ccbench
|
|
--- ccbench-0.2/ccbench 2006-10-08 00:56:54.000000000 +0200
|
|
+++ ccbench-0.2.1/ccbench 2006-10-08 00:37:47.000000000 +0200
|
|
@@ -61,7 +61,7 @@
|
|
|
|
try "" -O2 -O3
|
|
try "" -march={i386,i486,i586,i686,pentium{-mmx,2,3,4}} \
|
|
- -march={k6,k6-2,k6-3,athlon,athlon-{tbird,4,xp,mp}}
|
|
+ -march={k6,k6-2,k6-3,athlon,athlon-{tbird,4,xp,mp},k8}
|
|
try "" -fforce-addr
|
|
try "" -fomit-frame-pointer
|
|
try "" -finline-functions
|
|
diff -ruN ccbench-0.2/test_bubble.c ccbench-0.2.1/test_bubble.c
|
|
--- ccbench-0.2/test_bubble.c 2006-10-08 00:56:54.000000000 +0200
|
|
+++ ccbench-0.2.1/test_bubble.c 2006-10-08 00:02:37.000000000 +0200
|
|
@@ -8,7 +8,7 @@
|
|
* is often found in application programs.
|
|
*/
|
|
|
|
-void bubblesort(unsigned char * data)
|
|
+void bubblesort(char * data)
|
|
{
|
|
int finished=0;
|
|
int counter,buf;
|
|
@@ -26,7 +26,7 @@
|
|
|
|
void test_bubblesort()
|
|
{
|
|
- unsigned char buf[400];
|
|
+ char buf[400];
|
|
int c, c2;
|
|
|
|
timer_start(CONTEXT_LOCAL);
|
|
diff -ruN ccbench-0.2/test_builtin.c ccbench-0.2.1/test_builtin.c
|
|
--- ccbench-0.2/test_builtin.c 2006-10-08 00:56:54.000000000 +0200
|
|
+++ ccbench-0.2.1/test_builtin.c 2006-10-08 00:06:29.000000000 +0200
|
|
@@ -1,3 +1,5 @@
|
|
+#include <strings.h>
|
|
+
|
|
#include "bench.h"
|
|
|
|
int test_builtin_ffs(int rc)
|