Merge commit 'origin/master'
authorSnafu <stuff@c-gabriel.at>
Sun, 9 May 2010 09:37:52 +0000 (11:37 +0200)
committerSnafu <stuff@c-gabriel.at>
Sun, 9 May 2010 09:37:52 +0000 (11:37 +0200)
codea/lewurm_11.0 [new file with mode: 0644]
codea/lewurm_11.call [new file with mode: 0644]
codea/lewurm_11.instr [new file with mode: 0644]
scripts/bench.sh

diff --git a/codea/lewurm_11.0 b/codea/lewurm_11.0
new file mode 100644 (file)
index 0000000..f92dba8
--- /dev/null
@@ -0,0 +1,5 @@
+struct a b c end;
+method w()
+       /* passt die addresse jedes mal? */
+       return 0x600b10.c;
+end;
diff --git a/codea/lewurm_11.call b/codea/lewurm_11.call
new file mode 100644 (file)
index 0000000..e3d8383
--- /dev/null
@@ -0,0 +1,4 @@
+long w(long);
+static long s[] = {5,1,1337};
+printf("addr of s: %0p\n", s);
+RET(w(0xcafebabe) == 1337);
diff --git a/codea/lewurm_11.instr b/codea/lewurm_11.instr
new file mode 100644 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2
index df8c100eedd42b0ad2eebd2019b164ffcba51b15..4973e7b2e9261da2faf64e0d912b0cffad48a83c 100755 (executable)
@@ -90,4 +90,4 @@ echo ""
 echo "Statistik:"
 echo "=========="
 echo "  $gni  Instruktionen"
-echo "  $gni  Referenzinstruktionen"
+echo "  $gti  Referenzinstruktionen"