]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Sun, 25 Jul 2021 16:46:10 +0000 (18:46 +0200)]
Add fixme
bjorn3 [Sun, 25 Jul 2021 16:45:56 +0000 (18:45 +0200)]
Run stdsimd test suite
bjorn3 [Sun, 25 Jul 2021 16:44:42 +0000 (18:44 +0200)]
Fix simd_round implementation
bjorn3 [Sat, 24 Jul 2021 13:25:32 +0000 (15:25 +0200)]
Implement more simd intrinsics
bjorn3 [Sat, 24 Jul 2021 13:24:06 +0000 (15:24 +0200)]
Fix simd_reduce_* intrinsics
bjorn3 [Fri, 23 Jul 2021 16:29:47 +0000 (18:29 +0200)]
Fix two type mismatch bugs
bjorn3 [Fri, 23 Jul 2021 16:23:13 +0000 (18:23 +0200)]
Support repr(simd) on ADTs containing a single array field
This is the cg_clif half of rust PR 78863
bjorn3 [Mon, 19 Jul 2021 13:34:33 +0000 (15:34 +0200)]
Avoid call to pointer_ty
bjorn3 [Mon, 19 Jul 2021 13:32:22 +0000 (15:32 +0200)]
Rustup to rustc 1.55.0-nightly (
59216858a 2021-07-18)
bjorn3 [Mon, 19 Jul 2021 13:23:20 +0000 (15:23 +0200)]
Yuki Okushi [Sun, 18 Jul 2021 05:21:56 +0000 (14:21 +0900)]
Rollup merge of #87092 - ricobbe:fix-raw-dylib-multiple-definitions, r=petrochenkov
Remove nondeterminism in multiple-definitions test
Compare all fields in `DllImport` when sorting to avoid nondeterminism in the error for multiple inconsistent definitions of an extern function. Restore the multiple-definitions test.
Resolves #87084.
bjorn3 [Sat, 17 Jul 2021 15:55:57 +0000 (17:55 +0200)]
Merge pull request #1187 from bjorn3/feature_gating
Preparations for building as part of rustc
bjorn3 [Sat, 17 Jul 2021 14:40:54 +0000 (16:40 +0200)]
Disable jit and inline-asm when building as part of rustc
Both features are not yet ready. Inline-asm is only supported on Linux
and requires explicitly specifying registers instead of register
classes. The jit has usability issues and may require the cg_clif
executable in the future.
bjorn3 [Sat, 17 Jul 2021 14:32:55 +0000 (16:32 +0200)]
Put all cg_clif specific options behind -Zunstable-features
bjorn3 [Sat, 17 Jul 2021 14:07:27 +0000 (16:07 +0200)]
Don't panic when the target is not supported by Cranelift
bjorn3 [Sat, 17 Jul 2021 13:03:18 +0000 (15:03 +0200)]
[CI] Update package list before installing packages
bjorn3 [Mon, 5 Jul 2021 16:04:52 +0000 (18:04 +0200)]
Don't truncate the shift amount
It isn't actually necessary
bjorn3 [Mon, 5 Jul 2021 16:02:12 +0000 (18:02 +0200)]
Remove shl/shr special handling for 128bit ints
Cranelift now natively supports 128bit int shifting
bjorn3 [Sat, 17 Jul 2021 12:34:40 +0000 (14:34 +0200)]
Update Cranelift
Richard Cobbe [Mon, 12 Jul 2021 19:46:27 +0000 (12:46 -0700)]
Consider all fields when comparing DllImports, to remove nondetermininsm in multiple-definitions test
Ralf Jung [Mon, 12 Jul 2021 22:41:10 +0000 (00:41 +0200)]
fix cranelift
bjorn3 [Tue, 13 Jul 2021 19:32:23 +0000 (21:32 +0200)]
Remove explicit branch="main" form Cargo.toml
Scott McMurray [Tue, 1 Jun 2021 13:19:49 +0000 (06:19 -0700)]
Use cranelift's `Type::int` instead of doing the match myself
<https://docs.rs/cranelift-codegen/0.74.0/cranelift_codegen/ir/types/struct.Type.html#method.int>
Scott McMurray [Mon, 31 May 2021 17:26:08 +0000 (10:26 -0700)]
PR Feedback: Don't put SSA-only types in `CValue`s
Scott McMurray [Mon, 31 May 2021 01:04:07 +0000 (18:04 -0700)]
Implement the raw_eq intrinsic in codegen_cranelift
bjorn3 [Thu, 8 Jul 2021 16:03:50 +0000 (18:03 +0200)]
Rustup to rustc 1.55.0-nightly (
d2b04f075 2021-07-07)
bjorn3 [Thu, 8 Jul 2021 16:03:33 +0000 (18:03 +0200)]
bjorn3 [Wed, 7 Jul 2021 09:14:20 +0000 (11:14 +0200)]
Merge commit '
3a31c6d8272c14388a34622193baf553636fe470 ' into sync_cg_clif-2021-07-07
bjorn3 [Wed, 7 Jul 2021 09:08:52 +0000 (11:08 +0200)]
Rustup to rustc 1.55.0-nightly (
885399992 2021-07-06)
bjorn3 [Tue, 6 Jul 2021 16:59:42 +0000 (18:59 +0200)]
bjorn3 [Tue, 6 Jul 2021 15:49:23 +0000 (17:49 +0200)]
Don't pass local_crate_name to link_binary separately
It is already part of CodegenResults
bjorn3 [Tue, 6 Jul 2021 13:31:38 +0000 (15:31 +0200)]
Move LinkerInfo into CrateInfo
bjorn3 [Mon, 5 Jul 2021 16:46:13 +0000 (18:46 +0200)]
Pass CrateInfo instead of TyCtxt to load_imported_symbols_for_jit
bjorn3 [Mon, 5 Jul 2021 16:44:37 +0000 (18:44 +0200)]
Rustfmt
bjorn3 [Mon, 7 Jun 2021 10:18:28 +0000 (12:18 +0200)]
Remove LibSource
The information is stored in used_crate_source too anyway
bjorn3 [Sun, 4 Jul 2021 16:17:26 +0000 (18:17 +0200)]
Don't overwrite LD_LIBRARY_PATH in config.sh
bjorn3 [Sun, 4 Jul 2021 16:15:13 +0000 (18:15 +0200)]
Refactor cg_clif building
bjorn3 [Sun, 4 Jul 2021 13:10:06 +0000 (15:10 +0200)]
Better config parsing and allow specifying host and target triple in config
bjorn3 [Sun, 4 Jul 2021 10:39:22 +0000 (12:39 +0200)]
Write better clif ir header
bjorn3 [Sun, 4 Jul 2021 10:37:00 +0000 (12:37 +0200)]
Update Cranelift
This has a fix for a miscompilation on AArch64
cc #1184
Smitty [Sat, 3 Jul 2021 15:14:19 +0000 (11:14 -0400)]
Make vtable_allocation always succeed
bjorn3 [Sat, 3 Jul 2021 12:41:33 +0000 (14:41 +0200)]
Update Cranelift
bjorn3 [Sat, 3 Jul 2021 12:28:53 +0000 (14:28 +0200)]
Misc target related improvements
bjorn3 [Fri, 2 Jul 2021 17:14:02 +0000 (19:14 +0200)]
Check if the patched sysroot source is up to date before using it
Fixes #1181
bjorn3 [Fri, 2 Jul 2021 13:03:16 +0000 (15:03 +0200)]
Merge pull request #1183 from bjorn3/full_aarch64_support
AArch64 support on Linux
bjorn3 [Fri, 2 Jul 2021 12:43:01 +0000 (14:43 +0200)]
[CI] Cross compile to aarch64-unknown-linux-gnu
bjorn3 [Fri, 2 Jul 2021 10:54:09 +0000 (12:54 +0200)]
[CI] Split build and test steps
bjorn3 [Fri, 2 Jul 2021 10:39:34 +0000 (12:39 +0200)]
Fix rust-analyzer setting
bjorn3 [Tue, 29 Jun 2021 18:37:06 +0000 (20:37 +0200)]
Fix compilation for AArch64
bjorn3 [Fri, 25 Jun 2021 17:18:53 +0000 (19:18 +0200)]
Only test global_asm on x86_64
bjorn3 [Fri, 25 Jun 2021 17:18:17 +0000 (19:18 +0200)]
Update Cranelift and object
This adds AArch64 support for unixes using ELF object files like Linux
bjorn3 [Fri, 2 Jul 2021 10:07:08 +0000 (12:07 +0200)]
Don't use data object for non-primitive scalars
Fixes #1041
bjorn3 [Fri, 2 Jul 2021 09:32:27 +0000 (11:32 +0200)]
Disable new rustc test requiring unwinding support
bjorn3 [Thu, 1 Jul 2021 10:05:10 +0000 (12:05 +0200)]
Reduce duplication of vtables
bjorn3 [Wed, 30 Jun 2021 19:21:06 +0000 (21:21 +0200)]
Rustup to rustc 1.55.0-nightly (
6d820866a 2021-06-29)
Smitty [Tue, 29 Jun 2021 23:17:14 +0000 (19:17 -0400)]
fix sess error
This passed x.py check locally, not sure why it wasn't rebased right...
Smitty [Sat, 12 Jun 2021 23:49:48 +0000 (19:49 -0400)]
Support allocation failures when interperting MIR
Note that this breaks Miri.
Closes #79601
bjorn3 [Tue, 29 Jun 2021 18:38:04 +0000 (20:38 +0200)]
bors [Tue, 29 Jun 2021 15:52:21 +0000 (15:52 +0000)]
Auto merge of #86475 - crlf0710:miri_vtable_refactor, r=bjorn3
Change vtable memory representation to use tcx allocated allocations.
This fixes https://github.com/rust-lang/rust/issues/86324. However i suspect there's more to change before it can land.
r? `@bjorn3`
cc `@rust-lang/miri`
Charles Lew [Sun, 20 Jun 2021 09:43:25 +0000 (17:43 +0800)]
Update other codegens to use tcx managed vtable allocations.
bors [Mon, 28 Jun 2021 01:20:01 +0000 (01:20 +0000)]
Auto merge of #85909 - cjgillot:alloc-kind-query, r=Aaron1011
Make allocator_kind a query.
Part of #85153
r? `@Aaron1011`
bjorn3 [Fri, 25 Jun 2021 16:33:00 +0000 (18:33 +0200)]
Merge pull request #1166 from eggyal/lazy-jit-multithreaded
Multithreading support for lazy-jit
bjorn3 [Fri, 25 Jun 2021 15:49:43 +0000 (17:49 +0200)]
Test multithreading support in lazy-jit
bors [Fri, 25 Jun 2021 04:06:32 +0000 (04:06 +0000)]
Auto merge of #85640 - bjorn3:custom_ice_hook, r=jackh726
Allow changing the bug report url for the ice hook
cc https://github.com/bjorn3/rustc_codegen_cranelift/issues/1174
bjorn3 [Sun, 20 Jun 2021 16:26:17 +0000 (18:26 +0200)]
Remove unused variable
bjorn3 [Sun, 20 Jun 2021 12:55:36 +0000 (14:55 +0200)]
Merge pull request #1180 from bjorn3/rust_build_system
Rewrite part of the build system in rust
bjorn3 [Sun, 20 Jun 2021 12:40:49 +0000 (14:40 +0200)]
Remove unnecessary LD_LIBRARY_PATH parts
bjorn3 [Sun, 20 Jun 2021 11:20:51 +0000 (13:20 +0200)]
Fix compiling cargo.rs on windows
bjorn3 [Sun, 20 Jun 2021 10:41:40 +0000 (12:41 +0200)]
Rewrite cargo.sh in rust
Camille GILLOT [Tue, 11 May 2021 20:05:54 +0000 (22:05 +0200)]
Make allocator_kind a query.
bjorn3 [Sat, 19 Jun 2021 12:51:48 +0000 (14:51 +0200)]
Move some things from config.sh to ext_config.sh
bjorn3 [Sat, 19 Jun 2021 12:07:56 +0000 (14:07 +0200)]
Give an error when attempting to build for MSVC
bjorn3 [Fri, 18 Jun 2021 14:18:44 +0000 (16:18 +0200)]
Update rust-analyzer import assist config
bjorn3 [Fri, 18 Jun 2021 11:41:20 +0000 (13:41 +0200)]
[CI] Test compilation on Windows
bjorn3 [Fri, 18 Jun 2021 11:38:50 +0000 (13:38 +0200)]
Improve windows support
bjorn3 [Fri, 18 Jun 2021 11:35:58 +0000 (13:35 +0200)]
Allow preserving the old sysroot
bjorn3 [Fri, 18 Jun 2021 11:27:56 +0000 (13:27 +0200)]
Rewrite build_sysroot.sh in rust
bjorn3 [Wed, 16 Jun 2021 16:28:34 +0000 (18:28 +0200)]
Merge the crate_patches dir into the patches dir
bjorn3 [Wed, 16 Jun 2021 16:01:19 +0000 (18:01 +0200)]
Rewrite prepare_sysroot_src.sh in rust
bjorn3 [Fri, 11 Jun 2021 16:50:01 +0000 (18:50 +0200)]
Rewrite prepare.sh in rust
bjorn3 [Tue, 8 Jun 2021 12:33:25 +0000 (14:33 +0200)]
Rewrite build.sh in rust
This makes it easier to compile cg_clif on systems that don't support
bash shell scripts like Windows
bjorn3 [Thu, 17 Jun 2021 16:42:09 +0000 (18:42 +0200)]
Update rust patch for compiler_builtins update
bjorn3 [Thu, 17 Jun 2021 16:41:43 +0000 (18:41 +0200)]
Fix miscompilation in vtable access
Fixes #1179
bjorn3 [Thu, 17 Jun 2021 13:36:32 +0000 (15:36 +0200)]
Rustup to rustc 1.55.0-nightly (
a85f584ae 2021-06-16)
bjorn3 [Thu, 17 Jun 2021 13:22:37 +0000 (15:22 +0200)]
Alan Egerton [Thu, 17 Jun 2021 08:51:04 +0000 (09:51 +0100)]
Remove lack of mulithreading support from usage.md
Alan Egerton [Wed, 28 Apr 2021 23:01:59 +0000 (00:01 +0100)]
Ensure Instances are only jitted once
Alan Egerton [Wed, 28 Apr 2021 13:44:18 +0000 (14:44 +0100)]
Multithreading support for lazy-jit
bors [Wed, 16 Jun 2021 07:20:27 +0000 (07:20 +0000)]
Auto merge of #86291 - crlf0710:trait_vtbl_refactor, r=bjorn3
Refactor vtable codegen
This refactor the codegen of vtables of miri interpreter, llvm, cranelift codegen backends.
This is preparation for the implementation of trait upcasting feature. cc #65991
Note that aside from code reorganization, there's an internal behavior change here that now InstanceDef::Virtual's index now include the three metadata slots, and now the first method is with index 3.
cc `@RalfJung` `@bjorn3`
Alexander [Tue, 15 Jun 2021 11:41:46 +0000 (13:41 +0200)]
Implement llvm.x86.addcarry.64 and llvm.x86.subborrow.64 (#1178)
LeSeulArtichaut [Mon, 14 Jun 2021 21:40:09 +0000 (23:40 +0200)]
Use the now available implementation of `IntoIterator` for arrays
Charles Lew [Mon, 14 Jun 2021 10:02:53 +0000 (18:02 +0800)]
Refactor to make interpreter and codegen backend neutral to vtable internal representation.
bjorn3 [Thu, 10 Jun 2021 10:18:10 +0000 (12:18 +0200)]
Enable cross-compilation support in Cranelift
bjorn3 [Thu, 10 Jun 2021 10:17:42 +0000 (12:17 +0200)]
Update Cranelift and object
bjorn3 [Thu, 10 Jun 2021 08:46:00 +0000 (10:46 +0200)]
Use -Cprefer-dynamic for all crates in jit mode
bjorn3 [Thu, 10 Jun 2021 08:19:58 +0000 (10:19 +0200)]
Include rustc and cranelift version in debuginfo
bjorn3 [Thu, 10 Jun 2021 08:16:49 +0000 (10:16 +0200)]
Add missing cargo clean when cross-compiling
bors [Thu, 10 Jun 2021 00:39:25 +0000 (00:39 +0000)]
Auto merge of #85910 - cjgillot:no-meta-version, r=Aaron1011
Drop metadata_encoding_version.
Part of #85153
r? `@Aaron1011`
bjorn3 [Tue, 8 Jun 2021 18:12:29 +0000 (20:12 +0200)]
Ignore unsupported test
bjorn3 [Tue, 8 Jun 2021 17:36:12 +0000 (19:36 +0200)]
Rustup to rustc 1.54.0-nightly (
e4a603270 2021-06-07)