Commit Graph

  • 420850adf0 Record information about sections of emitted code+data. Lars T Hansen 2019-05-21 15:53:46 +02:00
  • 825f1d764a Fix a compiler warning. Dan Gohman 2019-05-30 14:25:20 -07:00
  • 70f79d23bf [meta] Make Builders build() instead of finish(); Benjamin Bouvier 2019-05-28 15:01:14 +02:00
  • d9277f249b [meta] Introduce the InstructionGroupBuilder; Benjamin Bouvier 2019-04-30 18:33:01 +02:00
  • feb90e376a [meta] Make Instruction name/doc Strings so they can be automatically generated; Benjamin Bouvier 2019-04-30 18:14:40 +02:00
  • 22a6823496 [meta] Rename cdsl/inst to cdsl/instructions; Benjamin Bouvier 2019-04-30 18:11:45 +02:00
  • 6059936113 remove rex-prefixed recipes for e9 and eb jumps iximeow 2019-05-17 12:28:46 -07:00
  • f427a2b923 Fix url in comments Takanori Ishibashi 2019-05-28 20:03:10 +09:00
  • b5f4949597 Avoid using C features which depends on _Generic. Dan Gohman 2019-05-27 10:13:33 -07:00
  • 1882fc41bb Build sandboxed-system-primitives with -std=gnu99. Dan Gohman 2019-05-27 09:14:29 -07:00
  • f486d61629 Make use of static_assert conditional on whether it's available. Dan Gohman 2019-05-27 09:07:04 -07:00
  • 03368895fe Cranelift: Redundant stack-slot-to-stack-slot copy removal. PR#773. Julian Seward 2019-05-27 11:55:23 +02:00
  • 176538b860 Support GCC and clang versions that lack <stdatomic.h>. Dan Gohman 2019-05-26 15:14:41 -07:00
  • 0143ed548d Update README Jakub Konka 2019-05-20 23:36:33 +02:00
  • b1764e18eb Add appveyor for automated Win testing Jakub Konka 2019-05-20 19:11:42 +02:00
  • 9ae766db2f Add convenience batch script for Win Jakub Konka 2019-05-20 14:02:35 +02:00
  • c3ff3cf075 Add template for Windows impl Jakub Konka 2019-05-20 11:04:51 +02:00
  • 7605584691 Move *nix specific implementation to separate module Jakub Konka 2019-05-19 14:52:41 +02:00
  • dc3a4d7f4a Fix register cycles, fix a minor issue in pushing Jef 2019-05-24 13:21:47 +02:00
  • 6935033c9e [meta] Have bind() be a method of {Bound,}Instruction instead of a static method; Benjamin Bouvier 2019-05-23 12:01:25 +02:00
  • 724d1cd2a1 [meta] Rename ApplyTarget to InstSpec; Benjamin Bouvier 2019-05-23 11:53:06 +02:00
  • a46b2d7173 [meta] Move ApplyTarget/bind to cdsl/inst; Benjamin Bouvier 2019-05-23 11:51:19 +02:00
  • 60807c5e54 Update README.md Van der Auwermeulen Grégoire 2019-05-22 13:24:59 +02:00
  • 8578a1b07f Merge pull request #23 from afinch7/ctz_clz_fix Jef 2019-05-22 18:54:31 +02:00
  • 9b6abc1497 fmt afinch7 2019-05-22 09:47:04 -04:00
  • cbbb7a220e [meta] Move x86 registers generation to their own file; Benjamin Bouvier 2019-05-21 14:11:48 +02:00
  • 92109f664c [meta] Move x86 settings generation to their own file; Benjamin Bouvier 2019-05-21 14:09:58 +02:00
  • 48b7f8e443 detect lzcnt/tzcnt support and use if available afinch7 2019-05-21 10:50:40 -04:00
  • 658b5aabcc Update WASI-tutorial.md Van der Auwermeulen Grégoire 2019-05-21 13:12:29 +02:00
  • 72b5487563 Add x86 encoding for rotr_imm and rotl_imm. Nicolas B. Pierron 2019-05-17 18:34:52 +02:00
  • 97ebaa6f37 Add Rust implementation and address review comments of #742; Benjamin Bouvier 2019-05-17 17:16:52 +02:00
  • 71a345e813 Legalize fcvt_from_u/sint.f32/f64.i8/i16 bjorn3 2018-09-30 16:18:23 +02:00
  • 3372e47e5a Fix fd_fdstat_set_rights to set the rights. Dan Gohman 2019-05-19 08:36:57 -07:00
  • c5bda1f4e1 Fix symlink resolution on Linux and FreeBSD. Dan Gohman 2019-05-17 16:48:50 -07:00
  • 9823bf6196 Change path_open to not create files with execute privleges. Dan Gohman 2019-05-17 15:56:17 -07:00
  • 32da43f600 Handle set-size rights correctly when truncating a file. Dan Gohman 2019-05-17 15:45:31 -07:00
  • d20d787bb7 Don't grant __WASI_RIGHT_FD_FILESTAT_SET_SIZE for directories. Dan Gohman 2019-05-17 14:23:01 -07:00
  • 6b2eee21b9 Update the description of Cargo.toml. Dan Gohman 2019-05-18 21:01:14 -07:00
  • eb2b51353e Rename the top-level crate from wasmtime-tools to wasmtime. Dan Gohman 2019-05-17 12:45:00 -07:00
  • f95af95d87 Update README Jakub Konka 2019-05-17 23:37:15 +02:00
  • 14ba585edf Reorganise hostcalls into submodules Jakub Konka 2019-05-17 23:29:19 +02:00
  • b9871648b2 Import all changes from lucet-wasi Jakub Konka 2019-05-17 22:41:40 +02:00
  • 106c8c4cb6 Remove the polyfill from the master branch. Dan Gohman 2019-05-18 15:40:30 -07:00
  • 1320b111eb fix guest iovs pointer mapping Will Scott 2019-05-17 16:51:34 -07:00
  • 91ec44acbf Add extensive test cases for integer division-by-constant magic number generation. Julian Seward 2019-05-02 10:53:19 +02:00
  • bbdaf7b686 Re-enable cargo cache in travis ci Jakub Konka 2019-05-16 11:30:38 +02:00
  • 5ff4f57f97 Disable cargo cache in travis ci temporarily Jakub Konka 2019-05-15 22:41:03 +02:00
  • 5aa598520c Rename C prefix from __wasi to wasi_common_ Jakub Konka 2019-05-15 20:45:00 +02:00
  • 52eda1498a Correctly unpack &mut [T] into *mut T and usize Jakub Konka 2019-05-14 16:52:01 +02:00
  • 006198eb92 Generate C bindings for all hostcalls Jakub Konka 2019-05-14 14:33:46 +02:00
  • 9ad16cc702 Add sanity tests Jakub Konka 2019-05-14 13:27:46 +02:00
  • 7f3c325cdf Dereference pointers and call the hostcall fn Jakub Konka 2019-05-14 11:55:50 +02:00
  • 4a5910b4a3 Capture correct return type Jakub Konka 2019-05-14 11:37:23 +02:00
  • 7791166859 Generate C fn name prefixed with __wasi_ Jakub Konka 2019-05-14 10:58:49 +02:00
  • e552b19dfe Add placeholder for cbindgen proc_macro_attribute Jakub Konka 2019-05-14 07:57:04 +02:00
  • 67edb00f29 Use getrandom rather than getentropy on Linux for random_get. Dan Gohman 2019-05-15 11:06:08 -07:00
  • 2563dc53a1 fixed registry leak and literal casts afinch7 2019-05-15 08:20:23 -04:00
  • 6e9cff13a2 revert .gitignore changes afinch7 2019-05-15 08:01:43 -04:00
  • c27b0a0c3e Add note about needing to call func.dfg.collect_debug_info for set_val_label to have any effect bjorn3 2019-05-14 19:25:53 +02:00
  • edd2bf12fd Export ValueLocRange and DisplayFunctionAnnotations::default() bjorn3 2019-05-14 15:54:04 +02:00
  • eb1cf8b0a1 Make users of dec_slice_of safe. Dan Gohman 2019-05-13 15:47:38 -07:00
  • 6740704b74 Expose Module reference from InstanceHandle Yury Delendik 2019-05-14 16:00:35 -05:00
  • a5fa03abb2 fix for ctz and clz afinch7 2019-05-14 16:14:00 -04:00
  • a0ddbf403c [wasm] Have the WasmError::User member be a String; Benjamin Bouvier 2019-05-03 15:38:28 +02:00
  • 8a68375f89 Move TODO about proc_exit from wasmtime Jakub Konka 2019-05-14 07:26:33 +02:00
  • 2b5be77fa5 "wasm32-unknown-wasi" is now "wasm32-wasi". Dan Gohman 2019-05-13 21:39:39 -07:00
  • 8b09f321ac Make memory fns safe wherever possible Jakub Konka 2019-05-12 18:13:43 +02:00
  • 251504e8a7 Merge pull request #11 from CraneStation/docs Dan Gohman 2019-05-13 13:28:40 -07:00
  • 680473c50c Fix param names Jef 2019-05-13 15:22:58 +02:00
  • 1c0efd03b3 Add example of compiling wat and running with wasmtime Alan Foster 2019-05-11 20:52:36 +01:00
  • 66559e5702 Cleanup docs; specify minimum Rust version Jakub Konka 2019-05-12 11:49:09 +02:00
  • a200b2133e Merge pull request #10 from CraneStation/api Dan Gohman 2019-05-11 08:31:59 -07:00
  • 75ad92b0f3 Insulate API from intricacies of memory mgmt of calling runtimes Jakub Konka 2019-05-11 10:44:54 +02:00
  • ca8c8b3370 js-polyfill: support Safari, which doesn't have instantiateStreaming Zhuowei Zhang 2019-05-06 18:08:33 -07:00
  • 751a1a1f7b Add experimental struct with views memory and ctxs Jakub Konka 2019-05-10 20:13:50 +02:00
  • 328b8f3d91 Merge pull request #8 from afinch7/gitignore Jakub Konka 2019-05-10 07:39:15 +02:00
  • 6b3b3d818b Merge branch 'master' into gitignore Jakub Konka 2019-05-10 07:34:59 +02:00
  • 1a478e8eff remove rustfmt file from .gitignore andy finch 2019-05-09 18:59:58 -04:00
  • 3001a8b078 updated .gitignore to be compatible with cargo defaults andy finch 2019-05-09 14:24:27 -04:00
  • 15ad680e58 Merge pull request #9 from CraneStation/code-conduct Dan Gohman 2019-05-09 10:15:10 -07:00
  • 696525cf58 Add contributing guide and code of conduct Jakub Konka 2019-05-09 19:02:32 +02:00
  • 2c681f3130 add .gitignore afinch7 2019-05-09 12:35:39 -04:00
  • 8f95c51730 Reconstruct locations of the original source variable Yury Delendik 2019-03-06 11:20:26 -06:00
  • 574b885656 Merge pull request #7 from CraneStation/missing-hostcalls Dan Gohman 2019-05-09 00:34:02 -07:00
  • 8090f8791f Add stubs for unimplemented hostcalls Jakub Konka 2019-05-08 08:04:16 +02:00
  • c6db9f3dff Merge pull request #6 from kubkon/dev-ops Dan Gohman 2019-05-07 22:44:39 -07:00
  • 19a4f00752 Set up CI, add format and test scripts. Jakub Konka 2019-05-07 22:10:49 +02:00
  • b67514bd11 Merge pull request #20 from tiborvass/fix-brif-typo Jef 2019-05-08 07:29:36 +02:00
  • 072b2e8697 Update .rustfmt.toml Jakub Konka 2019-05-07 22:42:27 +02:00
  • 56824194b2 Merge pull request #5 from kubkon/comment Jakub Konka 2019-05-07 22:46:00 +02:00
  • 3e94af81df Add Rust impl of wasmtime_ssp_fd_prestat_dir_name Jakub Konka 2019-05-02 12:57:20 +02:00
  • 5e702fa001 Update a comment to refer to WASI. Dan Gohman 2019-05-06 16:26:40 -07:00
  • aaed8c409a Merge pull request #4 from kubkon/port-wasi-types Dan Gohman 2019-05-07 12:47:51 -07:00
  • 2587fa0145 Port WASI host types Jakub Konka 2019-05-07 09:11:00 +02:00
  • eb58f27bd5 Merge pull request #3 from kubkon/add-git-revision Dan Gohman 2019-05-07 12:40:12 -07:00
  • 8335484870 Update wasm32.rs to name the union fields. Dan Gohman 2019-05-06 15:25:27 -07:00
  • 7cb78efac4 Eliminate whitespace diffs with upstream LICENSE files. Dan Gohman 2019-05-06 14:58:17 -07:00
  • b784ae875e Add git revision to track against lucet-wasi Jakub Konka 2019-05-07 08:58:24 +02:00
  • 30583954eb Add better debugging tools Jef 2019-05-06 10:44:13 +02:00
  • ce6f9cb165 Changes to compile in lucet Jakub Konka 2019-05-06 08:55:47 +02:00