Commit Graph

  • 04b7f0c0df Fix the description of the wasmtime program. Dan Gohman 2018-12-03 05:23:13 -08:00
  • 7faa15d7ac More infrastructure. Dan Gohman 2018-12-03 04:59:40 -08:00
  • 83f8a31010 Convert the wast test harness into a crate. Dan Gohman 2018-12-03 04:19:20 -08:00
  • 4c47ce9b53 Add support for math libcalls. Dan Gohman 2018-12-03 04:01:48 -08:00
  • bd69768e0d Improve infrastructure. Dan Gohman 2018-12-03 03:20:15 -08:00
  • fe1643733b Remove use of offset_of! from wasmtime-environ. Dan Gohman 2018-11-30 16:50:05 -08:00
  • 099f85f821 Rename main.rs to wasmtime.rs. Dan Gohman 2018-11-28 18:38:38 -08:00
  • e940c97664 Tidy. Dan Gohman 2018-11-30 15:35:34 -08:00
  • 8dbd4b8d7c Start a wast testing harness and add some tests. Dan Gohman 2018-11-29 13:40:39 -08:00
  • a6b54330c0 Switch Darwin to use PC-redirection for calling the Unwind function. Dan Gohman 2018-11-29 14:35:59 -08:00
  • 872f7a10f4 Use MAP_ANON instead of MAP_ANONYMOUS. Dan Gohman 2018-11-29 14:20:34 -08:00
  • d5ed424b33 Add tunables.rs. Dan Gohman 2018-11-29 13:44:30 -08:00
  • f44fe25f9c Rewrite linear memory handling in terms of simple mmap/VirtualAlloc. Dan Gohman 2018-11-29 10:11:11 -08:00
  • 1b98efd979 Add a README.md for lib/obj. Dan Gohman 2018-12-03 16:47:59 -08:00
  • 0c8348cfc7 Mention that being usable as a library is a goal. Dan Gohman 2018-12-03 16:39:38 -08:00
  • 4437bd1742 Add a CODE_OF_CONDUCT.nd and CONTRIBUTING.md. Dan Gohman 2018-12-03 16:38:34 -08:00
  • 0b039b0978 Mention the goal of prototyping syscalls for proposal to reference-sysroot. Dan Gohman 2018-12-01 12:49:23 -08:00
  • 3e19b13b0b Fix typo. Dan Gohman 2018-11-30 18:55:26 -08:00
  • 5af15ce9dd Update the README with project status and goals. Dan Gohman 2018-11-30 17:08:45 -08:00
  • 990e1386f5 Check for cargo fmt rather than checking for rustfmt directly. Dan Gohman 2018-11-26 03:50:50 -08:00
  • 02a3684a3f Update to bindgen 0.44. Dan Gohman 2018-11-30 09:24:33 -08:00
  • d94e027c2a [build] Move settings generation from Python to Rust code; Benjamin Bouvier 2018-11-21 15:38:12 +01:00
  • 4c8f1e7a5a [meta] Ignore empty lines to compute indent when parsing multiple lines; Benjamin Bouvier 2018-11-21 15:36:53 +01:00
  • 12df943409 [meta] Add support to generate Match expressions in Rust; Benjamin Bouvier 2018-11-21 15:36:22 +01:00
  • d15e56a9fa Add build warning only if CRANELIFT_VERBOSE is set to anything; Benjamin Bouvier 2018-11-20 15:40:39 +01:00
  • 4dec8ecfce Check for cargo fmt rather than checking for rustfmt directly. Dan Gohman 2018-11-26 03:52:39 -08:00
  • ec940ee8af Migrating to wabt::wat2wasm (#29) Frank Rehberger 2018-11-30 17:44:44 +01:00
  • 9947c315b7 Fix Python check script to work outside of Travis. Dan Gohman 2018-11-30 05:42:57 -08:00
  • ff25397c9e Fix the type of the heap bound variable. Dan Gohman 2018-11-29 19:28:35 -08:00
  • b3d831015c Add basic logging support to the wasmtime binary. Dan Gohman 2018-11-29 15:38:12 -08:00
  • 5eb43f027a Introduce TranslationContext Sergey Pepyakin 2018-11-29 22:28:10 +01:00
  • b7d43edfd3 Be more careful about integer overflow when computing relocs. Dan Gohman 2018-11-29 10:28:18 -08:00
  • f7dc961d2c Fix some clippy warnings. Dan Gohman 2018-11-29 10:27:49 -08:00
  • 52c0443368 Pass function sig in function_body::translate Sergey Pepyakin 2018-11-29 18:55:49 +01:00
  • 976a5a2e7e Add more trapping testcases. Dan Gohman 2018-11-29 06:24:02 -08:00
  • 5ae48b06e1 Fix the pthread_detach assert on Darwin. Dan Gohman 2018-11-29 06:22:39 -08:00
  • 416f8c094d Name Table and Memory's initial field minimum and make it u32. Dan Gohman 2018-11-29 05:48:24 -08:00
  • 38acc069fa Fix compilation errors on Darwin. Dan Gohman 2018-11-28 16:27:10 -08:00
  • adb76ba9f1 Avoid casting to/from greg_t, which doesn't work consistently across platforms. Dan Gohman 2018-11-28 13:53:19 -08:00
  • 5e05e9628d Enable OSX builds on Travis. Dan Gohman 2018-11-28 13:52:17 -08:00
  • 216c0ce14e Fix the scope of the ScopeGuard in call_wasm. Dan Gohman 2018-11-28 13:29:25 -08:00
  • 869ed1b5c5 Add badges for Appveyor CI and Gitter chat. Dan Gohman 2018-11-28 18:41:16 -08:00
  • 4ef1bac12b Add a basic appveyor config file. Dan Gohman 2018-11-28 17:18:59 -08:00
  • 862d859587 Add a LICENSE file to each crate. Dan Gohman 2018-11-28 18:42:16 -08:00
  • ba48fd2223 Add TODO comments noting temporary bug workarounds. Dan Gohman 2018-11-28 17:18:12 -08:00
  • 324c821adf Replace 'mypy --version' with adding '--verbose' to the pip3 install command-line. Dan Gohman 2018-11-28 16:46:42 -08:00
  • 06d269be63 Disable mypy on OSX on Travis. Dan Gohman 2018-11-28 16:25:01 -08:00
  • f8754c2cf8 Fix warnings when the "wasm" feature is disabled. Dan Gohman 2018-11-28 16:08:26 -08:00
  • 9f7a7fa389 Disable wabt and disassembler features on appveyor for now. Dan Gohman 2018-11-28 15:47:15 -08:00
  • eaca8d3f2e Enable OSX in Travis CI. Dan Gohman 2018-11-28 15:47:03 -08:00
  • 0e601ac4a5 Add an appveyor build badge. Dan Gohman 2018-11-28 15:46:31 -08:00
  • d8b2def52e Add preliminary appveyor support. Dan Gohman 2018-11-28 14:31:53 -08:00
  • ef21fffa1c Clarify Cranelift's design with respect to mid-level optimization. (#619) Dan Gohman 2018-11-28 08:54:40 -08:00
  • 7c03ba43be Document which instructions are meant for producers to use. Dan Gohman 2018-11-28 06:04:31 -08:00
  • 13c36612b5 increment → reserve. Sergey Pepyakin 2018-11-28 13:53:10 +01:00
  • aa5643b9b5 Implement if then else Sergey Pepyakin 2018-11-19 23:05:09 +01:00
  • ba216b2e8a Add a simple i32.eq operator. Sergey Pepyakin 2018-11-19 21:56:19 +01:00
  • b42696f207 Add a simple boilerplate. Sergey Pepyakin 2018-11-19 21:37:12 +01:00
  • 4ac41213ad Add test_environ_translate Frank Rehberger 2018-11-27 14:11:04 +01:00
  • 2a760ae5e8 Add tests that trap, and fix handling of SIGFPE on x86. Dan Gohman 2018-11-27 06:29:07 -08:00
  • 35627cf37f Implement wasm trap handlers. (#27) Dan Gohman 2018-11-27 06:05:58 -08:00
  • 8e1e75f1f4 Fix rustfmt diffs. Dan Gohman 2018-11-27 05:41:19 -08:00
  • bf5a06bc95 separate the context intialization from the function execution (#21) Geoffroy Couprie 2018-11-27 14:33:56 +01:00
  • f028c53479 Fix incorrect wasm subcommand 'about' text. Zach Reizner 2018-11-25 17:42:10 -08:00
  • 95fba6a9de Update to Cranelift 0.25. Dan Gohman 2018-11-26 22:50:07 -08:00
  • 30654a6a7d Bump version to 0.25.0 Dan Gohman 2018-11-26 22:31:07 -08:00
  • 09e5b33916 Update to wasmparser 0.22. Dan Gohman 2018-11-26 22:08:15 -08:00
  • f0695a79d1 Add an autoinst line for fallthrough_return so that it's included in the docs. Dan Gohman 2018-11-26 04:43:42 -08:00
  • f6a6ce3199 Make ModuleEnvironment's target_config() return by value. Dan Gohman 2018-11-19 07:05:05 -06:00
  • 367f3cd5d3 Implement reserve and reserve_exact for PrimaryMap. Dan Gohman 2018-11-19 07:04:38 -06:00
  • c17579e7ec Bump version to 0.24.0 Dan Gohman 2018-11-16 07:03:44 -08:00
  • 54c388d870 Make the verifier output even prettier (#599) Dan Gohman 2018-11-26 22:18:18 -08:00
  • 0e19f39831 Temporarily disable the fuzz check in test-all.sh Dan Gohman 2018-11-26 05:04:05 -08:00
  • e8201d0f93 Begin work on no_std support. Dan Gohman 2018-11-26 04:40:45 -08:00
  • 82c8ef95c4 Update for Cranelift API changes. Dan Gohman 2018-11-26 04:11:09 -08:00
  • f823526a42 Update to wasmparser 0.22. Dan Gohman 2018-11-26 04:10:50 -08:00
  • df2b610304 Add a Rust version badge. Dan Gohman 2018-11-20 22:41:28 -06:00
  • 737fde04a8 Improved imports (#612) Syrus Akbary 2018-11-25 05:10:58 -08:00
  • 74ccddcd64 Update to Cranelift 0.24. Dan Gohman 2018-11-16 11:37:39 -08:00
  • 0a0108f959 Update to Cranelift 0.22. Dan Gohman 2018-11-16 10:49:37 -08:00
  • b11646aba3 Fix bit count bug in emit_small_{memcpy, memset, memmove}. Aaron Power 2018-11-09 12:32:29 +00:00
  • 48186b3199 Make TargetIsa thread-safe Syrus Akbary 2018-11-18 23:47:58 -08:00
  • 9e56ed5aad Bump the minimum Rust version to 1.30.1, following Cranelift's policy. Dan Gohman 2018-11-16 12:10:52 -08:00
  • 7fca0792dd add a way to provide imported functions during relocation Geoffroy Couprie 2018-11-15 16:41:10 +01:00
  • 0fed78e063 Don't allow loop preheaders to have critical edges. Dan Gohman 2018-11-12 05:17:54 -08:00
  • 641771ac6a Add encodings to the instructions in LICM's generated preheaders. Dan Gohman 2018-11-12 05:13:43 -08:00
  • c7bc1b7c56 Fix fuzz_reader_parse_test Dan Robertson 2018-11-15 00:56:59 +00:00
  • 86cc33673b Add binary tests for codegen of loads/stores involving r12/r13 on x86; Benjamin Bouvier 2018-11-14 13:40:22 +01:00
  • b41bc55007 Pretty-print errors for extended basic blocks too; Benjamin Bouvier 2018-11-14 13:04:37 +01:00
  • d45e8b5830 Add SIB/offset for ABCD stores too; Benjamin Bouvier 2018-11-14 11:49:34 +01:00
  • b170b74b65 Fixes #600: Add a SIB byte when encoding a non-indexed load/store into r12/rsp; Benjamin Bouvier 2018-11-13 19:04:13 +01:00
  • f6617afcdd Remove the build time and directory from cranelift-codegen-meta's output. Dan Gohman 2018-11-13 16:29:08 -08:00
  • 155fd4c72a Eliminate call stack recursion in VirtRegs::find (#584) oooooba 2018-11-15 05:58:50 +09:00
  • 5baeed06bb Better incompatible declaration error (#605) bjorn3 2018-11-14 19:41:56 +01:00
  • 039188a4bf Move Vim integration files into their own repo. Dan Gohman 2018-11-13 16:08:13 -08:00
  • c2f5bc00a5 Fix typos in comments. Dan Gohman 2018-11-12 15:15:02 -08:00
  • cd7c57e598 Make spilling visit fallthrough_return instructions too. Dan Gohman 2018-11-06 11:14:14 -08:00
  • ef2e11265c Update to Rust 1.30. Dan Gohman 2018-11-12 07:13:53 -08:00
  • f3ea2d5d66 Tidy up documentation comment syntax. Dan Gohman 2018-11-12 06:35:23 -08:00
  • 076850549d Clarify an assertion error message. Dan Gohman 2018-11-12 06:35:44 -08:00