]>
git.lizzy.rs Git - rust.git/log
bjorn3 [Sat, 22 Aug 2020 17:24:46 +0000 (19:24 +0200)]
Merge pull request #1076 from CohenArthur/use-codegencx-in-functioncx
Use CodegenCx in FunctionCx
CohenArthur [Sat, 22 Aug 2020 17:05:22 +0000 (19:05 +0200)]
trans_fn: Cleanup code
CohenArthur [Sat, 22 Aug 2020 17:03:35 +0000 (19:03 +0200)]
trans_fn: Use replace() instead of new() + swap()
CohenArthur [Sat, 22 Aug 2020 16:53:34 +0000 (18:53 +0200)]
FunctionCx: Swap context.func and empty function correctly
CohenArthur [Sat, 22 Aug 2020 14:47:31 +0000 (16:47 +0200)]
FunctionCx: Refactor `fx.cx.tcx` into `fx.tcx`
CohenArthur [Sat, 22 Aug 2020 14:45:50 +0000 (16:45 +0200)]
FunctionCx: Add tcx field for easier access
CohenArthur [Sat, 22 Aug 2020 14:40:58 +0000 (16:40 +0200)]
FunctionCx: Fix FunctionCx initialization in trans_fn()
CohenArthur [Sat, 22 Aug 2020 14:17:58 +0000 (16:17 +0200)]
FunctionCx: Rename codegen_cx -> cx
CohenArthur [Sat, 22 Aug 2020 14:14:33 +0000 (16:14 +0200)]
FunctionCx: Fix field usage in inline_asm and vtable modules
CohenArthur [Sat, 22 Aug 2020 13:49:16 +0000 (15:49 +0200)]
FunctionCx: WIP: Remove more common fields from CodegenCx
CohenArthur [Sat, 22 Aug 2020 13:25:36 +0000 (15:25 +0200)]
FunctionCx: WIP: Fix overzealous sed usage
CohenArthur [Sat, 22 Aug 2020 13:21:38 +0000 (15:21 +0200)]
FunctionCx: WIP: Fix syntax error on sed codegen_cx -> .codegen_cx
CohenArthur [Sat, 22 Aug 2020 13:19:48 +0000 (15:19 +0200)]
FunctionCx: WIP: Replace .constants with codegen_cx.constants
CohenArthur [Sat, 22 Aug 2020 13:19:09 +0000 (15:19 +0200)]
FunctionCx: Replace .module with .codegen_cx.module
CohenArthur [Sat, 22 Aug 2020 13:18:39 +0000 (15:18 +0200)]
FunctionCx: WIP: Replace .tcx with .codegen_cx.tcx
CohenArthur [Sat, 22 Aug 2020 13:18:10 +0000 (15:18 +0200)]
FunctionCx: Store reference to CodegenCx instead
bjorn3 [Sat, 22 Aug 2020 09:38:03 +0000 (11:38 +0200)]
Merge pull request #1075 from CohenArthur/add-null-after-argv
jit: Add `NULL` as terminating argv
CohenArthur [Sat, 22 Aug 2020 09:24:02 +0000 (11:24 +0200)]
jit: Add `NULL` as terminating argv
bjorn3 [Thu, 20 Aug 2020 14:51:01 +0000 (16:51 +0200)]
Evaluate all mir.required_consts and report any errors
Fixes #981
bjorn3 [Thu, 20 Aug 2020 14:01:42 +0000 (16:01 +0200)]
Merge pull request #1074 from bjorn3/fix_weak_linkage
Fix weak linkage
bjorn3 [Sun, 16 Aug 2020 19:20:12 +0000 (21:20 +0200)]
Fix weak linkage
This removes the last sysroot patch apart from the few patches that disable tests
bjorn3 [Thu, 20 Aug 2020 13:21:26 +0000 (15:21 +0200)]
Update Cranelift and object
bjorn3 [Thu, 20 Aug 2020 11:22:07 +0000 (13:22 +0200)]
Don't test x86_64 simd on archs other than x86_64
bjorn3 [Wed, 19 Aug 2020 16:52:56 +0000 (18:52 +0200)]
Update target_feature_whitelist
bjorn3 [Wed, 19 Aug 2020 12:14:32 +0000 (14:14 +0200)]
Bump actions/cache to v2
bjorn3 [Wed, 19 Aug 2020 12:07:43 +0000 (14:07 +0200)]
Don't disable incremental cache for cargo.sh
cc #1052
bjorn3 [Wed, 19 Aug 2020 12:05:57 +0000 (14:05 +0200)]
[gh actions] Remove actions-rs/cargo step
It is not very useful and increases compilation time, as the
CARGO_INCREMENTAL env var differs between it and the cargo invocation in
test.sh
bjorn3 [Wed, 19 Aug 2020 11:51:49 +0000 (13:51 +0200)]
Add workaround for rust-lang/rust#74946
Fixes #1072
Craig Mayhew [Mon, 17 Aug 2020 20:28:12 +0000 (21:28 +0100)]
Enforce linux style line endings to support WSL (#1073)
* Enforce linux style line endings to support WSL
If you clone in windows, but run under WSL, the line endings cause errors. This enforces linux style line endings.
* Update .gitattributes to use text=auto
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
bjorn3 [Sun, 16 Aug 2020 18:55:22 +0000 (20:55 +0200)]
Fix panic in when debug assertions are enabled
bjorn3 [Sun, 16 Aug 2020 09:48:46 +0000 (11:48 +0200)]
Fix ambiguity between object and cranelift_object::object
bjorn3 [Sat, 15 Aug 2020 19:27:06 +0000 (21:27 +0200)]
Merge pull request #1070 from bjorn3/cpuid
Emulate cpuid
bjorn3 [Sat, 15 Aug 2020 19:04:33 +0000 (21:04 +0200)]
Remove cg_clif fake target feature
bjorn3 [Sat, 15 Aug 2020 18:55:03 +0000 (20:55 +0200)]
Fix ppv-lite86 with simd enabled
This fixes older rand versions that enable the simd feature of ppv-lite86
bjorn3 [Sat, 15 Aug 2020 16:55:32 +0000 (18:55 +0200)]
Emulate the cpuid arch intrinsic
bjorn3 [Sat, 15 Aug 2020 12:19:23 +0000 (14:19 +0200)]
Disable the inline asm support using a feature flag
bjorn3 [Sun, 9 Aug 2020 17:42:37 +0000 (19:42 +0200)]
Rustup to rustc 1.47.0-nightly (
ceedf1d5f 2020-08-08)
bjorn3 [Sat, 8 Aug 2020 14:32:03 +0000 (16:32 +0200)]
Enable simd insert and extract tests
Working since rust-lang/stdarch#876
Fixes #666
bjorn3 [Sat, 8 Aug 2020 14:30:22 +0000 (16:30 +0200)]
Rustup to rustc 1.47.0-nightly (
09f4c9f50 2020-08-07)
bjorn3 [Sat, 8 Aug 2020 14:19:42 +0000 (16:19 +0200)]
Remove ArchiveConfig
bjorn3 [Sat, 8 Aug 2020 14:17:34 +0000 (16:17 +0200)]
Fix some warnings
bjorn3 [Sat, 8 Aug 2020 14:14:11 +0000 (16:14 +0200)]
Don't panic on io errors
Fixes #920
bjorn3 [Wed, 5 Aug 2020 12:02:54 +0000 (14:02 +0200)]
Update syn
bjorn3 [Wed, 5 Aug 2020 11:59:35 +0000 (13:59 +0200)]
Update Cranelift
bjorn3 [Wed, 5 Aug 2020 11:55:27 +0000 (13:55 +0200)]
Rustup to rustc 1.47.0-nightly (
f9d422ea7 2020-08-04)
bjorn3 [Tue, 4 Aug 2020 07:47:11 +0000 (09:47 +0200)]
Merge pull request #1069 from Veetaha/feat/remove-perms-workaround
Remove cargo home perms workaround
Veetaha [Tue, 4 Aug 2020 00:33:31 +0000 (03:33 +0300)]
Remove cargo home perms workaround
bjorn3 [Thu, 30 Jul 2020 14:43:53 +0000 (16:43 +0200)]
Update dependencies
bjorn3 [Thu, 30 Jul 2020 14:37:31 +0000 (16:37 +0200)]
Update Cranelift
bjorn3 [Thu, 30 Jul 2020 13:14:19 +0000 (15:14 +0200)]
Fix test path
bjorn3 [Thu, 30 Jul 2020 12:58:27 +0000 (14:58 +0200)]
Rustup to rustc 1.47.0-nightly (
db0492ace 2020-07-29)
bjorn3 [Sat, 25 Jul 2020 14:31:43 +0000 (16:31 +0200)]
Merge pull request #951 from bjorn3/simd_improvements
Simd improvements
bjorn3 [Sat, 25 Jul 2020 14:15:42 +0000 (16:15 +0200)]
Use nehalem instead of haswell as target cpu
bjorn3 [Sat, 25 Jul 2020 11:17:49 +0000 (13:17 +0200)]
Fix panic
bjorn3 [Sun, 29 Mar 2020 10:02:00 +0000 (12:02 +0200)]
Don't forbid i64x2 as simd type
bjorn3 [Sat, 28 Mar 2020 14:33:50 +0000 (15:33 +0100)]
Use PassMode::ByVal for Abi::Vector
bjorn3 [Sat, 28 Mar 2020 14:21:58 +0000 (15:21 +0100)]
Handle SIMD vectors in CPlace::place_field
bjorn3 [Fri, 27 Mar 2020 19:55:54 +0000 (20:55 +0100)]
Allow storing SIMD vectors in SSA values
bjorn3 [Fri, 24 Jul 2020 12:21:31 +0000 (14:21 +0200)]
Default cargo.sh to release build of cg_clif
bjorn3 [Thu, 23 Jul 2020 16:07:38 +0000 (18:07 +0200)]
Fix -Zpolymorphize
bjorn3 [Thu, 23 Jul 2020 10:37:27 +0000 (12:37 +0200)]
Add unaligned_volatile_{load,store} intrinsics
bjorn3 [Thu, 23 Jul 2020 10:37:03 +0000 (12:37 +0200)]
Fix multiple inline asm blocks in the same function
bjorn3 [Thu, 23 Jul 2020 09:42:44 +0000 (11:42 +0200)]
Rustup to rustc 1.47.0-nightly (
bbebe7351 2020-07-22)
bjorn3 [Mon, 20 Jul 2020 22:22:53 +0000 (00:22 +0200)]
Update README.md for #1068
bjorn3 [Sun, 19 Jul 2020 12:54:18 +0000 (14:54 +0200)]
Implement simd_insert
bjorn3 [Sun, 19 Jul 2020 12:45:58 +0000 (14:45 +0200)]
Use SystemV abi for extern "sysv64" even on Windows
bjorn3 [Fri, 17 Jul 2020 17:18:40 +0000 (19:18 +0200)]
Update log dependency
bjorn3 [Fri, 17 Jul 2020 17:15:33 +0000 (19:15 +0200)]
Rustup to rustc 1.46.0-nightly (
5c9e5df3a 2020-07-16)
bjorn3 [Fri, 17 Jul 2020 11:07:11 +0000 (13:07 +0200)]
Merge pull request #1068 from bjorn3/support_proc_macros
Pass ByRef values at fixed stack offset for extern "C"
bjorn3 [Mon, 20 Apr 2020 15:13:43 +0000 (17:13 +0200)]
Pass ByRef values at fixed stack offset for extern "C"
This makes it possible to build proc macros using cg_clif
bjorn3 [Thu, 16 Jul 2020 12:58:41 +0000 (14:58 +0200)]
Initialize the atomic mutex in a constructor for proc macros
bjorn3 [Mon, 29 Jun 2020 09:23:49 +0000 (11:23 +0200)]
Add test for SwitchInt on 128bit integers
bjorn3 [Thu, 16 Jul 2020 10:55:03 +0000 (12:55 +0200)]
Remove usage of extern_weak in fast_thread_local
bjorn3 [Sat, 11 Jul 2020 19:19:10 +0000 (21:19 +0200)]
Use builtin ranlib instead of running external ranlib
This makes it possible to create rlibs for any target without installing
a toolchain for the target
Fixes #763
bjorn3 [Tue, 14 Jul 2020 19:14:14 +0000 (21:14 +0200)]
Update Cranelift
Fixes #757 (through bytecodealliance/wasmtime#1939)
bjorn3 [Tue, 14 Jul 2020 14:38:50 +0000 (16:38 +0200)]
Use `From::from` instead of `as` where possible
bjorn3 [Mon, 13 Jul 2020 17:45:46 +0000 (19:45 +0200)]
No silent truncating of SwitchInt values
bjorn3 [Mon, 13 Jul 2020 17:41:52 +0000 (19:41 +0200)]
Update dependencies
bjorn3 [Mon, 13 Jul 2020 17:35:21 +0000 (19:35 +0200)]
Update Cranelift
bjorn3 [Mon, 13 Jul 2020 17:32:31 +0000 (19:32 +0200)]
Rustup to rustc 1.46.0-nightly (
9d09331e0 2020-07-12)
bjorn3 [Mon, 13 Jul 2020 09:45:16 +0000 (11:45 +0200)]
Move RUSTDOCFLAGS to config.sh
bjorn3 [Sun, 12 Jul 2020 19:08:00 +0000 (21:08 +0200)]
Set rust-analyzer.linkedProjects for vscode
bjorn3 [Sun, 12 Jul 2020 18:27:45 +0000 (20:27 +0200)]
Add simple profile filter rust script (#1065)
bjorn3 [Sat, 11 Jul 2020 09:02:23 +0000 (11:02 +0200)]
Make everything in example.rs public
bjorn3 [Fri, 10 Jul 2020 20:03:19 +0000 (22:03 +0200)]
Merge pull request #1064 from bjorn3/inline_asm
Basic inline asm support
bjorn3 [Fri, 10 Jul 2020 12:45:45 +0000 (14:45 +0200)]
Add basic inline asm support for x86_64
bjorn3 [Thu, 9 Jul 2020 17:24:53 +0000 (19:24 +0200)]
Move global_asm into CodegenCx
bjorn3 [Thu, 9 Jul 2020 17:15:28 +0000 (19:15 +0200)]
Merge pull request #1062 from bjorn3/global_asm
Implement global_asm! using an external assembler
bjorn3 [Thu, 9 Jul 2020 16:56:17 +0000 (18:56 +0200)]
Disable global_asm! on macOS for now
bjorn3 [Thu, 9 Jul 2020 16:55:46 +0000 (18:55 +0200)]
Infer the path of toolchain binaries from the linker path
bjorn3 [Thu, 9 Jul 2020 14:55:38 +0000 (16:55 +0200)]
Implement global_asm! using an external assembler
Fixes #1061
bjorn3 [Thu, 9 Jul 2020 13:25:37 +0000 (15:25 +0200)]
Handle SysV64 abi
bjorn3 [Thu, 9 Jul 2020 12:23:00 +0000 (14:23 +0200)]
Add a feature flag for the JIT
bjorn3 [Thu, 9 Jul 2020 11:23:45 +0000 (13:23 +0200)]
Update dependencies
bjorn3 [Thu, 9 Jul 2020 11:17:38 +0000 (13:17 +0200)]
Update Cranelift
bjorn3 [Thu, 9 Jul 2020 11:13:29 +0000 (13:13 +0200)]
Rustup to rustc 1.46.0-nightly (
8aa18cbdc 2020-07-08)
bjorn3 [Fri, 3 Jul 2020 16:23:53 +0000 (18:23 +0200)]
Account for Rvalue::AddressOf in analyze
bjorn3 [Fri, 3 Jul 2020 15:34:31 +0000 (17:34 +0200)]
Merge pull request #1058 from bjorn3/misc_rustc_test_suite_fixes
Misc rustc test suite fixes
bjorn3 [Fri, 3 Jul 2020 14:52:56 +0000 (16:52 +0200)]
Implement variant_count intrinisic
bjorn3 [Fri, 3 Jul 2020 14:52:37 +0000 (16:52 +0200)]
Validate simd and atomic intrinsic types