Commit Graph

3480 Commits

Author SHA1 Message Date
Brandon Fish
b80252e165 Setup the spectests lib to use llvm-backend 2019-02-28 23:02:03 -06:00
David Calavera
ea3d5b04d4
Remove debug option from run command.
I was looking into the code and I noticed that this option is not used.
The `debug!` macro is used across the codebase, which looks more ideal.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2019-02-28 19:16:22 -08:00
Lachlan Sneff
51c9091fc5 Start work on generating trampolines 2019-02-28 18:26:47 -08:00
Lachlan Sneff
6a20676fa9 Actually unmap the code after it's done being used 2019-02-28 17:20:18 -08:00
Lachlan Sneff
359ac5abec Connect part of the llvm backend to the runtime 2019-02-28 13:18:00 -08:00
Lachlan Sneff
d4ae5cdd40 Get function addresses from llvm-compiled code 2019-02-28 12:31:39 -08:00
losfair
e026adf33e Initial work on linear memory. 2019-02-28 23:58:02 +08:00
losfair
64142c4cb8 Reserve R15. 2019-02-28 23:22:21 +08:00
losfair
adb309fbd8 Add select test. 2019-02-28 23:12:50 +08:00
losfair
b7ca5e46ed Add Select opcode. 2019-02-28 23:12:42 +08:00
Brandon Fish
358d653b18
Merge branch 'master' into feature/add-c-api-module-export-descriptors 2019-02-27 23:21:23 -06:00
Brandon Fish
889fc3f432
Merge branch 'master' into feature/add-c-api-module-import-descriptors 2019-02-27 23:21:01 -06:00
Brandon Fish
02eac589f4 Merge branch 'master' into feature/c-api-call-an-exported-func 2019-02-27 23:19:50 -06:00
Lachlan Sneff
5d77769381 Hopefully finish the memory manager implementation for llvm RuntimeDyLd 2019-02-27 17:21:20 -08:00
Syrus
60f8f15db3 Updated version to 0.2.1 2019-02-27 17:20:49 -08:00
Mackenzie Clark
95062d524a
commit virtual memory before copying (#212) 2019-02-27 14:20:53 -08:00
Mackenzie Clark
ff5e1320da
Fix casting errors cause io issues (#222) 2019-02-27 13:54:28 -08:00
Mackenzie Clark
2a7a8c0069
newline in test-module-imports.c 2019-02-27 10:41:22 -08:00
Mackenzie Clark
c4566f0b39
Merge branch 'master' into feature/add-c-api-module-export-descriptors 2019-02-27 10:28:18 -08:00
losfair
ec9a8f0ebd Add test for if/else. 2019-02-27 23:41:04 +08:00
losfair
d50f1cc95f If/Else. 2019-02-27 23:38:45 +08:00
Syrus Akbary
c7f3666354
Merge pull request #220 from wasmerio/feature/better-debug
Added debug build
2019-02-26 15:42:29 -08:00
Syrus
f7197bf456 Added debug build 2019-02-26 15:39:54 -08:00
Ryan Jacobs
d5aed44671
bugfix: Replace echo with printf so "\n" renders.
notes:
  I could have used the -e flag in echo, however other lines
  nearby use printf so I figured it would be smart to stay consistent.

  Also, I see the usage of `command printf`. Not 100% if this is
  necessary. I don't see why printf would be redefined in the shell.
  If we're doing this, then we might as well prefix every call
  to a builtin or binary with `command` _just to be safe_.
2019-02-26 13:19:57 -08:00
Syrus Akbary
e5dc0b1bb5
Merge pull request #214 from wasmerio/fix/better-hashing
Improved hashing algorithm
2019-02-26 10:39:39 -08:00
Syrus Akbary
f2886db776
Merge pull request #215 from markandrus/add-nginx-license
Add nginx LICENSE
2019-02-26 07:34:29 -08:00
losfair
3c3c5db2e1 Native trampolines. 2019-02-26 20:56:10 +08:00
Mark Roberts
204d7a8d17
Add nginx LICENSE 2019-02-26 20:17:48 +08:00
Syrus
e6d0f91832 Use blake2b SIMD version for increased performance 2019-02-26 01:12:34 -08:00
Lachlan Sneff
d55387d581 fix build.rs formatting 2019-02-25 18:09:02 -08:00
Lachlan Sneff
4f833876e0 Start work on object loader using llvm's RuntimeDyld api. 2019-02-25 18:08:06 -08:00
Lachlan Sneff
44b8d0b1ee Start work on object loader using llvm's RuntimeDyld api. 2019-02-25 18:07:22 -08:00
Syrus
2d49d58665 Use blake2b (simd) version instead of blake2 2019-02-25 17:43:25 -08:00
Syrus
e7d08712b5 Use blake2 hashing algorithm 2019-02-25 17:37:33 -08:00
Syrus Akbary
ad690fd213
Merge pull request #213 from wasmerio/fix/install-iscc-on-appveyor
install inno setup in appveyor
2019-02-25 15:24:09 -08:00
Mackenzie Clark
2b1aedfbc4 install inno setup in appveyor 2019-02-25 14:48:39 -08:00
Syrus
53c8603464 Updated crates version to 0.2.0 2019-02-25 13:33:33 -08:00
Syrus Akbary
09fe82862e
Merge pull request #211 from wasmerio/fix/error-display
Fix/error display
2019-02-25 12:35:16 -08:00
Syrus Akbary
ca22b8a2b1
Merge pull request #202 from wasmerio/feature/emscripten-getcwd
add getcwd syscall and create a test
2019-02-25 12:33:37 -08:00
Syrus Akbary
921f1d7671
Merge pull request #210 from wasmerio/fix/disable-caching-for-windows
no caching on windows
2019-02-25 12:33:09 -08:00
Syrus
f9c0e0c078 Fix formatting 2019-02-25 12:25:28 -08:00
Mackenzie Clark
3cfdaf3891
Merge branch 'master' into feature/emscripten-getcwd 2019-02-25 12:18:30 -08:00
Mackenzie Clark
feeed0050d
Merge branch 'master' into fix/disable-caching-for-windows 2019-02-25 12:06:51 -08:00
Mackenzie Clark
deac24c0bd fix windows installer 2019-02-25 12:06:23 -08:00
Syrus Akbary
c5c967da00 Added parallel compilation (#209) 2019-02-25 12:03:48 -08:00
Mackenzie Clark
9aa6380460 lol 2019-02-25 11:53:15 -08:00
Mackenzie Clark
2f51694815 no caching on windows 2019-02-25 11:47:03 -08:00
losfair
9d8c5a5c70 Add a note on incorrect code generation. 2019-02-25 23:57:12 +08:00
losfair
530294922a Allow more registers to be used. 2019-02-25 23:55:27 +08:00
losfair
b18595f2dc Pass command-line arguments to wasm as i32. 2019-02-25 23:39:12 +08:00