Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup jit #49

Merged
merged 3 commits into from
Aug 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions benchmarks/single-core/fib_large.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* Long Fibonacci loop -- the result overflows, but this is just enough to
* trigger the JIT.
*/
#include <stdlib.h>
#include <stdio.h>
int main() {
unsigned long a = 1, b = 1, i = 0, temp = 0;
for(i = 0; i < 10000; i++) {
temp = a;
a = b;
b += temp;
}
printf("%lu\n", a);
return 0;
}
Binary file added benchmarks/single-core/fib_large.elf
Binary file not shown.
Loading