bjorn3
|
0b211be054
|
Use SystemV abi for extern "sysv64" even on Windows
|
2020-07-19 14:45:58 +02:00 |
|
bjorn3
|
34823a7e4c
|
Rustup to rustc 1.46.0-nightly (5c9e5df3a 2020-07-16)
|
2020-07-17 19:15:33 +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
|
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
|
c9d5e7da58
|
Rustup to rustc 1.46.0-nightly (9d09331e0 2020-07-12)
|
2020-07-13 19:32:31 +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
|
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
|
6089a68718
|
Account for Rvalue::AddressOf in analyze
|
2020-07-03 18:28:26 +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
|
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 |
|
bjorn3
|
798fb85651
|
Fix assert_assignable
|
2020-07-03 16:40:57 +02:00 |
|
bjorn3
|
21edec4ea5
|
Fix core::hint::black_box support
|
2020-07-03 16:39:36 +02:00 |
|
bjorn3
|
d032c24476
|
Merge pull request #1057 from spastorino/store-pairs-in-ssa
Store pairs in ssa
|
2020-07-03 15:04:29 +02:00 |
|
Santiago Pastorino
|
ef01b4e3dd
|
Store fat pointers in ssa variables
|
2020-07-03 09:48:22 -03:00 |
|
Santiago Pastorino
|
9ec2be7d63
|
Extract transmute_value as a function to avoid code repetition
|
2020-07-03 09:43:02 -03:00 |
|
Santiago Pastorino
|
aa80ed0a2d
|
Store pairs in SSA
|
2020-07-02 19:23:21 -03:00 |
|
bjorn3
|
f3a91164a2
|
Rustup to rustc 1.46.0-nightly (f781babf8 2020-07-01)
|
2020-07-02 19:48:03 +02:00 |
|
bjorn3
|
a299d0e632
|
Don't panic on unevaluatable promoted constants
|
2020-07-01 14:15:23 +02:00 |
|
bjorn3
|
eb89a2c092
|
Implement float_to_int_unchecked intrinsic
|
2020-06-30 19:02:00 +02:00 |
|
bjorn3
|
c674a32ab8
|
Implement f*_fast intrinsics
|
2020-06-30 19:01:17 +02:00 |
|
bjorn3
|
f5f24c7a5c
|
Implement a few volatile intrinsics
|
2020-06-30 19:00:52 +02:00 |
|
bjorn3
|
bf2ba15972
|
When casting enum to integer sign extend the discriminant if necessary
|
2020-06-30 18:59:58 +02:00 |
|
bjorn3
|
cc0268fa1a
|
Mask shift amount
|
2020-06-30 18:56:53 +02:00 |
|
bjorn3
|
e2ab2885c2
|
Mark allocations as mutable when necessary
|
2020-06-30 18:55:33 +02:00 |
|
bjorn3
|
aa6a4acd78
|
Fix ptr_offset_from intrinsic
|
2020-06-30 18:53:47 +02:00 |
|
bjorn3
|
de336e17e4
|
Fix trap_unreachable_ret_value
|
2020-06-30 18:52:32 +02:00 |
|
bjorn3
|
3227203fe6
|
Don't use a 1-to-1 mapping between mir local and cranelift_frontend variable
|
2020-06-27 14:29:28 +02:00 |
|
bjorn3
|
48d4bc2fb6
|
Rustup to rustc 1.46.0-nightly (7750c3d46 2020-06-26)
|
2020-06-27 11:29:39 +02:00 |
|
bjorn3
|
a3cd293148
|
Don't perform a double substitution in some cases
|
2020-06-24 12:10:20 +02:00 |
|
bjorn3
|
98c83d21f5
|
Remove leftover of removed hack
|
2020-06-24 11:54:11 +02:00 |
|
bjorn3
|
1f3dd4f91c
|
Prevent different vtables with the same name
Fixes #987
|
2020-06-23 11:41:35 +02:00 |
|
bjorn3
|
9c0d18c8db
|
Simplify assert_assignable
Assignments are no longer used to implicitly cast between &mut T and &T
|
2020-06-21 10:35:45 +02:00 |
|
bjorn3
|
b79102c933
|
Disable "LTO is not supported" warning for sysroot build
|
2020-06-20 19:14:58 +02:00 |
|
bjorn3
|
fc5e583006
|
Warn on unsupported pass modes for extern "C"
cc #10
|
2020-06-20 19:03:54 +02:00 |
|
bjorn3
|
eb8fd197ab
|
Prelude cleanup
|
2020-06-20 18:44:49 +02:00 |
|
bjorn3
|
431cebdca1
|
Introduce #[cfg(target_feature = "cg_clif")]
|
2020-06-20 16:22:03 +02:00 |
|
bjorn3
|
5f54cc7658
|
Implement checked_mul
Fixes #6
|
2020-06-20 15:15:28 +02:00 |
|
bjorn3
|
ef4186a85b
|
Use Cranelift legalization for icmp.i128
The previous translation was wrong for signed 128bit comparisions
This fixes several libcore tests
|
2020-06-20 13:23:31 +02:00 |
|
bjorn3
|
5c6bf836fe
|
Implement #[link_section]
Fixes #1047
|
2020-06-20 12:01:24 +02:00 |
|