Commit Graph

1389 Commits

Author SHA1 Message Date
bjorn3 11b1c8b5c6 Use multiple codegen units
Fixes #909
2020-03-09 11:29:26 +01:00
dependabot-preview[bot] 07799fee41
Merge pull request #913 from bjorn3/dependabot/cargo/cranelift-codegen-fbe29da 2020-03-09 07:10:15 +00:00
dependabot-preview[bot] 12d324ce68
Bump cranelift-codegen from `4284491` to `fbe29da`
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `4284491` to `fbe29da`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](4284491339...fbe29da5cc)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 05:17:39 +00:00
bjorn3 6a90b6844f Revert "Use multiple codegen units"
This reverts commit 03acf67a0e.
2020-03-08 13:27:43 +01:00
bjorn3 63f22397ae Fix Cranelift patch paths 2020-03-08 12:25:11 +01:00
bjorn3 03acf67a0e Use multiple codegen units 2020-03-07 12:45:55 +01:00
bjorn3 36ea72c2bd Move emit_module call 2020-03-07 12:45:05 +01:00
bjorn3 97db112295 Move time "codegen mono items" out of codegen_mono_items 2020-03-07 12:16:32 +01:00
bjorn3 575836ebe3 Check for main in current module before codegen of entry wrapper 2020-03-07 12:13:54 +01:00
bjorn3 2ecffb6fc4 Inline codegen_cgus 2020-03-07 11:54:35 +01:00
bjorn3 152bde63fe Misc changes 2020-03-07 11:27:49 +01:00
bjorn3 a29730e288 Update Cranelift 2020-03-07 11:11:42 +01:00
bjorn3 5d2a1daf83 Remove unused inline asm whitelist 2020-03-07 11:10:33 +01:00
bjorn3 576aa76445 Don't run dsymutil on librustc_codegen_cranelift on macOS
This halves clean incremental compilation time
2020-03-07 11:06:24 +01:00
bjorn3 b00927b956 Rustup to rustc 1.43.0-nightly (2890b37b8 2020-03-06) 2020-03-07 10:39:57 +01:00
bjorn3 9ab2af56aa Rustup to rustc 1.43.0-nightly (4ad624882 2020-03-03) 2020-03-04 15:04:28 +01:00
bjorn3 dc1165300d Update for the merge of Cranelift into Wasmtime 2020-02-29 14:24:29 +01:00
bjorn3 d07767b5c1 Rustup to rustc 1.43.0-nightly (0eb878d2a 2020-02-28) 2020-02-29 14:19:16 +01:00
bjorn3 900c04a423 Implement simd_fma 2020-02-26 16:35:13 +01:00
bjorn3 fd6c463367
Merge pull request #784 from bjorn3/wip_tls_support
TLS support
2020-02-26 15:11:37 +01:00
bjorn3 c8de552c01 Tls support 2020-02-26 14:41:05 +01:00
bjorn3 0e0afb4f1f Rustup to rustc 1.43.0-nightly (6fd8798f4 2020-02-25) 2020-02-26 14:30:11 +01:00
dependabot-preview[bot] d57e344bd3
Merge pull request #903 from bjorn3/dependabot/cargo/cranelift-codegen-5ad5505 2020-02-24 06:57:12 +00:00
dependabot-preview[bot] 101f8d4ecf
Bump cranelift-codegen from `0c7da4a` to `5ad5505`
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `0c7da4a` to `5ad5505`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](0c7da4a663...5ad55057f1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 05:09:52 +00:00
bjorn3 53ef00e68c Fix JIT on macOS
Fixes #671
2020-02-22 15:57:53 +01:00
bjorn3 cc30c20293 Silence some warnings 2020-02-22 15:18:03 +01:00
bjorn3 43e23af700 Update dependencies 2020-02-22 14:29:34 +01:00
bjorn3 ad7e8ad2cc Update Cranelift 2020-02-22 14:25:22 +01:00
bjorn3 c1bf153049 Rustup to rustc 1.43.0-nightly (8aa9d2014 2020-02-21) 2020-02-22 14:20:37 +01:00
dependabot-preview[bot] 2714068b97
Bump thiserror from 1.0.10 to 1.0.11 (#894)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 17:54:27 +01:00
dependabot-preview[bot] 45d5c6fd9c
Merge pull request #896 from bjorn3/dependabot/cargo/cranelift-codegen-cd3d84e 2020-02-17 06:32:54 +00:00
dependabot-preview[bot] 487e4ff86e
Bump cranelift-codegen from `f1aa072` to `cd3d84e`
Bumps [cranelift-codegen](https://github.com/bytecodealliance/cranelift) from `f1aa072` to `cd3d84e`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](f1aa07265b...cd3d84e580)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 05:10:16 +00:00
bjorn3 6156f48ffe Update Cranelift and use the new ineg instruction 2020-02-15 11:59:45 +01:00
bjorn3 a3f27a4428 Use archive_format for determining if gnu style archives should be emitted
Fixes #893
2020-02-14 19:12:43 +01:00
bjorn3 6b25454028 Update dependencies 2020-02-14 18:37:28 +01:00
bjorn3 430f738392 Update Cranelift for basic blocks 2020-02-14 18:23:29 +01:00
bjorn3 b5b2ffab6a Rustup to rustc 1.43.0-nightly (5d04ce67f 2020-02-13) 2020-02-14 18:20:34 +01:00
bjorn3 e95a300630 Use TrapCode::UnreachableCodeReached in trap_unreachable 2020-02-07 21:38:30 +01:00
bjorn3 bae0d9bb72 [OPT] Don't call monomorphize from clif_type 2020-02-07 20:27:37 +01:00
bjorn3 5204a98398 Remove the sudo key from .travis.yml
It has been deprecated and doesn't have any effect anymore
2020-02-07 13:55:02 +01:00
bjorn3 01f6f40ac2 Rustup to rustc 1.43.0-nightly (442ae7f04 2020-02-06) 2020-02-07 13:49:48 +01:00
bjorn3 fbe36ad68a Revert "Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos"
This reverts commit eb4fc45310.

It caused a panic while compiling simple-raytracer
2020-02-03 21:36:36 +01:00
bjorn3 eb4fc45310 Use CachingSourceMapView::byte_pos_to_line_and_col instead of SourceMap::lookup_char_pos
The former calculates byte offsets instead of char offsets. It is faster
to calculate byte offsets than char offsets. Also most DWARF producers
and consumers use byte offsets instead of char offsets.
2020-02-03 21:05:18 +01:00
bjorn3 33e73091f8 Don't mark unwind ebbs as cold
This fixes the code_layout optimization, as it would previously try to
move non-existing ebbs.

Fixes #877
2020-02-01 16:47:35 +01:00
bjorn3 52d183ead6 Update smallvec to 1.2.0 2020-02-01 12:35:45 +01:00
bjorn3 8150f737c0 Rustup to rustc 1.42.0-nightly (cd1ef390e 2020-01-31) 2020-02-01 12:35:03 +01:00
bjorn3 f12c0d8ac7 Update thiserror 2020-01-29 11:32:59 +01:00
bjorn3 7ec6bb21b6 Update Cranelift 2020-01-29 11:31:17 +01:00
bjorn3 9cdea312cf Rustup to rustc 1.42.0-nightly (3761dcd34 2020-01-28) 2020-01-29 11:21:29 +01:00
dependabot-preview[bot] 2ad2ea7343
Merge pull request #883 from bjorn3/dependabot/cargo/cranelift-codegen-9a578c1 2020-01-27 08:07:20 +00:00