Nick Lewycky
894c5084f3
Insert allocas as a contiguous block at the top of the entry block.
...
This minimizes the chance we accidentally get categorized as having a dynamic alloca.
2019-10-23 19:21:12 -07:00
Mark McCaskey
82f258b888
Prepare for 0.9.0 release
2019-10-23 13:40:35 -07:00
bors[bot]
d2f9047952
Merge #899
...
899: Remove dead intrinsics. r=Hywan a=nlewycky
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-10-23 12:32:09 +00:00
Nick Lewycky
6410da9c24
Remove dead intrinsics.
2019-10-22 23:36:18 -07:00
Nick Lewycky
92f0b1b2e3
Thread whether state tracking is enabled into the LLVM backend.
2019-10-22 23:15:05 -07:00
bors[bot]
cf1f4c781e
Merge #887
...
887: Get aggressive about running cargo check over all packages with all features. r=nlewycky a=nlewycky
Fixes the one issue uncovered. The capstone disassembling support in the LLVM backend was broken. Fixed by removing it. Instead, use the `--llvm-object-file` flag to get a finished object file to disassemble with any disassembler.
Co-authored-by: Nick Lewycky <nick@wasmer.io>
Co-authored-by: Mark McCaskey <mark@wasmer.io>
2019-10-21 22:43:09 +00:00
Nick Lewycky
10dddf9904
Fix repeated typo in comment.
2019-10-18 16:34:45 -07:00
Nick Lewycky
b180a2e14c
Get aggressive about running cargo check over all packages with all features.
...
Fixes the one issue uncovered. The capstone disassembling support in the LLVM backend was broken. Fixed by removing it. Instead, use the `--llvm-object-file` flag to get a finished object file to disassemble with any disassembler.
2019-10-17 15:37:35 -07:00
bors[bot]
2695093a03
Merge #863
...
863: Rewrite Min/Max to handle all cases correctly. Fixes 545 spectest failures. r=nlewycky a=nlewycky
# Description
The llvm backend was not quite following the Wasm spec for {F32,F64,F32x4xF64x2}{Min,Max}. We used the `@llvm.minnum` and `@llvm.maxnum` intrinsics which don't handle the corner cases the same. When we tried to use `@llvm.minimum` and `@llvm.maximum` which do, we get an internal error from the x86 backend. I was hoping that crash would go away with the upgrade to LLVM 9, but it does not.
Reimplement these operations using plain LLVM instructions.
# Review
- [x] Add a short description of the the change to the CHANGELOG.md file
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-10-09 22:24:07 +00:00
bors[bot]
88f126a00b
Merge #870
...
870: Fix unused value warning due to inkwell API change. NFC. r=nlewycky a=nlewycky
# Description
Fix unused value warning due to inkwell API change. No functionality change.
Co-authored-by: Nick Lewycky <nick@wasmer.io>
2019-10-08 23:56:10 +00:00
Nick Lewycky
c61cbf6c0b
Add a comment.
2019-10-08 11:25:10 -07:00
Nick Lewycky
afddbb2b2a
Remove unused value warning due to inkwell API change. NFC.
2019-10-07 17:16:52 -07:00
Nick Lewycky
9cdfb48d0c
The i1 argument is actually named "is_zero_undef" which we want to be false.
...
Fixes the test failures that showed up on mac.
2019-10-07 17:11:59 -07:00
Nick Lewycky
749691ca2a
Add a comment explaining why we don't use the intrinsics for these.
2019-10-04 11:50:11 -07:00
Nick Lewycky
1a7f00f0af
Rewrite Min/Max to handle all cases correctly.
...
Fixes 545 spectest failures.
2019-10-03 18:19:12 -07:00
Mark McCaskey
c77cbc1f40
Prepare for 0.8.0 release
2019-10-02 15:40:35 -07:00
Jordan Danford
9be72e6808
Fix some other files too
2019-09-30 22:50:04 -07:00
Brandon Fish
c69cdeca9b
Update cranelift backend to fork version 0.44.0
2019-09-25 23:37:39 -05:00
Syrus
7bf306eb27
Use flat-square style in downloads button
2019-09-24 13:42:17 -07:00
Syrus
621ef56ab6
lmproved READMEs to use Azure Pipelines badges and better lgo
2019-09-24 13:36:31 -07:00
Brandon Fish
a1a88c6eb8
Use the default features for wasmparser
2019-09-21 13:59:08 -05:00
Brandon Fish
f48d6f6690
Cranelift backend update to fork of clif version 0.43.1
2019-09-21 13:06:54 -05:00
Mark McCaskey
bf396ec76d
Remove patch version in deps when not necessary
2019-09-20 16:11:09 -07:00
Patrick Ventuzelo
726269a52c
fix missing info error
2019-09-17 12:05:00 +02:00
Patrick Ventuzelo
4190f01195
remove panic and unimplemented in llvm-backend and runtime-core
2019-09-17 12:03:03 +02:00
Nick Lewycky
59597b9e83
Switch from PIC+Default (small) to Static+Large. Should fix flaky test failures.
2019-09-16 10:49:39 -07:00
Nick Lewycky
8dd82c05e6
Implement atomic load and store instructions with actual atomics in the LLVM backend.
...
Includes a run of `cargo update` to pick up the newer inkwell required.
2019-09-13 12:05:55 -07:00
Mark McCaskey
33811cde37
Fix mistake in version update; generate lock file
2019-09-12 12:49:11 -07:00
Mark McCaskey
0f4d266e4e
Prepare for 0.7.0 release
2019-09-12 12:44:38 -07:00
dependabot-preview[bot]
009bb67686
Bump lazy_static from 1.3.0 to 1.4.0
...
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases )
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-09 23:02:16 +00:00
Syrus
d8471e2b6a
Improved docs with custom logo and favicon
2019-09-03 17:06:31 -07:00
dependabot-preview[bot]
616b768529
Bump winapi from 0.3.7 to 0.3.8
...
Bumps [winapi](https://github.com/retep998/winapi-rs ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/retep998/winapi-rs/releases )
- [Commits](https://github.com/retep998/winapi-rs/compare/0.3.7...0.3.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 09:11:48 +00:00
losfair
212e2be166
Remove -fno-rtti
2019-08-22 22:58:08 -07:00
losfair
613e4de9fc
Fix LLVM object loader exceptions.
2019-08-22 18:57:26 -07:00
losfair
bdcd73cd63
Unblock signals in LLVM trap handler.
2019-08-22 17:45:52 -07:00
losfair
f503764780
Restore previous unwind_state.
2019-08-22 17:22:33 -07:00
losfair
d7c5bb904e
Only disallow dead code in llvm-backend for non-Windows environments.
2019-08-22 13:32:35 -07:00
losfair
6534c28aed
Allow dead code in llvm-backend.
2019-08-22 13:30:50 -07:00
losfair
e89ab43b98
Fix unused 'stackmaps' and 'module_info' on Windows
2019-08-22 13:25:52 -07:00
losfair
d868445d09
Fix unused import 'vm' on Windows
2019-08-22 13:19:46 -07:00
losfair
eef38429fc
Fix unused imports on Windows.
2019-08-22 13:14:05 -07:00
losfair
86814a1920
Merge remote-tracking branch 'origin/master' into feature/llvm-osr
2019-08-22 10:47:39 -07:00
losfair
c7377a465f
Merge remote-tracking branch 'origin/master' into feature/llvm-osr
2019-08-21 15:49:25 -07:00
dependabot-preview[bot]
5d4b78e880
Bump nix from 0.14.1 to 0.15.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 22:36:56 +00:00
losfair
b0beb28ea7
Fix unused import on Windows.
2019-08-21 15:32:20 -07:00
losfair
56e735349d
Format everything
2019-08-21 15:23:56 -07:00
losfair
53ebcc355a
Disable LLVM stackmap on Windows
2019-08-21 15:23:11 -07:00
losfair
08ab8d16e1
Handle SIGILL in LLVM.
2019-08-21 15:05:10 -07:00
losfair
74faaa3be8
Merge branch 'fix/llvm-trap-windows' into feature/llvm-osr
2019-08-21 15:02:17 -07:00
Nick Lewycky
e6ec261cd5
Remove commented out code.
2019-08-21 15:01:21 -07:00