0592b5a995Fix umbrella crate URL in docs/index.md (#1694)
Ömer Sinan Ağacan
2020-05-14 03:05:55 +03:00
1247f2b4aeAdd wasmtime-specific C APIs for tables (#1654)
Alex Crichton
2020-05-13 18:16:29 -05:00
fb0b9e3ae6Change proc_exit to unwind the stack rather than exiting the host process. (#1646)
Dan Gohman
2020-05-13 15:59:43 -07:00
08983bf39cMove crates/api to crates/wasmtime (#1693)
Josh Triplett
2020-05-13 14:04:31 -07:00
f5eab5225fFixed links in compare-llvm.md (#1690)
Cerberuser
2020-05-13 16:52:36 +07:00
5987cf5cdamachinst: add a linear-scan checked variant too;
Benjamin Bouvier
2020-05-12 14:37:54 +02:00
07c55fa50faarch64: suggest a scratch register that's not caller-saved;
Benjamin Bouvier
2020-05-12 14:22:53 +02:00
9b867b09c7cranelift: Sign extend Imm64 immediates
Nick Fitzgerald
2020-05-12 14:19:45 -07:00
962f057c8aRemove no-longer-needed C shims (#1686)
Alex Crichton
2020-05-12 16:01:13 -05:00
5394b6c72eUpdate staticvec dependency from 0.8 to 0.9 (#1676)
SlightlyOutOfPhase
2020-05-11 10:22:06 -04:00
94190d5724cranelift/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
ee2f861fddMerge pull request #1674 from cfallin/machinst-reg-universe-opt
Chris Fallin
2020-05-09 14:10:26 -07:00
4ec16fa057Legalize 64 bit shifts on x86_32 using PSLLQ/PSRLQ.
whitequark
2020-04-28 01:32:02 +00:00
2331403741Extend X86 ABI to cover stack overflow checking on X86-32.
whitequark
2020-04-28 13:08:01 +00:00
a1dbeee062Implement X86CallPCRel4 relocations in the JIT linker.
whitequark
2020-04-28 13:11:34 +00:00
736766397eRemove the last hardcoded instance of I64 pointers, in wasmtime-api.
whitequark
2020-04-28 13:10:48 +00:00
b3a9882466Add X86-32 support to wasm-runtime trap handler.
whitequark
2020-04-28 13:13:42 +00:00
17cef9140cMachInst backend: don't reallocate RealRegUniverses for each function compilation.
Chris Fallin
2020-05-08 13:36:39 -07:00
0bc0503f3fAdd 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
b65bd1c8a2Add an interpret command to clif-util
Andrew Brown
2020-04-21 12:02:44 -07:00
9cf90b836bMove iterate_files to the utils module
Andrew Brown
2020-04-21 12:02:18 -07:00
b26ca3cbddAdd test interpret support to filetests
Andrew Brown
2020-04-21 12:00:45 -07:00
8b18fc5937Add a CLIF interpreter
Andrew Brown
2020-04-21 11:57:08 -07:00
b4238229c2Cast DataValues to and from native types
Andrew Brown
2020-04-21 11:53:50 -07:00
cbf7cbfa39Introduce strongly-typed system primitives (#1561)
Jakub Konka
2020-05-08 01:00:14 +02:00
528d3c1355machinst: Steal the used/defs Sets when emitting a call in ABICall;
Benjamin Bouvier
2020-05-06 19:10:24 +02:00
19d8a7f1fbmachinst: Reuse memory accross loop iterations in lowering;
Benjamin Bouvier
2020-05-06 18:59:24 +02:00
b24b711c16machinst: Reduce the number of vec allocations for edge blocks;
Benjamin Bouvier
2020-05-06 18:47:12 +02:00
9215b610efmachinst: Avoid a lot of short-lived allocations in ABICall;
Benjamin Bouvier
2020-05-06 18:05:14 +02:00
4f919c6460machinst: 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
48521393aeUpdate to regalloc.rs version 0.22.
Julian Seward
2020-05-06 17:08:20 +02:00
57fb1c69c5Enable the multi-value proposal by default (#1667)
Alex Crichton
2020-05-06 12:37:29 -05:00
6d73fdb70aMerge pull request #1607 from cfallin/aarch64-stack-frame
Chris Fallin
2020-05-06 10:29:30 -07:00
a66724aafdRework aarch64 stack frame implementation.
Chris Fallin
2020-04-24 22:32:35 -07:00
1d90751ba9machinst: 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
162fcd3d75Legalize [su]extend.i64 to iconst/sshr_imm + iconcat.
whitequark
2020-04-28 05:23:42 +00:00
14bdaf3ce3Legalize ireduce.iN.i2N to isplit.
whitequark
2020-04-28 06:34:01 +00:00
a7d90af19dUpdate wasmparser and wast dependencies (#1663)
Alex Crichton
2020-05-05 16:13:14 -05:00
176b3a8382add 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
cb47611c44Enable SIMD bit shift spec tests
Andrew Brown
2020-05-02 15:21:21 -07:00
cd49ed9582Add x86 legalization for sshr.i64x2
Andrew Brown
2020-05-02 15:20:04 -07:00
4155d15e69Fix masking of vector shift values
Andrew Brown
2020-05-02 15:03:40 -07:00
59039df001Merge pull request #1570 from cfallin/fix-long-range-aarch64-call
Chris Fallin
2020-05-05 10:45:55 -07:00
8e934e6762Update Table::grow's return to be the previous size (#1653)
Alex Crichton
2020-05-05 12:03:31 -05:00
e39b4aba1cFix 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
fa54422854Add a work-in-progress backend for x86_64 using the new instruction selection;
Benjamin Bouvier
2020-04-27 16:19:08 +02:00
6bee767129clif-util: try both global and target-dependent settings when parsing --set flags;
Benjamin Bouvier
2020-04-27 18:35:43 +02:00
6ef106fee9Fix a missing early-return in Table::get (#1652)
Alex Crichton
2020-05-04 15:19:37 -05:00
d6796d0d23Improve documentation of the filetest run command (#1645)
Andrew Brown
2020-05-04 12:08:27 -07:00
c284ffe6c0Move trap handler initialization to per-Store (#1644)
Alex Crichton
2020-05-01 19:55:35 -05:00
4471a82b0cMerge pull request #1635 from fitzgen/filetests-threads
Nick Fitzgerald
2020-05-01 10:06:26 -07:00
db92dcd990Update test ignore annotations for aarch64 (#1643)
Alex Crichton
2020-05-01 11:24:53 -05:00
c0503455beAdd documentation about the CRANELIFT_FILETESTS_THREADS environment variable
Nick Fitzgerald
2020-05-01 09:15:46 -07:00
1ec6e6e0ebMerge pull request #1638 from alexcrichton/fuz-debug
Nick Fitzgerald
2020-05-01 09:12:09 -07:00
8393412c40Merge pull request #1632 from cfallin/aarch64-fix-srclocs
Chris Fallin
2020-04-30 16:13:55 -07:00
964c6087bdMachInst backend: attach SourceLoc span information to all ranges.
Chris Fallin
2020-04-29 11:00:28 -07:00
9d3a84c756Minor fixes to release scripts (#1639)
Dan Gohman
2020-04-30 14:13:26 -07:00
d88a147b4dAdd some debugging assistance to spectest oracle
Alex Crichton
2020-04-30 12:25:06 -07:00
49622bde58Use complex load-extend instructions in optimize_complex_addresses; fixes#1186
Andrew Brown
2020-04-30 10:22:25 -07:00
a312506262Add x86 complex encodings for SIMD load-extend instructions
Andrew Brown
2020-04-30 10:20:59 -07:00
38dff29179Add ability to call CLIF functions with arbitrary arguments in filetests
Andrew Brown
2020-04-15 13:50:51 -07:00
2048d3d30cAdd x86 encodings for same-size bint conversions up to 64 bits
Andrew Brown
2020-04-18 15:07:53 -07:00
c4292fb2beAllow setting the number of filetest threads via the CRANELIFT_FILETESTS_THREADS env var
Nick Fitzgerald
2020-04-29 14:40:54 -07:00