Commit Graph

  • 27d3bf9aee Merge pull request #1701 from fitzgen/peepmatic-github-actions Nick Fitzgerald 2020-05-14 10:25:14 -07:00
  • fb7a690efc Merge pull request #1687 from fitzgen/sign-extend-immediates Nick Fitzgerald 2020-05-14 10:09:53 -07:00
  • 98137ea09f Add github labels actions integration for peepmatic Nick Fitzgerald 2020-05-14 09:20:44 -07:00
  • 0c8c3f588a Merge pull request #1647 from fitzgen/integrate-peepmatic Nick Fitzgerald 2020-05-14 09:02:21 -07:00
  • 1e3a1fa372 Remove stray debugging printlns (#1698) Alex Crichton 2020-05-14 10:26:09 -05:00
  • c093dee79e cranelift: Let lifetime elision elide lifetimes Nick Fitzgerald 2020-05-14 07:49:56 -07:00
  • 923a73be7b deps: Bump z3 to 0.5.1 Nick Fitzgerald 2020-05-12 12:22:40 -07:00
  • 8d7ed0fd13 deps: Update wast to 15.0.0 Nick Fitzgerald 2020-05-08 15:12:39 -07:00
  • 22a070ed4f peepmatic: Apply some review suggestions from @bjorn3 Nick Fitzgerald 2020-05-08 13:47:14 -07:00
  • a9b280ca3a CI: Ensure that the built peepmatic peephole optimizers are up to date Nick Fitzgerald 2020-05-08 12:25:17 -07:00
  • fd4f08e75f peepmatic: rustfmt Nick Fitzgerald 2020-05-08 12:24:53 -07:00
  • 52c6ece5f3 peepmatic: Make peepmatic optional to enable Nick Fitzgerald 2020-05-08 12:15:23 -07:00
  • 6e135b3aea peepmatic: Fix a failed assertion due to extra iterations after fixed point Nick Fitzgerald 2020-05-07 17:13:03 -07:00
  • eb2dab0aa4 peepmatic: Save RHS actions as a boxed slice, not vec Nick Fitzgerald 2020-05-07 14:14:21 -07:00
  • 210b036320 peepmatic: Represent various id types with u16 Nick Fitzgerald 2020-05-07 13:56:02 -07:00
  • 469104c4d3 peepmatic: Make the results of match operations a smaller and more cache friendly Nick Fitzgerald 2020-05-07 12:15:50 -07:00
  • 9a1f8038b7 peepmatic: Do not transplant instructions whose results are potentially used elsewhere Nick Fitzgerald 2020-05-04 15:49:01 -07:00
  • c2ec1523bc ci: Test rebuilding the peephole optimizers in CI Nick Fitzgerald 2020-05-01 17:00:26 -07:00
  • 090d1c2d32 cranelift: Port most of simple_preopt.rs over to the peepmatic DSL Nick Fitzgerald 2020-04-28 16:43:32 -07:00
  • 18663fede9 ci: Exercise the peepmatic fuzz targets in CI Nick Fitzgerald 2020-05-01 16:41:41 -07:00
  • 4b16a4ad85 peepmatic: Define fuzz targets for various parts of peepmatic Nick Fitzgerald 2020-05-01 16:17:43 -07:00
  • 1a7670f964 peepmatic: Introduce the peepmatic-fuzzing crate Nick Fitzgerald 2020-05-01 15:47:47 -07:00
  • 2828da1f56 peepmatic: Introduce the peepmatic-test crate Nick Fitzgerald 2020-05-01 15:45:01 -07:00
  • de9fc63009 peepmatic: Introduce the main peepmatic crate Nick Fitzgerald 2020-05-01 15:41:06 -07:00
  • 197a9e88cb peepmatic: Introduce the peepmatic-runtime crate Nick Fitzgerald 2020-05-01 15:36:49 -07:00
  • 0f03a97475 peepmatic: Introduce the peepmatic-macro crate Nick Fitzgerald 2020-05-01 15:33:55 -07:00
  • c82326a1ae peepmatic: Introduce the peepmatic-automata crate Nick Fitzgerald 2020-05-01 15:30:37 -07:00
  • f418b7a700 Reduce arm64 Inst enum size Joey Gouly 2020-05-14 15:45:55 +01:00
  • 0592b5a995 Fix umbrella crate URL in docs/index.md (#1694) Ömer Sinan Ağacan 2020-05-14 03:05:55 +03:00
  • 1247f2b4ae Add wasmtime-specific C APIs for tables (#1654) Alex Crichton 2020-05-13 18:16:29 -05:00
  • fb0b9e3ae6 Change proc_exit to unwind the stack rather than exiting the host process. (#1646) Dan Gohman 2020-05-13 15:59:43 -07:00
  • 08983bf39c Move crates/api to crates/wasmtime (#1693) Josh Triplett 2020-05-13 14:04:31 -07:00
  • f5eab5225f Fixed links in compare-llvm.md (#1690) Cerberuser 2020-05-13 16:52:36 +07:00
  • 5987cf5cda machinst: add a linear-scan checked variant too; Benjamin Bouvier 2020-05-12 14:37:54 +02:00
  • 07c55fa50f aarch64: suggest a scratch register that's not caller-saved; Benjamin Bouvier 2020-05-12 14:22:53 +02:00
  • 9b867b09c7 cranelift: Sign extend Imm64 immediates Nick Fitzgerald 2020-05-12 14:19:45 -07:00
  • 962f057c8a Remove no-longer-needed C shims (#1686) Alex Crichton 2020-05-12 16:01:13 -05:00
  • 5394b6c72e Update staticvec dependency from 0.8 to 0.9 (#1676) SlightlyOutOfPhase 2020-05-11 10:22:06 -04:00
  • 94190d5724 cranelift/reader/src/parser.rs: fn parse_inst_resuts: produce the results as a SmallVec<[Value; 1]>, not as a Vec<Value>. This isn't a useful change for any non-developer use of Cranelift, but it does significantly reduce the amount of allocation "noise" seen when tuning the new backend pipeline as driven by clif-util reading .clif files. In one case the number of malloc calls declined by about 20% with this change. Julian Seward 2020-05-11 11:09:40 +02:00
  • ee2f861fdd Merge pull request #1674 from cfallin/machinst-reg-universe-opt Chris Fallin 2020-05-09 14:10:26 -07:00
  • 4ec16fa057 Legalize 64 bit shifts on x86_32 using PSLLQ/PSRLQ. whitequark 2020-04-28 01:32:02 +00:00
  • 2331403741 Extend X86 ABI to cover stack overflow checking on X86-32. whitequark 2020-04-28 13:08:01 +00:00
  • a1dbeee062 Implement X86CallPCRel4 relocations in the JIT linker. whitequark 2020-04-28 13:11:34 +00:00
  • 736766397e Remove the last hardcoded instance of I64 pointers, in wasmtime-api. whitequark 2020-04-28 13:10:48 +00:00
  • b3a9882466 Add X86-32 support to wasm-runtime trap handler. whitequark 2020-04-28 13:13:42 +00:00
  • 17cef9140c MachInst backend: don't reallocate RealRegUniverses for each function compilation. Chris Fallin 2020-05-08 13:36:39 -07:00
  • 0bc0503f3f Add a transformation pass which removes phi nodes to which it can demonstrate that only one value ever flows. Has been observed to improve generated code run times by up to 8%. Compilation cost increases by about 0.6%, but up to 7% total cost has been observed to be saved; iow it can be a significant win in terms of compilation time, overall. Julian Seward 2020-05-06 09:08:14 +02:00
  • b65bd1c8a2 Add an interpret command to clif-util Andrew Brown 2020-04-21 12:02:44 -07:00
  • 9cf90b836b Move iterate_files to the utils module Andrew Brown 2020-04-21 12:02:18 -07:00
  • b26ca3cbdd Add test interpret support to filetests Andrew Brown 2020-04-21 12:00:45 -07:00
  • 8b18fc5937 Add a CLIF interpreter Andrew Brown 2020-04-21 11:57:08 -07:00
  • b4238229c2 Cast DataValues to and from native types Andrew Brown 2020-04-21 11:53:50 -07:00
  • cbf7cbfa39 Introduce strongly-typed system primitives (#1561) Jakub Konka 2020-05-08 01:00:14 +02:00
  • 528d3c1355 machinst: Steal the used/defs Sets when emitting a call in ABICall; Benjamin Bouvier 2020-05-06 19:10:24 +02:00
  • 19d8a7f1fb machinst: Reuse memory accross loop iterations in lowering; Benjamin Bouvier 2020-05-06 18:59:24 +02:00
  • b24b711c16 machinst: Reduce the number of vec allocations for edge blocks; Benjamin Bouvier 2020-05-06 18:47:12 +02:00
  • 9215b610ef machinst: Avoid a lot of short-lived allocations in ABICall; Benjamin Bouvier 2020-05-06 18:05:14 +02:00
  • 4f919c6460 machinst: bump regalloc to 0.0.23 and return a slice on the successor indexes, in block_succs; Benjamin Bouvier 2020-05-06 17:34:27 +02:00
  • 48521393ae Update to regalloc.rs version 0.22. Julian Seward 2020-05-06 17:08:20 +02:00
  • 57fb1c69c5 Enable the multi-value proposal by default (#1667) Alex Crichton 2020-05-06 12:37:29 -05:00
  • 6d73fdb70a Merge pull request #1607 from cfallin/aarch64-stack-frame Chris Fallin 2020-05-06 10:29:30 -07:00
  • a66724aafd Rework aarch64 stack frame implementation. Chris Fallin 2020-04-24 22:32:35 -07:00
  • 1d90751ba9 machinst: Avoid a full instructions traversal of all the blocks when computing the final block ordering; Benjamin Bouvier 2020-05-05 18:58:47 +02:00
  • 162fcd3d75 Legalize [su]extend.i64 to iconst/sshr_imm + iconcat. whitequark 2020-04-28 05:23:42 +00:00
  • 14bdaf3ce3 Legalize ireduce.iN.i2N to isplit. whitequark 2020-04-28 06:34:01 +00:00
  • a7d90af19d Update wasmparser and wast dependencies (#1663) Alex Crichton 2020-05-05 16:13:14 -05:00
  • 176b3a8382 add the _set suffix to static_memory_guard_size and dynamic_memory_guard_size properties in c-api (#1662) Graham✈️✈️ 2020-05-05 13:57:19 -06:00
  • cb47611c44 Enable SIMD bit shift spec tests Andrew Brown 2020-05-02 15:21:21 -07:00
  • cd49ed9582 Add x86 legalization for sshr.i64x2 Andrew Brown 2020-05-02 15:20:04 -07:00
  • 4155d15e69 Fix masking of vector shift values Andrew Brown 2020-05-02 15:03:40 -07:00
  • 59039df001 Merge pull request #1570 from cfallin/fix-long-range-aarch64-call Chris Fallin 2020-05-05 10:45:55 -07:00
  • 8e934e6762 Update Table::grow's return to be the previous size (#1653) Alex Crichton 2020-05-05 12:03:31 -05:00
  • e39b4aba1c Fix long-range (non-colocated) aarch64 calls to not use Arm64Call reloc, and fix simplejit to use it. Chris Fallin 2020-04-21 12:23:10 -07:00
  • fa54422854 Add a work-in-progress backend for x86_64 using the new instruction selection; Benjamin Bouvier 2020-04-27 16:19:08 +02:00
  • 6bee767129 clif-util: try both global and target-dependent settings when parsing --set flags; Benjamin Bouvier 2020-04-27 18:35:43 +02:00
  • 6ef106fee9 Fix a missing early-return in Table::get (#1652) Alex Crichton 2020-05-04 15:19:37 -05:00
  • d6796d0d23 Improve documentation of the filetest run command (#1645) Andrew Brown 2020-05-04 12:08:27 -07:00
  • c284ffe6c0 Move trap handler initialization to per-Store (#1644) Alex Crichton 2020-05-01 19:55:35 -05:00
  • 4471a82b0c Merge pull request #1635 from fitzgen/filetests-threads Nick Fitzgerald 2020-05-01 10:06:26 -07:00
  • db92dcd990 Update test ignore annotations for aarch64 (#1643) Alex Crichton 2020-05-01 11:24:53 -05:00
  • c0503455be Add documentation about the CRANELIFT_FILETESTS_THREADS environment variable Nick Fitzgerald 2020-05-01 09:15:46 -07:00
  • 1ec6e6e0eb Merge pull request #1638 from alexcrichton/fuz-debug Nick Fitzgerald 2020-05-01 09:12:09 -07:00
  • 8393412c40 Merge pull request #1632 from cfallin/aarch64-fix-srclocs Chris Fallin 2020-04-30 16:13:55 -07:00
  • 964c6087bd MachInst backend: attach SourceLoc span information to all ranges. Chris Fallin 2020-04-29 11:00:28 -07:00
  • 9d3a84c756 Minor fixes to release scripts (#1639) Dan Gohman 2020-04-30 14:13:26 -07:00
  • d88a147b4d Add some debugging assistance to spectest oracle Alex Crichton 2020-04-30 12:25:06 -07:00
  • 49622bde58 Use complex load-extend instructions in optimize_complex_addresses; fixes #1186 Andrew Brown 2020-04-30 10:22:25 -07:00
  • a312506262 Add x86 complex encodings for SIMD load-extend instructions Andrew Brown 2020-04-30 10:20:59 -07:00
  • 38dff29179 Add ability to call CLIF functions with arbitrary arguments in filetests Andrew Brown 2020-04-15 13:50:51 -07:00
  • 2048d3d30c Add x86 encodings for same-size bint conversions up to 64 bits Andrew Brown 2020-04-18 15:07:53 -07:00
  • c4292fb2be Allow setting the number of filetest threads via the CRANELIFT_FILETESTS_THREADS env var Nick Fitzgerald 2020-04-29 14:40:54 -07:00
  • 1873c0ae46 Fix value label ranges resolution (#1572) Yury Delendik 2020-04-30 08:07:55 -05:00
  • b7cfd39b53 aarch64: split emit tests into its own file; Benjamin Bouvier 2020-04-29 15:37:37 +02:00
  • 4c066b1c73 codegen: split lower.rs into multiple files; Benjamin Bouvier 2020-04-29 15:20:48 +02:00
  • a2b6c19861 Fix arm32 build: ensure that the expand group is always generated; Benjamin Bouvier 2020-04-29 14:44:31 +02:00
  • 864cf98c8d Update release notes, wasmtime 0.16, cranelift 0.63. Dan Gohman 2020-04-29 17:30:25 -07:00
  • 363cd2d20f Expose memory-related options in Config (#1513) Alex Crichton 2020-04-29 19:10:00 -05:00
  • bc4b4707e3 Re-export object from cranelift-object (#1599) Joshua Nelson 2020-04-29 20:06:00 -04:00
  • 957677c6f5 Integrate Lightbeam with latest Wasmtime master (#1232) Jef 2020-04-30 01:26:40 +02:00
  • aa78811fb2 [bugpoint] Remove block params teapotd 2020-04-17 18:27:32 +02:00