]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Sat, 28 Sep 2019 15:49:11 +0000 (17:49 +0200)]
Switch back to crates.io version of gimli
Fixes #727
bjorn3 [Thu, 3 Oct 2019 15:22:01 +0000 (17:22 +0200)]
Rustup to rustc 1.40.0-nightly (
2daa404e9 2019-10-02)
bjorn3 [Thu, 3 Oct 2019 14:24:06 +0000 (16:24 +0200)]
Rustup to rustc 1.40.0-nightly (
084beb83e 2019-09-27)
bjorn3 [Sat, 28 Sep 2019 15:01:17 +0000 (17:01 +0200)]
Call cg_ssa::base::provide_both in provide{,_extern}
bjorn3 [Sat, 28 Sep 2019 15:00:27 +0000 (17:00 +0200)]
Use CallConv::triple_default instead of hard coding SystemV
Fixes #718
bjorn3 [Sat, 28 Sep 2019 09:13:40 +0000 (11:13 +0200)]
Rustup to rustc 1.40.0-nightly (
084beb83e 2019-09-27)
dependabot-preview[bot] [Tue, 24 Sep 2019 10:00:04 +0000 (12:00 +0200)]
Bump gimli from `
1f1a9eb` to `
7e76a9d` (#722)
Bumps [gimli](https://github.com/gimli-rs/gimli) from `
1f1a9eb` to `
7e76a9d`.
- [Release notes](https://github.com/gimli-rs/gimli/releases)
- [Commits](https://github.com/gimli-rs/gimli/compare/
1f1a9eb23993d3787a4e3389eade28a104bd91d0...
7e76a9d56623da413f4fc2ea0e553cafe51bbfb8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Sep 2019 09:59:35 +0000 (11:59 +0200)]
Bump adler32 from 1.0.3 to 1.0.4 (#721)
Bumps [adler32](https://github.com/remram44/adler32-rs) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/remram44/adler32-rs/releases)
- [Commits](https://github.com/remram44/adler32-rs/compare/1.0.3...1.0.4)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Tue, 24 Sep 2019 09:59:13 +0000 (11:59 +0200)]
Bump serde from 1.0.100 to 1.0.101 (#725)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sun, 22 Sep 2019 14:47:45 +0000 (16:47 +0200)]
Add profile code around metadata object generation
cc #719
bjorn3 [Sun, 22 Sep 2019 14:21:00 +0000 (16:21 +0200)]
Wrap linker invocation in time()
bjorn3 [Sun, 22 Sep 2019 14:05:22 +0000 (16:05 +0200)]
Misc cleanup
bjorn3 [Sat, 21 Sep 2019 12:27:38 +0000 (14:27 +0200)]
Reduce time required to build from scratch in dev mode
* Disable wasm reading of object
* Use tempfile bundled with rustc
* Don't optimize and don't generate debuginfo for build scripts and some
build deps
Before: 354s (5m 45s)
After: 207s (3m 27s)
bjorn3 [Sat, 21 Sep 2019 09:32:11 +0000 (11:32 +0200)]
Add extern type pointer cast tests
bjorn3 [Sat, 21 Sep 2019 09:30:29 +0000 (11:30 +0200)]
Rustup to rustc 1.39.0-nightly (
97e58c0d3 2019-09-20)
bjorn3 [Fri, 20 Sep 2019 07:54:23 +0000 (09:54 +0200)]
Update Readme.md
bjorn3 [Mon, 16 Sep 2019 07:37:28 +0000 (09:37 +0200)]
Merge pull request #714 from bjorn3/dependabot/cargo/rand-0.7.1
Bump rand from 0.7.0 to 0.7.1
dependabot-preview[bot] [Mon, 16 Sep 2019 05:47:55 +0000 (05:47 +0000)]
Merge pull request #715 from bjorn3/dependabot/cargo/cranelift-
8945b82
dependabot-preview[bot] [Mon, 16 Sep 2019 04:54:31 +0000 (04:54 +0000)]
Bump cranelift from `
4c7e3c3` to `
8945b82`
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `
4c7e3c3` to `
8945b82`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/
4c7e3c3f1e338b9a0732fff00711c1c970e80459...
8945b82f92642f621d32fead437abd174b52f709)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
dependabot-preview[bot] [Mon, 16 Sep 2019 04:54:02 +0000 (04:54 +0000)]
Bump rand from 0.7.0 to 0.7.1
Bumps [rand](https://github.com/rust-random/rand) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.7.1)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
bjorn3 [Sun, 15 Sep 2019 16:15:40 +0000 (18:15 +0200)]
Fix trans_ptr_binop for fn()
bjorn3 [Sat, 14 Sep 2019 15:53:36 +0000 (17:53 +0200)]
Fix foreign type handling
bjorn3 [Sat, 14 Sep 2019 13:15:06 +0000 (15:15 +0200)]
Cleanup
bjorn3 [Sat, 14 Sep 2019 10:49:23 +0000 (12:49 +0200)]
Reenable debug assertions for libstd on macOS
m4b/faerie#91 has been merged
bjorn3 [Sat, 14 Sep 2019 10:13:23 +0000 (12:13 +0200)]
Implement shl and shr overflow checks
cc #6
bjorn3 [Sat, 14 Sep 2019 09:21:18 +0000 (11:21 +0200)]
Rustup to rustc 1.39.0-nightly (
a6946a817 2019-09-13)
bjorn3 [Fri, 13 Sep 2019 19:21:26 +0000 (21:21 +0200)]
Merge pull request #709 from bjorn3/updates
Update rustc and dependencies
bjorn3 [Fri, 13 Sep 2019 19:03:26 +0000 (21:03 +0200)]
Rustup to rustc 1.39.0-nightly (
eb48d6bde 2019-09-12)
bjorn3 [Fri, 13 Sep 2019 18:44:48 +0000 (20:44 +0200)]
Update object to 0.14.0
bjorn3 [Thu, 12 Sep 2019 18:27:10 +0000 (20:27 +0200)]
Update Readme.md
bjorn3 [Thu, 12 Sep 2019 18:22:09 +0000 (20:22 +0200)]
Remove simple-raytracer too in clean_all.sh
bjorn3 [Thu, 12 Sep 2019 18:22:02 +0000 (20:22 +0200)]
Update dependencies
bjorn3 [Thu, 12 Sep 2019 18:01:05 +0000 (20:01 +0200)]
Rustup to rustc 1.39.0-nightly (
f0b58fcf0 2019-09-11)
bjorn3 [Wed, 11 Sep 2019 09:01:04 +0000 (11:01 +0200)]
Merge pull request #700 from bjorn3/upstream_cranelift
Use upstream cranelift
bjorn3 [Tue, 10 Sep 2019 18:37:16 +0000 (20:37 +0200)]
Update Cranelift
bjorn3 [Sat, 7 Sep 2019 18:07:55 +0000 (20:07 +0200)]
Use upstream cranelift
bjorn3 [Sat, 31 Aug 2019 14:00:46 +0000 (16:00 +0200)]
Disable inline assembly in core::hint::black_box
bjorn3 [Tue, 20 Aug 2019 11:37:49 +0000 (13:37 +0200)]
Don't perform neg overflow checks when they are disabled
bjorn3 [Sat, 7 Sep 2019 08:51:00 +0000 (10:51 +0200)]
Rustup to rustc 1.39.0-nightly (
6e19f3f38 2019-09-06)
bjorn3 [Mon, 2 Sep 2019 17:50:21 +0000 (19:50 +0200)]
Correctly align offset for dst field projections
Fixes #681
bjorn3 [Sun, 1 Sep 2019 09:17:01 +0000 (11:17 +0200)]
Update ar
Fixes #672
bjorn3 [Sat, 31 Aug 2019 17:56:15 +0000 (19:56 +0200)]
Merge pull request #694 from Atul9/cargo-fmt
Format code using 'cargo fmt'
Atul Bhosale [Sat, 31 Aug 2019 17:28:09 +0000 (22:58 +0530)]
Format code using 'cargo fmt'
bjorn3 [Fri, 30 Aug 2019 15:29:38 +0000 (17:29 +0200)]
Add ebobby/simple-raytracer as benchmark
cc #684
bjorn3 [Fri, 30 Aug 2019 14:35:58 +0000 (16:35 +0200)]
Merge pull request #693 from bjorn3/abi_refactor
Abi handling refactor
bjorn3 [Fri, 30 Aug 2019 13:41:33 +0000 (15:41 +0200)]
Don't copy ByRef passed types to local stack slot when not necessary
Eg when the local is immutable **and** the type is freeze.
This makes the simple raytracer runtime benchmark 1% faster than cg_llvm
without optimizations. Before it was 2% slower.
cc #691
cc #684
bjorn3 [Fri, 30 Aug 2019 13:07:15 +0000 (15:07 +0200)]
Improve abi ir comments a bit
bjorn3 [Fri, 30 Aug 2019 12:21:24 +0000 (14:21 +0200)]
Move ir comments generation to abi/comments.rs
Also list locals stored in ssa vars in the comments
bjorn3 [Fri, 30 Aug 2019 10:42:18 +0000 (12:42 +0200)]
Small change
bjorn3 [Fri, 30 Aug 2019 10:30:57 +0000 (12:30 +0200)]
Move return handling to abi/returning.rs
bjorn3 [Fri, 30 Aug 2019 09:58:52 +0000 (11:58 +0200)]
Move pass mode handling to abi/pass_mode.rs
bjorn3 [Fri, 30 Aug 2019 09:51:33 +0000 (11:51 +0200)]
Move abi.rs to abi/mod.rs
bjorn3 [Fri, 30 Aug 2019 09:46:07 +0000 (11:46 +0200)]
Update Cargo.lock
bjorn3 [Fri, 30 Aug 2019 09:42:42 +0000 (11:42 +0200)]
Rustup to rustc 1.39.0-nightly (
72b2abfd6 2019-08-29)
bjorn3 [Thu, 29 Aug 2019 09:24:08 +0000 (11:24 +0200)]
Update my fork of cranelift for an isplit fix
bjorn3 [Thu, 29 Aug 2019 09:23:19 +0000 (11:23 +0200)]
Split extract layout field of all CPlace variants into a sparate struct
bjorn3 [Wed, 28 Aug 2019 15:59:48 +0000 (17:59 +0200)]
Don't add stack_addr intructions to prelude
Speeds up simple-raytracer by 30% (cc #684)
Also reduces the size of the simple-raytracer binary from 9.2MB to 8.6MB
bjorn3 [Wed, 28 Aug 2019 14:38:53 +0000 (16:38 +0200)]
Use f{32,64}const insts instead of loading from a global value
bjorn3 [Wed, 28 Aug 2019 13:29:10 +0000 (15:29 +0200)]
Don't force RETURN_PLACE to stack
Speeds up simple-raytracer by 7% (cc #684)
bjorn3 [Tue, 27 Aug 2019 09:01:36 +0000 (11:01 +0200)]
Rustup to rustc 1.39.0-nightly (
9b91b9c10 2019-08-26)
bjorn3 [Mon, 26 Aug 2019 09:03:06 +0000 (11:03 +0200)]
Sync discriminant getter and setter with upstream
Fixes #683
bjorn3 [Sun, 25 Aug 2019 14:30:36 +0000 (16:30 +0200)]
Rustup to rustc 1.39.0-nightly (
eeba189cf 2019-08-24)
bjorn3 [Thu, 22 Aug 2019 10:37:24 +0000 (12:37 +0200)]
Update dependencies
The faerie update fixes macOS build (m4b/faerie#90)
bjorn3 [Wed, 21 Aug 2019 12:57:12 +0000 (14:57 +0200)]
Always use Linkage::Import for relocations targeting a static
bjorn3 [Sun, 18 Aug 2019 15:46:45 +0000 (17:46 +0200)]
Add patch for rustc regression
Filled as 63687
bjorn3 [Wed, 21 Aug 2019 12:35:48 +0000 (14:35 +0200)]
Fix float -> u/i128 cast
The original test casts were optimized away by rustc,
so cg_clif never saw them.
cc #668
bjorn3 [Wed, 21 Aug 2019 12:01:29 +0000 (14:01 +0200)]
Implement u/i128 <-> float casts
Fixes #668
bjorn3 [Tue, 20 Aug 2019 08:40:08 +0000 (10:40 +0200)]
Implement saturating_{add,sub} intrinsics
bjorn3 [Mon, 19 Aug 2019 15:16:21 +0000 (17:16 +0200)]
Implement pow{f32,f64} intrinsics
bjorn3 [Mon, 19 Aug 2019 14:43:25 +0000 (16:43 +0200)]
Add unimpl! for cast between 128bit int and float
bjorn3 [Mon, 19 Aug 2019 14:42:56 +0000 (16:42 +0200)]
Fix saturating_{add,sub} for 8bit and 16bit ints
bjorn3 [Mon, 19 Aug 2019 14:24:57 +0000 (16:24 +0200)]
Don't pass -Zalways-encode-mir to rustc
bjorn3 [Mon, 19 Aug 2019 14:24:08 +0000 (16:24 +0200)]
Set correct linkage for statics
bjorn3 [Mon, 19 Aug 2019 13:48:32 +0000 (15:48 +0200)]
Implement copysign{f32,f64} intrinsics
bjorn3 [Mon, 19 Aug 2019 13:36:03 +0000 (15:36 +0200)]
Fix cross crate static duplicate codegen
bjorn3 [Sun, 18 Aug 2019 14:52:07 +0000 (16:52 +0200)]
Use anonymous lifetimes where possible
bjorn3 [Sun, 18 Aug 2019 14:19:33 +0000 (16:19 +0200)]
Let codegen_get_discriminant accept CValue instead of CPlace
bjorn3 [Sun, 18 Aug 2019 14:06:59 +0000 (16:06 +0200)]
Use native `ar` to create archive files
Workaround for #672
bjorn3 [Sun, 18 Aug 2019 13:48:31 +0000 (15:48 +0200)]
Don't run jit tests on macOS
Workaround for #671
bjorn3 [Sun, 18 Aug 2019 13:30:06 +0000 (15:30 +0200)]
Don't run a alignment assertion on macOS
bjorn3 [Sun, 18 Aug 2019 12:57:46 +0000 (14:57 +0200)]
Misc changes
bjorn3 [Sun, 18 Aug 2019 12:49:10 +0000 (14:49 +0200)]
Disable debug assertions for libstd
This is necessary on macOS, because of alignment problems
bjorn3 [Sun, 18 Aug 2019 09:30:13 +0000 (11:30 +0200)]
Rustup to rustc 1.39.0-nightly (
2111aed0a 2019-08-17)
bjorn3 [Sat, 17 Aug 2019 10:31:10 +0000 (12:31 +0200)]
Don't keep alloc_map locked while calling data_id_for_static
Fixes #670
bjorn3 [Fri, 16 Aug 2019 16:16:24 +0000 (18:16 +0200)]
Implement system abi
bjorn3 [Fri, 16 Aug 2019 14:04:50 +0000 (16:04 +0200)]
Workaround for missing `#[rustc_args_required_const(..)]` support
cc #666
bjorn3 [Thu, 15 Aug 2019 11:37:38 +0000 (13:37 +0200)]
Include load/store.i128 fix from my cranelift branch
bjorn3 [Thu, 15 Aug 2019 09:36:06 +0000 (11:36 +0200)]
Workaround for missing icmp{,_imm}.i128 legalizations
Fixes #667
bjorn3 [Wed, 14 Aug 2019 13:18:05 +0000 (15:18 +0200)]
Cast rhs to lhs type for shl and shr
bjorn3 [Wed, 14 Aug 2019 13:03:52 +0000 (15:03 +0200)]
Refactor num.rs
bjorn3 [Wed, 14 Aug 2019 11:01:55 +0000 (13:01 +0200)]
Calculate sign in trans{,_checked}_int_binop instead of caller
bjorn3 [Wed, 14 Aug 2019 10:01:41 +0000 (12:01 +0200)]
Move discriminant get and set to discriminant.rs
bjorn3 [Wed, 14 Aug 2019 09:52:39 +0000 (11:52 +0200)]
Move trans_*_binop to num.rs
bjorn3 [Wed, 14 Aug 2019 09:36:24 +0000 (11:36 +0200)]
Misc changes
bjorn3 [Tue, 13 Aug 2019 17:36:07 +0000 (19:36 +0200)]
Only build dylib
This saves ~200mb of space
bjorn3 [Thu, 1 Aug 2019 12:07:08 +0000 (14:07 +0200)]
Fix some rustc tests
* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm
bjorn3 [Thu, 1 Aug 2019 12:58:27 +0000 (14:58 +0200)]
Fix a panic on type size overflow
bjorn3 [Sun, 4 Aug 2019 10:27:43 +0000 (12:27 +0200)]
Fix intrinsic::transmute::<_, <uninhabited>>(...)
bjorn3 [Sun, 4 Aug 2019 11:16:13 +0000 (13:16 +0200)]
Print error for #[rustc_def_path] like expected
bjorn3 [Tue, 13 Aug 2019 17:08:39 +0000 (19:08 +0200)]
Fix uninit intrinsic for zst values