projects
/
testub10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scripts: benchmarkskript so modifiziert, dass libc-calls keine probleme machen
[testub10.git]
/
codea
/
snafu_04.call
diff --git
a/codea/snafu_04.call
b/codea/snafu_04.call
index 84cf59db6d8e4b34cae6e931026ac9407c854d1b..7a9fd9aac14cf75f0b19a2834ce9c0f4d8d19ecf 100644
(file)
--- a/
codea/snafu_04.call
+++ b/
codea/snafu_04.call
@@
-1,14
+1,7
@@
-long foobar(long);
-long foobar2(long);
-long foobar3(long);
+long pvs1(long, long, long);
+long pvs2(long, long, long);
+long pvs3(long, long, long);
+long pvs4(long, long, long);
-long tmp[] = {1111, 2222, 3333};
-/*
-asm( "\tpush %%rax\n"
- "\tmovq $42, %%rax\n"
- "\tmovq %%rax, 218\n"
- "\tpop %%rax\n" :: );
-*/
-RET((foobar((long) tmp) == tmp[2])
- && (foobar2((long) tmp) == tmp[1]));
- //&& (foobar3(0xDEAD) == 42));
+
+RET((pvs1(2,3,5) == -5) && (pvs2(2,3,5) == -13) && (pvs3(2,3,5) == 1) && (pvs4(2,3,5) == -4));