Maciej Woś
7ab5f2a869
Remove custom signal handler restrictions ( #1843 )
* remove custom signal handler origin restriction
* add a test for handling signals from a hostcall
* cargo fmt
4 years ago
Chris Fallin
4bb58940c7
Merge pull request #1830 from cfallin/update-qemu
Update from qemu 4.2.0 to qemu 5.0.0 for emulation-based CI jobs.
4 years ago
Chris Fallin
5c7e6e6e9a
Update from qemu 4.2.0 to qemu 5.0.0 for emulation-based CI jobs.
4 years ago
whitequark
bc555468a7
cranelift: add i64.{ishl,ushr,ashr} libcalls.
These libcalls are useful for 32-bit platforms.
On x86_32 in particular, commit 4ec16fa0
added support for legalizing
64-bit shifts through SIMD operations. However, that legalization
requires SIMD to be enabled and SSE 4.1 to be supported, which is not
acceptable as a hard requirement.
5 years ago
bjorn3
be20c92205
Correct version of region dependency of simplejit ( #1827 )
4 years ago
Chris Fallin
00abfcd943
Merge pull request #1817 from cfallin/issue-1809
Avoid touching encodings in `EncCursor` if using a MachInst backend.
4 years ago
Yury Delendik
6f37204f82
Upgrade gimli to 0.21 ( #1819 )
* Use gimli 0.21
* rm CFI w Expression
* Don't write .debug_frame twice
4 years ago
Andrew Brown
97c7fbbeb6
Update Wasm spec testsuite
4 years ago
Chris Fallin
63a335b7d4
Avoid touching encodings in `EncCursor` if using a MachInst backend.
`EncCursor` is a variant of `Cursor` that allows updating CLIF while
keeping its encodings up to date, given a particular ISA. However, new
(MachInst) backends don't use the encodings, and the `TargetIsaAdapter`
shim will panic if any encoding-related method is called. This PR avoids
those panics.
Fixes #1809 .
4 years ago
Pat Hickey
3de418630a
Merge pull request #1796 from bytecodealliance/pch/wiggle_tracing
wiggle: switch logging to use `tracing` crate
4 years ago
Alex Crichton
5a8afd4540
Pin nightlies to fix lightbeam compilation ( #1818 )
Looks like lightbeam's nightly dependencies don't compile on the most
recent nightly. For now let's pin nightlies to get CI green.
4 years ago
Leonardo Yvens
cd4a441d88
impl WasmTy for u32 and u64 ( #1808 )
* impl WasmTy for u32 and u64
* docs: Update Rust to wasm type table
4 years ago
Pat Hickey
54694b8d0e
Merge pull request #1810 from Kong/fix/test-programs-tagged-unions
fix(tagged-union): changed test programs to use new tagged union
4 years ago
Pat Hickey
2e952b72d0
Merge pull request #1816 from bytecodealliance/pch/faerie_deprecation
Add deprecation notice to cranelift-faerie README and FaerieBuilder.
4 years ago
Andrew Brown
5db384cd76
Rename opcode: PMULLQ to VPMULLQ
5 years ago
Andrew Brown
ce78ee3b32
Enable SIMD spec test for i64x2 arithmetic
5 years ago
Andrew Brown
aa44e8b2e3
Translate Wasm's I64x2Mul to Cranelift's imul.i64x2
5 years ago
Andrew Brown
1ea09088be
Add x86 legalization for imul.i64x2 for non-AVX CPUs
The `convert_i64x2_imul` custom legalization checks the ISA flags for AVX512DQ or AVX512VL support and legalizes `imul.i64x2` to an `x86_pmullq` in this case; if not, it uses a lengthy SSE2-compatible instruction sequence.
5 years ago
Andrew Brown
b3a6985cd5
Re-organize transform groups for x86 legalization
5 years ago
Andrew Brown
5a32500518
Remove non-existent x86 encoding for sshr_imm.i64x2
This instruction does not exist in the SSE2 feature set; it can be added later with an VEX/EVEX encoding.
5 years ago
Andrew Brown
df171f01b5
Add x86_pmuludq
This instruction multiplies the lower 32 bits of two 64x2 unsigned integers into an i64x2; this is necessary for lowering Wasm's i64x2.mul.
5 years ago
Andrew Brown
40f31375a5
Add TargetIsa::as_any for downcasting to specific ISA implementations
This is necessary when we would like to check specific ISA flags, e.g.
5 years ago
Andrew Brown
9ba9fd0f64
Add x86-specific instruction for i64x2 multiplication
Without this special instruction, legalizing to the AVX512 instruction AND the SSE instruction sequence is impossible. This extra instruction would be rendered unnecessary by the x64 backend.
5 years ago
Pat Hickey
fe92a8da48
Add deprecation notice to cranelift-faerie README and FaerieBuilder.
4 years ago
Emiliano Lesende
ef4ff71dc5
fix(tagged-union): updated Cargo.lock
4 years ago
Pat Hickey
0fb374947a
code review comments
4 years ago
Emiliano Lesende
59ee430431
fix(tagged-union): rebase and squash
fix(tagged-union): changed test programs to use new tagged union
generated code
fix(tagged-union): changed test programs to use new tagged union generated code
fix(tagged-union): removed local dependency and changed to point to 0.9.1 version of wasi
fix(tagged-union): added newline to gitignore, changed wasi version to 0.10.0
fix(tagged-union): removed gitignore as Cargo.lock is intentional
4 years ago
Hiroki Noda
8701645493
Fix comment for running example fib-debug ( #1814 )
4 years ago
Chris Fallin
5078e4eba2
Merge pull request #1774 from cfallin/aarch64-multivalue
Multi-value return support on aarch64/Wasmtime.
4 years ago
Chris Fallin
fe97659813
Address review comments.
4 years ago
Chris Fallin
615362068f
Multi-value return support.
5 years ago
Chris Fallin
34eb170232
Merge pull request #1811 from cfallin/fix-warning
Fix build warnings (errors on CI) due to mmap flag rename and deprecation.
4 years ago
Yury Delendik
1f86bcfb27
freeze gimli
4 years ago
Pat Hickey
6910c1e03d
use tracing 0.1.15 release
4 years ago
Pat Hickey
220733b974
wiggle-generate: add an `empty` constructor to ErrorTransform
some library users (me, in lucet-wasi) may not care about ErrorTransform YET
4 years ago
Pat Hickey
dcb774a35e
temporarily use tracing from git
4 years ago
Pat Hickey
1b95b24686
show env_logger working in wiggle tracing example
4 years ago
Pat Hickey
33a94ca7d5
just one cargo feature for tracing/log
4 years ago
Pat Hickey
820b283cf8
can't put tracing behind a feature without an extra crate :(
4 years ago
Pat Hickey
02c0c68ed2
replace all uses of `log` with `tracing`
4 years ago
Pat Hickey
f89fc0ac57
wiggle: can swap in `tracing` for args
5 years ago
Pat Hickey
994104d615
wiggle: add config options for logging
5 years ago
Chris Fallin
b8e31d7c8e
Fix build warnings (errors on CI) due to mmap flag rename and deprecation.
4 years ago
Dan Gohman
a76639c6fb
Wasmtime 0.17.0 and Cranelift 0.64.0. ( #1805 )
4 years ago
Yury Delendik
15c68f2cc1
Disconnects `Store` state fields from `Compiler` ( #1761 )
* Moves CodeMemory, VMInterrupts and SignatureRegistry from Compiler
* CompiledModule holds CodeMemory and GdbJitImageRegistration
* Store keeps track of its JIT code
* Makes "jit_int.rs" stuff Send+Sync
* Adds the threads example.
4 years ago
Dan Gohman
b41330393d
Add more notes to RELEASES.md. ( #1799 )
4 years ago
Nick Fitzgerald
2a75f6de21
Merge pull request #1781 from fitzgen/externref
Initial, partial support for `externref`
4 years ago
Pat Hickey
547ce3d68b
Merge pull request #1790 from bytecodealliance/pch/wiggle_error_transforms
wiggle: allow user-configurable error transformations
4 years ago
Chris Fallin
9fec933056
Merge pull request #1801 from jgouly/cmp-rebase
arm64: add support for I8X16 ICmp
4 years ago
Joey Gouly
90a421193f
arm64: add support for I8X16 ICmp
Copyright (c) 2020, Arm Limited.
4 years ago