Permalink
Browse files

makefile tweaks & native benchmark

  • Loading branch information...
1 parent 1d04332 commit c9b02b5a646cde061e1c1391f2e9e22b25d2a751 @jlongster committed Mar 22, 2013
Showing with 6 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 Makefile
  3. BIN test/asm/bench
  4. +3 −1 test/asm/bench.c
View
@@ -2,4 +2,5 @@
.#*
build
.DS_Store
-.asm.output
+.asm.output
+a.out
View
@@ -13,7 +13,7 @@ js_files = memory.js memcheck.js test-memcheck.js \
access-nbody.js access-nbody-memcheck.js \
linked-list.js linked-list-memcheck.js
-asmtestfiles = $(addprefix test/asm/, primitives.js functions.js types.js pointers.js types2.js)
+asmtestfiles = $(addprefix test/asm/, primitives.js functions.js types.js pointers.js)
mainfiles = $(addprefix $(srcdir)/, memory.js memcheck.js)
nodefiles := $(addprefix $(build_node)/, $(js_files))
View
Binary file not shown.
View
@@ -15,5 +15,7 @@ int main() {
}
}
- printf("%d", s);
+ // Needed so that gcc doesn't remove the code as dead
+ printf("%d", f);
+ return 0;
}

0 comments on commit c9b02b5

Please sign in to comment.