Commit Graph

  • e5852ea7ba Update README Jef 2019-03-07 14:04:03 +01:00
  • 3f3de16bc4 Update README Jef 2019-03-07 13:59:50 +01:00
  • 45ccc591cd Fix br_if and br_table Jef 2019-03-07 13:21:04 +01:00
  • 7b9761f4a2 Update cranelift dependencies to 0.29.0 (#59) Yury Delendik 2019-03-06 20:55:24 -06:00
  • ddbc00752e Generate debug info for LLDB/GDB (#50) Yury Delendik 2019-03-06 18:03:32 -06:00
  • a4e878da75 Add more store instructions Jef 2019-03-06 14:03:40 +01:00
  • 34aba7fe66 Bump version to 0.29.0 Dan Gohman 2019-03-05 06:36:34 -08:00
  • b4608c02c7 Fixed test bjorn3 2019-03-05 08:20:21 +01:00
  • 395de457c0 Add more tests for emit_small_memset and emit_small_memcpy. (#1) Dan Gohman 2019-03-04 23:18:28 -08:00
  • 2d2b041766 Fix emit_small_memset bjorn3 2019-03-02 20:19:11 +01:00
  • a06d257253 Add a command to push a tag to the repository Benjamin Bouvier 2019-02-25 19:03:37 +01:00
  • ec521088b7 Fixes #695: Reintroduce a workspace declaration to run all tests with cargo; Benjamin Bouvier 2019-03-05 15:07:21 +01:00
  • 27b0933a4a Preserve global wasm module offset in SourceLoc. Yury Delendik 2019-01-22 16:48:31 -06:00
  • 2a519092a0 Use single index for param register allocation for windows callconv (… (#693) Steffen Butzer 2019-03-05 12:17:41 +01:00
  • 6eb09d9edd Parallelize the compilation loop with Rayon (#58) Max McDonnell 2019-03-04 20:27:57 -05:00
  • e99417fb1c Update readme Jef 2019-03-04 14:29:34 +01:00
  • 04d4b20df4 Fix clippy.toml paths and a few clippy lints. Dan Gohman 2019-03-01 15:45:11 -08:00
  • 2f2626f4b3 Remove the empty [workspace] declaration. Dan Gohman 2019-03-01 15:17:31 -08:00
  • e2f79ae405 Do more Vec reserving. Dan Gohman 2019-02-22 17:10:23 -08:00
  • 538ef20f50 Use with_capacity to minimize reallocation. Dan Gohman 2019-02-22 16:02:19 -08:00
  • cd21efd88a Tidy up an unnecessary lambda. Dan Gohman 2019-02-22 15:22:24 -08:00
  • e5f7da2e22 Tidy up redundant conversions. Dan Gohman 2019-02-22 15:22:11 -08:00
  • 74d0e41762 Merge pull request #18 from Vurich/microwasm Jef 2019-03-01 08:23:21 +00:00
  • 0cfc917c97 Fix some ugliness Jef 2019-03-01 08:15:42 +01:00
  • 71662af0fa Integer division Jef 2019-02-28 18:09:22 +01:00
  • 677d54e46d Experimental br_table support Jef 2019-02-27 17:59:27 +01:00
  • 15bf933be7 Add more float operations Jef 2019-02-27 11:29:23 +01:00
  • fb7c1b7795 Self struct constructors are unstable. Dan Gohman 2019-02-26 08:47:15 -08:00
  • 3827bc7a04 Avoid struct name repetitions. Dan Gohman 2019-02-22 15:21:20 -08:00
  • 601057ec42 Tidy up a redundant field name. Dan Gohman 2019-02-22 15:17:38 -08:00
  • d7dc36e752 Reorder the fields of Export::Function for consistency. Dan Gohman 2019-02-22 14:42:18 -08:00
  • cadead6a86 Use code quotes around VMContext in comments. Dan Gohman 2019-02-22 14:39:04 -08:00
  • 3cc113482d Rename InstanceContents to Instance. Dan Gohman 2019-02-22 14:29:11 -08:00
  • 5f201f6d73 Rename Instance to InstanceHandle. Dan Gohman 2019-02-22 14:11:02 -08:00
  • 21abecb158 Remove an unneeded mut. Dan Gohman 2019-02-22 14:09:33 -08:00
  • 077ee717a8 Make Instance a refcounting handle around InstanceContents. Dan Gohman 2019-02-22 11:48:17 -08:00
  • a8cd5ef613 Refactor Instance's methods to just be wrappers around InstanceContents methods. Dan Gohman 2019-02-22 10:51:48 -08:00
  • 1ab9e17517 Move Instance's module field into InstanceContents. Dan Gohman 2019-02-22 10:43:38 -08:00
  • d2894f9f45 cranelift-faerie: convert to use new extensible decl format Pat Hickey 2019-02-21 15:48:03 -08:00
  • 6267e1ded9 Implement sshr_imm.i8 (#687) bjorn3 2019-02-25 19:04:32 +01:00
  • 166c11af11 Fix global value colocated printing bjorn3 2019-02-23 11:13:24 +01:00
  • f726a8f36d Add float operations Jef 2019-02-25 15:35:45 +01:00
  • ab6b8e983a Add floats Jef 2019-02-25 11:17:21 +01:00
  • 83edf959f2 Fix link to issues in rustc.md kryptan 2019-02-24 12:31:32 +03:00
  • 851f125eda Fix bitrev intrinsic robojumper 2019-02-22 22:45:32 +01:00
  • c91ca1b10c Reorganize ModuleEnvironment's contents to more closely reflect cranelift-wasm. Dan Gohman 2019-01-23 00:19:06 -08:00
  • 78f89f67a3 Update to Cranelift 0.28.0. Dan Gohman 2019-01-23 00:08:45 -08:00
  • 2ac0ceda14 Update to faerie 0.7.1. Dan Gohman 2019-02-21 20:28:15 -08:00
  • c7d0eb22d1 Update to wasmparser 0.29.2 and the latest spec_testsuite. Dan Gohman 2019-02-21 20:24:20 -08:00
  • 603d80615f [meta] Introduce the fmtln! macro to ease writing formatted strings; Benjamin Bouvier 2019-02-13 17:27:33 +01:00
  • c8e09cb37f [meta] Use AsRef<str> to allow passing String or &str to Formatter functions; Benjamin Bouvier 2019-02-08 18:28:58 +01:00
  • 90028a6d0d impl Ieee64::from(f64) and Ieee32::from(f32) YISH 2019-02-20 03:44:39 +08:00
  • 830644e7d0 Remove printlns, make pushing stack arguments work properly Jef 2019-02-19 15:44:04 +01:00
  • f1d9ccb9e8 Implement Microwasm Jef 2019-02-13 18:21:28 +01:00
  • 615499bae8 Remove define_function_peek_compiled bjorn3 2019-01-18 17:26:28 +01:00
  • a45b814de8 Fixes #13: Enable conditional compilation of ISAs through features; Benjamin Bouvier 2019-02-11 15:01:10 +01:00
  • 049f067168 [meta] Build registers with their own builder and immutably construct the TargetIsa; Benjamin Bouvier 2019-02-11 12:34:44 +01:00
  • f78a61b998 [meta] Rename base/ to shared/ in the Rust meta crate; Benjamin Bouvier 2019-02-11 11:24:53 +01:00
  • 25fdda6134 [meta] Move source generation responsibility into the meta crate itself; Benjamin Bouvier 2019-02-08 19:34:55 +01:00
  • afa4a749c5 Fix #666: Change the way we consider a block has been visited in relaxation; Benjamin Bouvier 2019-02-05 21:27:17 +01:00
  • 680a8ed585 Add select Jef 2019-02-08 13:24:59 +01:00
  • 7788e6cb6b Change wasmparser.rs upstream Jef 2019-02-08 11:53:31 +01:00
  • 7e5c3c567f Signature checking for call_indirect, integrate with wasmtime Jef 2019-02-08 11:46:25 +01:00
  • 68479e6115 Clarify br_table Rett Berg 2019-02-06 22:05:06 -08:00
  • 9f9c306091 Fix indentation warnings reported by flake8. Dan Gohman 2019-02-26 15:59:00 -08:00
  • d2082abb73 Look for Cargo.toml files only in crate directories. Dan Gohman 2019-01-31 15:33:51 -08:00
  • 084722a118 fix typos in cranelift-frontend/src/lib.rs Rett Berg 2019-02-06 16:20:42 -08:00
  • a94d3587e6 Add vmctx parameters to the spectest implementation functions. Dan Gohman 2019-02-06 06:12:53 -08:00
  • 602e81a895 Minor code reorganization. Dan Gohman 2019-01-31 15:07:39 -08:00
  • ddb8453b0d Move wasmtime's instantiation test into a separate file. Dan Gohman 2019-01-31 14:58:56 -08:00
  • 72ee874986 Factor out a function for reading a wasm file. Dan Gohman 2019-01-31 14:58:29 -08:00
  • 8b140cc748 Create a Context class to group together various state objects. Dan Gohman 2019-01-31 14:43:32 -08:00
  • 4675948c2a Switch to passing the vmctx hidden argument at the beginning. Dan Gohman 2019-01-31 16:38:57 -08:00
  • 2fad984a0d Shift and rotate Jef 2019-01-30 11:06:32 +01:00
  • e66f01b923 Update cranelift libraries to 0.28.0 Yury Delendik 2019-01-29 18:27:44 -06:00
  • 747ad3c4c5 moved crates in lib/ to src/, renamed crates, modified some files' text (#660) lazypassion 2019-01-28 18:56:54 -05:00
  • 54959cf5bb Fix link to cargo workspace documentation Lukas Bergdoll 2019-01-28 23:00:49 +01:00
  • fdcb2184a8 Support 32-bit build. (#44) Joel Martin 2019-01-24 15:40:25 -06:00
  • 45cd3f6193 Bump version to 0.28.0 Dan Gohman 2019-01-22 23:50:12 -08:00
  • 6326140227 Fix legalization of bxor_imm. Dan Gohman 2019-01-22 23:44:10 -08:00
  • c8febc1a37 Bump version to 0.27.0. Dan Gohman 2019-01-22 20:06:34 -08:00
  • 1bbd2ebb77 Update to region 2.0.0. Dan Gohman 2019-01-22 20:03:28 -08:00
  • 00a4e93bcd Add a concept of "global exports". Dan Gohman 2019-01-22 14:50:38 -08:00
  • dae04be948 Switch from hashmap_core to hashbrown. Dan Gohman 2019-01-22 04:24:19 -08:00
  • 1fdf1c92d9 Update to the rustfmt in rust 1.32, which is now stable. Dan Gohman 2019-01-22 13:27:03 -08:00
  • 363eea6960 avoid directories for cargo build dependencies Nathan Froyd 2019-01-22 15:58:22 -05:00
  • 8769febdbd Formest with latest stable rustfmt. Dan Gohman 2019-01-22 04:17:52 -08:00
  • 26cb8de303 Only generate a single trap to reduce code size and complexity in call_indirect Jef 2019-01-18 16:59:29 +01:00
  • 2c8efa32b8 Unnecessarily optimise asm_println Jef 2019-01-18 14:03:23 +01:00
  • c7956dbdb2 Fail if we try to call past the end of the table Jef 2019-01-18 14:01:12 +01:00
  • b6e29a899e Add todo comments Jef 2019-01-18 13:07:41 +01:00
  • b23e00893c Fix saving volatile registers now that we use unused args as scratch Jef 2019-01-18 13:04:53 +01:00
  • e57cec3b3f Do call_indirect properly, by accessing the table section Jef 2019-01-18 13:01:42 +01:00
  • d06be92a4e Don't allocate context if it's unused Jef 2019-01-17 14:34:34 +01:00
  • e0f032a0e5 clz/ctz/popcnt Jef 2019-01-17 13:51:18 +01:00
  • 74d168ec4b Merge ends, store locals in registers where possible Jef 2019-01-17 11:07:51 +01:00
  • 06a072ead0 Mention wasmtime as a planned use. Dan Gohman 2019-01-16 14:13:21 -08:00
  • a7fa7da7d4 Support a proper vmctx that contains more than just memory offset Jef 2019-01-16 16:34:24 +01:00
  • eb032fd0f4 Simplify bjorn3 2019-01-15 17:30:40 +01:00
  • 80031cb2b4 Add TargetIsa bjorn3 2019-01-11 13:39:13 +01:00