Commit Graph

1674 Commits

Author SHA1 Message Date
bjorn3
c1efc33941 Fix panic 2020-07-25 13:17:49 +02:00
bjorn3
e8f1c5c53a Don't forbid i64x2 as simd type 2020-07-25 12:29:55 +02:00
bjorn3
67028cee51 Use PassMode::ByVal for Abi::Vector 2020-07-25 12:29:55 +02:00
bjorn3
08fc673190 Handle SIMD vectors in CPlace::place_field 2020-07-25 12:28:24 +02:00
bjorn3
abc99c6259 Allow storing SIMD vectors in SSA values 2020-07-25 12:16:41 +02:00
bjorn3
66343bf4fc Default cargo.sh to release build of cg_clif 2020-07-24 14:21:31 +02:00
bjorn3
1b8df386aa Fix -Zpolymorphize 2020-07-23 18:08:15 +02:00
bjorn3
95511cb3ee Add unaligned_volatile_{load,store} intrinsics 2020-07-23 12:37:27 +02:00
bjorn3
3f2589acd9 Fix multiple inline asm blocks in the same function 2020-07-23 12:37:03 +02:00
bjorn3
1ffc3079b0 Rustup to rustc 1.47.0-nightly (bbebe7351 2020-07-22) 2020-07-23 12:13:22 +02:00
bjorn3
9b9a2e4f91
Update README.md for #1068 2020-07-21 00:22:53 +02:00
bjorn3
edc0a3470b Implement simd_insert 2020-07-19 14:54:18 +02:00
bjorn3
0b211be054 Use SystemV abi for extern "sysv64" even on Windows 2020-07-19 14:45:58 +02:00
bjorn3
26e7bc1ed6 Update log dependency 2020-07-17 19:18:40 +02:00
bjorn3
34823a7e4c Rustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16) 2020-07-17 19:15:33 +02:00
bjorn3
9e76c3e886
Merge pull request #1068 from bjorn3/support_proc_macros
Pass ByRef values at fixed stack offset for extern "C"
2020-07-17 13:07:11 +02:00
bjorn3
942039b232 Pass ByRef values at fixed stack offset for extern "C"
This makes it possible to build proc macros using cg_clif
2020-07-17 12:41:01 +02:00
bjorn3
ccfd1b9334 Initialize the atomic mutex in a constructor for proc macros 2020-07-16 14:58:41 +02:00
bjorn3
e87651c3f2 Add test for SwitchInt on 128bit integers 2020-07-16 13:01:20 +02:00
bjorn3
4a21cff957 Remove usage of extern_weak in fast_thread_local 2020-07-16 12:55:03 +02:00
bjorn3
748d516e0d 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
2020-07-15 16:28:21 +02:00
bjorn3
3e67eb1b44 Update Cranelift
Fixes #757 (through bytecodealliance/wasmtime#1939)
2020-07-14 21:14:14 +02:00
bjorn3
a0580610b2 Use From::from instead of as where possible 2020-07-14 16:38:50 +02:00
bjorn3
4ec2831ebc No silent truncating of SwitchInt values 2020-07-13 19:45:46 +02:00
bjorn3
8dfb1daea7 Update dependencies 2020-07-13 19:41:52 +02:00
bjorn3
3dd65486f4 Update Cranelift 2020-07-13 19:35:21 +02:00
bjorn3
c9d5e7da58 Rustup to rustc 1.46.0-nightly (9d09331e0 2020-07-12) 2020-07-13 19:32:31 +02:00
bjorn3
d983813e0f Move RUSTDOCFLAGS to config.sh 2020-07-13 11:45:16 +02:00
bjorn3
cc8744c004 Set rust-analyzer.linkedProjects for vscode 2020-07-12 21:08:00 +02:00
bjorn3
2ab1084ed4
Add simple profile filter rust script (#1065) 2020-07-12 20:27:45 +02:00
bjorn3
190e36a5f8 Make everything in example.rs public 2020-07-11 11:02:23 +02:00
bjorn3
c73b9d2e86
Merge pull request #1064 from bjorn3/inline_asm
Basic inline asm support
2020-07-10 22:03:19 +02:00
bjorn3
726e329f46 Add basic inline asm support for x86_64 2020-07-10 21:34:26 +02:00
bjorn3
35701d8caa Move global_asm into CodegenCx 2020-07-09 19:24:53 +02:00
bjorn3
548c46fe9d
Merge pull request #1062 from bjorn3/global_asm
Implement global_asm! using an external assembler
2020-07-09 19:15:28 +02:00
bjorn3
8cf38181ad Disable global_asm! on macOS for now 2020-07-09 18:56:17 +02:00
bjorn3
893497c93e Infer the path of toolchain binaries from the linker path 2020-07-09 18:55:46 +02:00
bjorn3
037d411bf4 Implement global_asm! using an external assembler
Fixes #1061
2020-07-09 17:02:09 +02:00
bjorn3
1987a3b6c0 Handle SysV64 abi 2020-07-09 15:25:37 +02:00
bjorn3
ac77371852 Add a feature flag for the JIT 2020-07-09 14:23:00 +02:00
bjorn3
b6150be206 Update dependencies 2020-07-09 13:23:45 +02:00
bjorn3
8e519643d2 Update Cranelift 2020-07-09 13:17:38 +02:00
bjorn3
bbe8bedd2a Rustup to rustc 1.46.0-nightly (8aa18cbdc 2020-07-08) 2020-07-09 13:13:29 +02:00
bjorn3
6089a68718 Account for Rvalue::AddressOf in analyze 2020-07-03 18:28:26 +02:00
bjorn3
05fc1f4add
Merge pull request #1058 from bjorn3/misc_rustc_test_suite_fixes
Misc rustc test suite fixes
2020-07-03 17:34:31 +02:00
bjorn3
6345e4a1bc Implement variant_count intrinisic 2020-07-03 16:52:56 +02:00
bjorn3
699da394cc Validate simd and atomic intrinsic types 2020-07-03 16:52:37 +02:00
bjorn3
8d639cd778 Test signed 128bit discriminants 2020-07-03 16:44:26 +02:00
bjorn3
4ada18fd77 Add sess.abort_if_errors() to link 2020-07-03 16:43:59 +02:00
bjorn3
92dc61aba2 Only display codegen time when CG_CLIF_DISPLAY_CG_TIME=1 2020-07-03 16:43:26 +02:00