]> git.lizzy.rs Git - rust.git/log
rust.git
3 years agoFix miscompilation in previous commit
bjorn3 [Mon, 14 Sep 2020 09:44:53 +0000 (11:44 +0200)]
Fix miscompilation in previous commit

3 years agoUse don't unroll loop in Rvalue::Repeat
bjorn3 [Mon, 14 Sep 2020 09:32:18 +0000 (11:32 +0200)]
Use don't unroll loop in Rvalue::Repeat

Fixes #1081

3 years agoRustup to rustc 1.48.0-nightly (7402a3944 2020-09-13)
bjorn3 [Mon, 14 Sep 2020 08:56:37 +0000 (10:56 +0200)]
Rustup to rustc 1.48.0-nightly (7402a3944 2020-09-13)

3 years agoFix typo
bjorn3 [Mon, 14 Sep 2020 08:32:37 +0000 (10:32 +0200)]
Fix typo

3 years agoRustup to rustc 1.48.0-nightly (73dc675b9 2020-09-06)
bjorn3 [Mon, 7 Sep 2020 19:16:35 +0000 (21:16 +0200)]
Rustup to rustc 1.48.0-nightly (73dc675b9 2020-09-06)

3 years agoFix dylib metadata writing
bjorn3 [Sat, 5 Sep 2020 09:00:34 +0000 (11:00 +0200)]
Fix dylib metadata writing

Rustc switched from flate2 to snappy

3 years agoRustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)
bjorn3 [Sat, 5 Sep 2020 08:38:49 +0000 (10:38 +0200)]
Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04)

3 years agoMerge pull request #1080 from mbrubeck/deps
bjorn3 [Thu, 3 Sep 2020 23:00:12 +0000 (01:00 +0200)]
Merge pull request #1080 from mbrubeck/deps

Update to hashbrown 0.9

3 years agoUpdate to hashbrown 0.9
Matt Brubeck [Thu, 3 Sep 2020 22:38:57 +0000 (15:38 -0700)]
Update to hashbrown 0.9

3 years agoOptimize SwitchInt for bools
bjorn3 [Sun, 30 Aug 2020 11:02:53 +0000 (13:02 +0200)]
Optimize SwitchInt for bools

3 years agoSet notrap flag on loads and stores
bjorn3 [Sun, 30 Aug 2020 09:14:11 +0000 (11:14 +0200)]
Set notrap flag on loads and stores

3 years agoMerge pull request #1079 from CohenArthur/fmt-master
bjorn3 [Fri, 28 Aug 2020 12:09:34 +0000 (14:09 +0200)]
Merge pull request #1079 from CohenArthur/fmt-master

Run cargo fmt on the whole project

3 years agofmt: Skip whole module with bang
CohenArthur [Fri, 28 Aug 2020 10:28:55 +0000 (12:28 +0200)]
fmt: Skip whole module with bang

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
3 years agooptimize: Remove conditional compilation on instance
CohenArthur [Fri, 28 Aug 2020 10:26:52 +0000 (12:26 +0200)]
optimize: Remove conditional compilation on instance

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
3 years agofmt: Skip src/target_features_whitelist.rs
CohenArthur [Fri, 28 Aug 2020 10:23:01 +0000 (12:23 +0200)]
fmt: Skip src/target_features_whitelist.rs

3 years agofmt: Skip fn_sig_for_fn_abi()
CohenArthur [Fri, 28 Aug 2020 10:20:24 +0000 (12:20 +0200)]
fmt: Skip fn_sig_for_fn_abi()

3 years agofmt: Run cargo fmt since it is available
CohenArthur [Fri, 28 Aug 2020 10:10:48 +0000 (12:10 +0200)]
fmt: Run cargo fmt since it is available

3 years agoAvoid temporary stack slot in drop codegen
bjorn3 [Tue, 25 Aug 2020 16:31:59 +0000 (18:31 +0200)]
Avoid temporary stack slot in drop codegen

cc #322

3 years agoMerge pull request #1078 from CohenArthur/remove-clone-on-nop-filling
bjorn3 [Sun, 23 Aug 2020 20:09:08 +0000 (22:09 +0200)]
Merge pull request #1078 from CohenArthur/remove-clone-on-nop-filling

Remove clone() when removing extra stack operations

3 years agostack2reg: Switch to hashbrown::HashSet
CohenArthur [Sun, 23 Aug 2020 19:44:00 +0000 (21:44 +0200)]
stack2reg: Switch to hashbrown::HashSet

3 years agostack2reg: Drain instead of only iterating
CohenArthur [Sun, 23 Aug 2020 16:36:42 +0000 (18:36 +0200)]
stack2reg: Drain instead of only iterating

3 years agostack2reg: Remove clone() using filters
CohenArthur [Sun, 23 Aug 2020 16:16:36 +0000 (18:16 +0200)]
stack2reg: Remove clone() using filters

3 years agostack2reg: Remove self in remove_unused_stack_addr and()
CohenArthur [Sun, 23 Aug 2020 15:55:35 +0000 (17:55 +0200)]
stack2reg: Remove self in remove_unused_stack_addr and()
remove_unused_load()

3 years agostack2reg: Re-add clone() to stop CI
CohenArthur [Sun, 23 Aug 2020 15:31:07 +0000 (17:31 +0200)]
stack2reg: Re-add clone() to stop CI

3 years agoremove_unused_stack_addr_and_stack_load: Remove clone()
CohenArthur [Sun, 23 Aug 2020 13:00:09 +0000 (15:00 +0200)]
remove_unused_stack_addr_and_stack_load: Remove clone()

3 years agoRustup to rustc 1.47.0-nightly (663d2f5cd 2020-08-22)
bjorn3 [Sun, 23 Aug 2020 09:36:28 +0000 (11:36 +0200)]
Rustup to rustc 1.47.0-nightly (663d2f5cd 2020-08-22)

3 years agoMerge pull request #1077 from CohenArthur/fix-linkage-export-hidden
bjorn3 [Sat, 22 Aug 2020 17:59:41 +0000 (19:59 +0200)]
Merge pull request #1077 from CohenArthur/fix-linkage-export-hidden

Change linkage to hidden on non-exported symbols

3 years agoMerge pull request #1076 from CohenArthur/use-codegencx-in-functioncx
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

3 years agotrans_fn: Cleanup code
CohenArthur [Sat, 22 Aug 2020 17:05:22 +0000 (19:05 +0200)]
trans_fn: Cleanup code

3 years agotrans_fn: Use replace() instead of new() + swap()
CohenArthur [Sat, 22 Aug 2020 17:03:35 +0000 (19:03 +0200)]
trans_fn: Use replace() instead of new() + swap()

3 years agoFunctionCx: Swap context.func and empty function correctly
CohenArthur [Sat, 22 Aug 2020 16:53:34 +0000 (18:53 +0200)]
FunctionCx: Swap context.func and empty function correctly

3 years agoFunctionCx: Refactor `fx.cx.tcx` into `fx.tcx`
CohenArthur [Sat, 22 Aug 2020 14:47:31 +0000 (16:47 +0200)]
FunctionCx: Refactor `fx.cx.tcx` into `fx.tcx`

3 years agoFunctionCx: Add tcx field for easier access
CohenArthur [Sat, 22 Aug 2020 14:45:50 +0000 (16:45 +0200)]
FunctionCx: Add tcx field for easier access

3 years agoFunctionCx: Fix FunctionCx initialization in trans_fn()
CohenArthur [Sat, 22 Aug 2020 14:40:58 +0000 (16:40 +0200)]
FunctionCx: Fix FunctionCx initialization in trans_fn()

3 years agoFunctionCx: Rename codegen_cx -> cx
CohenArthur [Sat, 22 Aug 2020 14:17:58 +0000 (16:17 +0200)]
FunctionCx: Rename codegen_cx -> cx

3 years agoFunctionCx: Fix field usage in inline_asm and vtable modules
CohenArthur [Sat, 22 Aug 2020 14:14:33 +0000 (16:14 +0200)]
FunctionCx: Fix field usage in inline_asm and vtable modules

3 years agoFunctionCx: WIP: Remove more common fields from CodegenCx
CohenArthur [Sat, 22 Aug 2020 13:49:16 +0000 (15:49 +0200)]
FunctionCx: WIP: Remove more common fields from CodegenCx

3 years agoFunctionCx: WIP: Fix overzealous sed usage
CohenArthur [Sat, 22 Aug 2020 13:25:36 +0000 (15:25 +0200)]
FunctionCx: WIP: Fix overzealous sed usage

3 years agoFunctionCx: WIP: Fix syntax error on sed codegen_cx -> .codegen_cx
CohenArthur [Sat, 22 Aug 2020 13:21:38 +0000 (15:21 +0200)]
FunctionCx: WIP: Fix syntax error on sed codegen_cx -> .codegen_cx

3 years agoFunctionCx: WIP: Replace .constants with codegen_cx.constants
CohenArthur [Sat, 22 Aug 2020 13:19:48 +0000 (15:19 +0200)]
FunctionCx: WIP: Replace .constants with codegen_cx.constants

3 years agoFunctionCx: Replace .module with .codegen_cx.module
CohenArthur [Sat, 22 Aug 2020 13:19:09 +0000 (15:19 +0200)]
FunctionCx: Replace .module with .codegen_cx.module

3 years agoFunctionCx: WIP: Replace .tcx with .codegen_cx.tcx
CohenArthur [Sat, 22 Aug 2020 13:18:39 +0000 (15:18 +0200)]
FunctionCx: WIP: Replace .tcx with .codegen_cx.tcx

3 years agoFunctionCx: Store reference to CodegenCx instead
CohenArthur [Sat, 22 Aug 2020 13:18:10 +0000 (15:18 +0200)]
FunctionCx: Store reference to CodegenCx instead

3 years agolinkage: Change linkage to hidden on non-exported symbols
CohenArthur [Sat, 22 Aug 2020 11:43:47 +0000 (13:43 +0200)]
linkage: Change linkage to hidden on non-exported symbols

3 years agoMerge pull request #1075 from CohenArthur/add-null-after-argv
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

3 years agojit: Add `NULL` as terminating argv
CohenArthur [Sat, 22 Aug 2020 09:24:02 +0000 (11:24 +0200)]
jit: Add `NULL` as terminating argv

3 years agoEvaluate all mir.required_consts and report any errors
bjorn3 [Thu, 20 Aug 2020 14:51:01 +0000 (16:51 +0200)]
Evaluate all mir.required_consts and report any errors

Fixes #981

3 years agoMerge pull request #1074 from bjorn3/fix_weak_linkage
bjorn3 [Thu, 20 Aug 2020 14:01:42 +0000 (16:01 +0200)]
Merge pull request #1074 from bjorn3/fix_weak_linkage

Fix weak linkage

3 years agoFix 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

3 years agoUpdate Cranelift and object
bjorn3 [Thu, 20 Aug 2020 13:21:26 +0000 (15:21 +0200)]
Update Cranelift and object

3 years agoDon't test x86_64 simd on archs other than x86_64
bjorn3 [Thu, 20 Aug 2020 11:22:07 +0000 (13:22 +0200)]
Don't test x86_64 simd on archs other than x86_64

3 years agoUpdate target_feature_whitelist
bjorn3 [Wed, 19 Aug 2020 16:52:56 +0000 (18:52 +0200)]
Update target_feature_whitelist

3 years agoBump actions/cache to v2
bjorn3 [Wed, 19 Aug 2020 12:14:32 +0000 (14:14 +0200)]
Bump actions/cache to v2

3 years agoDon't disable incremental cache for cargo.sh
bjorn3 [Wed, 19 Aug 2020 12:07:43 +0000 (14:07 +0200)]
Don't disable incremental cache for cargo.sh

cc #1052

3 years ago[gh actions] Remove actions-rs/cargo step
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

3 years agoAdd workaround for rust-lang/rust#74946
bjorn3 [Wed, 19 Aug 2020 11:51:49 +0000 (13:51 +0200)]
Add workaround for rust-lang/rust#74946

Fixes #1072

3 years agoEnforce linux style line endings to support WSL (#1073)
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>
3 years agoFix panic in when debug assertions are enabled
bjorn3 [Sun, 16 Aug 2020 18:55:22 +0000 (20:55 +0200)]
Fix panic in when debug assertions are enabled

3 years agoFix ambiguity between object and cranelift_object::object
bjorn3 [Sun, 16 Aug 2020 09:48:46 +0000 (11:48 +0200)]
Fix ambiguity between object and cranelift_object::object

3 years agoMerge pull request #1070 from bjorn3/cpuid
bjorn3 [Sat, 15 Aug 2020 19:27:06 +0000 (21:27 +0200)]
Merge pull request #1070 from bjorn3/cpuid

Emulate cpuid

3 years agoRemove cg_clif fake target feature
bjorn3 [Sat, 15 Aug 2020 19:04:33 +0000 (21:04 +0200)]
Remove cg_clif fake target feature

3 years agoFix ppv-lite86 with simd enabled
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

3 years agoEmulate the cpuid arch intrinsic
bjorn3 [Sat, 15 Aug 2020 16:55:32 +0000 (18:55 +0200)]
Emulate the cpuid arch intrinsic

3 years agoDisable the inline asm support using a feature flag
bjorn3 [Sat, 15 Aug 2020 12:19:23 +0000 (14:19 +0200)]
Disable the inline asm support using a feature flag

3 years agoRustup to rustc 1.47.0-nightly (ceedf1d5f 2020-08-08)
bjorn3 [Sun, 9 Aug 2020 17:42:37 +0000 (19:42 +0200)]
Rustup to rustc 1.47.0-nightly (ceedf1d5f 2020-08-08)

3 years agoEnable simd insert and extract tests
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

3 years agoRustup to rustc 1.47.0-nightly (09f4c9f50 2020-08-07)
bjorn3 [Sat, 8 Aug 2020 14:30:22 +0000 (16:30 +0200)]
Rustup to rustc 1.47.0-nightly (09f4c9f50 2020-08-07)

3 years agoRemove ArchiveConfig
bjorn3 [Sat, 8 Aug 2020 14:19:42 +0000 (16:19 +0200)]
Remove ArchiveConfig

3 years agoFix some warnings
bjorn3 [Sat, 8 Aug 2020 14:17:34 +0000 (16:17 +0200)]
Fix some warnings

3 years agoDon't panic on io errors
bjorn3 [Sat, 8 Aug 2020 14:14:11 +0000 (16:14 +0200)]
Don't panic on io errors

Fixes #920

4 years agoUpdate syn
bjorn3 [Wed, 5 Aug 2020 12:02:54 +0000 (14:02 +0200)]
Update syn

4 years agoUpdate Cranelift
bjorn3 [Wed, 5 Aug 2020 11:59:35 +0000 (13:59 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.47.0-nightly (f9d422ea7 2020-08-04)
bjorn3 [Wed, 5 Aug 2020 11:55:27 +0000 (13:55 +0200)]
Rustup to rustc 1.47.0-nightly (f9d422ea7 2020-08-04)

4 years agoMerge pull request #1069 from Veetaha/feat/remove-perms-workaround
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

4 years agoRemove cargo home perms workaround
Veetaha [Tue, 4 Aug 2020 00:33:31 +0000 (03:33 +0300)]
Remove cargo home perms workaround

4 years agoUpdate dependencies
bjorn3 [Thu, 30 Jul 2020 14:43:53 +0000 (16:43 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Thu, 30 Jul 2020 14:37:31 +0000 (16:37 +0200)]
Update Cranelift

4 years agoFix test path
bjorn3 [Thu, 30 Jul 2020 13:14:19 +0000 (15:14 +0200)]
Fix test path

4 years agoRustup to rustc 1.47.0-nightly (db0492ace 2020-07-29)
bjorn3 [Thu, 30 Jul 2020 12:58:27 +0000 (14:58 +0200)]
Rustup to rustc 1.47.0-nightly (db0492ace 2020-07-29)

4 years agoMerge pull request #951 from bjorn3/simd_improvements
bjorn3 [Sat, 25 Jul 2020 14:31:43 +0000 (16:31 +0200)]
Merge pull request #951 from bjorn3/simd_improvements

Simd improvements

4 years agoUse nehalem instead of haswell as target cpu
bjorn3 [Sat, 25 Jul 2020 14:15:42 +0000 (16:15 +0200)]
Use nehalem instead of haswell as target cpu

4 years agoFix panic
bjorn3 [Sat, 25 Jul 2020 11:17:49 +0000 (13:17 +0200)]
Fix panic

4 years agoDon't forbid i64x2 as simd type
bjorn3 [Sun, 29 Mar 2020 10:02:00 +0000 (12:02 +0200)]
Don't forbid i64x2 as simd type

4 years agoUse PassMode::ByVal for Abi::Vector
bjorn3 [Sat, 28 Mar 2020 14:33:50 +0000 (15:33 +0100)]
Use PassMode::ByVal for Abi::Vector

4 years agoHandle SIMD vectors in CPlace::place_field
bjorn3 [Sat, 28 Mar 2020 14:21:58 +0000 (15:21 +0100)]
Handle SIMD vectors in CPlace::place_field

4 years agoAllow storing SIMD vectors in SSA values
bjorn3 [Fri, 27 Mar 2020 19:55:54 +0000 (20:55 +0100)]
Allow storing SIMD vectors in SSA values

4 years agoDefault cargo.sh to release build of cg_clif
bjorn3 [Fri, 24 Jul 2020 12:21:31 +0000 (14:21 +0200)]
Default cargo.sh to release build of cg_clif

4 years agoFix -Zpolymorphize
bjorn3 [Thu, 23 Jul 2020 16:07:38 +0000 (18:07 +0200)]
Fix -Zpolymorphize

4 years agoAdd unaligned_volatile_{load,store} intrinsics
bjorn3 [Thu, 23 Jul 2020 10:37:27 +0000 (12:37 +0200)]
Add unaligned_volatile_{load,store} intrinsics

4 years agoFix multiple inline asm blocks in the same function
bjorn3 [Thu, 23 Jul 2020 10:37:03 +0000 (12:37 +0200)]
Fix multiple inline asm blocks in the same function

4 years agoRustup to rustc 1.47.0-nightly (bbebe7351 2020-07-22)
bjorn3 [Thu, 23 Jul 2020 09:42:44 +0000 (11:42 +0200)]
Rustup to rustc 1.47.0-nightly (bbebe7351 2020-07-22)

4 years agoUpdate README.md for #1068
bjorn3 [Mon, 20 Jul 2020 22:22:53 +0000 (00:22 +0200)]
Update README.md for #1068

4 years agoImplement simd_insert
bjorn3 [Sun, 19 Jul 2020 12:54:18 +0000 (14:54 +0200)]
Implement simd_insert

4 years agoUse SystemV abi for extern "sysv64" even on Windows
bjorn3 [Sun, 19 Jul 2020 12:45:58 +0000 (14:45 +0200)]
Use SystemV abi for extern "sysv64" even on Windows

4 years agoUpdate log dependency
bjorn3 [Fri, 17 Jul 2020 17:18:40 +0000 (19:18 +0200)]
Update log dependency

4 years agoRustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16)
bjorn3 [Fri, 17 Jul 2020 17:15:33 +0000 (19:15 +0200)]
Rustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16)

4 years agoMerge pull request #1068 from bjorn3/support_proc_macros
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"

4 years agoPass 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

4 years agoInitialize the atomic mutex in a constructor for proc macros
bjorn3 [Thu, 16 Jul 2020 12:58:41 +0000 (14:58 +0200)]
Initialize the atomic mutex in a constructor for proc macros

4 years agoAdd test for SwitchInt on 128bit integers
bjorn3 [Mon, 29 Jun 2020 09:23:49 +0000 (11:23 +0200)]
Add test for SwitchInt on 128bit integers