Commit Graph

213 Commits

Author SHA1 Message Date
bjorn3
39cfb1e51f Workaround for missing select.i8 encoding 2018-10-07 11:31:42 +02:00
bjorn3
0fa547ac98 Use absolute compile time paths for some log files 2018-10-06 14:48:34 +02:00
bjorn3
f4e544894a Implement Rvalue::Len for arrays 2018-10-06 13:50:31 +02:00
bjorn3
ab57af4e6a Fix projection of sized field in unsized type 2018-10-06 11:21:18 +02:00
bjorn3
f16947dfb4 Implement intrinsic write_bytes 2018-10-06 10:43:01 +02:00
bjorn3
f8e2ce6b4b Implement a lot of atomic intrinsics 2018-10-06 10:24:09 +02:00
bjorn3
42b80c21af Improve dsl 2018-10-05 20:11:47 +02:00
bjorn3
a1bb16fdc3 Use dsl for declaring intrinsic codegen 2018-10-05 19:55:06 +02:00
bjorn3
cd4bcb7a2c Rustup to rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04) 2018-10-05 19:24:39 +02:00
bjorn3
a94dd977bf Move intrinsics codegen to intrinsics.rs 2018-10-03 18:21:52 +02:00
bjorn3
6289d212fb Implement atomic_singlethreadfence_* 2018-10-03 18:12:15 +02:00
bjorn3
1694b07b87 Implement intrinsic init 2018-10-02 18:41:16 +02:00
bjorn3
fce5fa5231 Rustup to rustc 1.31.0-nightly (de3d640f5 2018-10-01), fix a atomic bug and implement intrinsic bitreverse 2018-10-02 18:12:03 +02:00
bjorn3
69fe4d6f92 Workaround some missing encodings in cranelift 2018-09-30 16:33:55 +02:00
bjorn3
ed996759f1 Rustup 2018-09-28 18:21:11 +02:00
bjorn3
0c42107ea6 EntityMap got renamed to SecondaryMap 2018-09-27 19:19:16 +02:00
bjorn3
742a795c78 Use FunctionBuilder::call_mem{cpy,move} 2018-09-26 15:42:07 +02:00
bjorn3
16e936b93f Rustfmt 2018-09-26 15:40:11 +02:00
bjorn3
889150a4f9 Implement binop eq and ne for fat ptr's 2018-09-25 18:35:13 +02:00
bjorn3
b11cb572dc Use cranelift_frontend::Switch for switchInt 2018-09-25 18:04:30 +02:00
bjorn3
a99e458022 Rustup to rustc 1.30.0-nightly (f49f6e73a 2018-09-23) 2018-09-24 19:31:46 +02:00
bjorn3
5b721a2940 Rustup to rustc 1.30.0-nightly (4591a245c 2018-09-22) 2018-09-23 10:16:26 +02:00
bjorn3
a83e7766b7 Update Cargo.lock 2018-09-22 13:55:23 +02:00
bjorn3
46581af155 Replace an unimplemented! with a bug! 2018-09-18 18:46:17 +02:00
bjorn3
a1b8e02a88 Rustup to rustc 1.30.0-nightly (cb6d2dfa8 2018-09-16) 2018-09-17 18:49:10 +02:00
bjorn3
39fbea8c1b Better error message for unsupported "C" abi args 2018-09-16 18:46:19 +02:00
bjorn3
7c510c0661 Remove some code 2018-09-16 17:48:13 +02:00
bjorn3
7168563649 Implement function reference in static 2018-09-16 16:21:07 +02:00
bjorn3
d5bfb76216 Implement some atomic intrinsics in a non atomic version 2018-09-16 16:01:26 +02:00
bjorn3
470a310f2e Implement place_field for unsized places 2018-09-16 15:28:27 +02:00
bjorn3
086ff67cff Implement returning ! for "C" abi 2018-09-16 14:59:49 +02:00
bjorn3
19eb4194b2 Fix unsize coerce for structs containing PhantomData like Unique 2018-09-16 14:49:45 +02:00
bjorn3
73248114ea Implement unsize of adt's (cc #14) 2018-09-16 12:02:03 +02:00
bjorn3
1f1746e2d3 Implement intrinsic min_align_of_val 2018-09-15 11:14:27 +02:00
bjorn3
6e87a4f16d Rustup to rustc 1.30.0-nightly (2ab3eba30 2018-09-14) 2018-09-15 10:44:23 +02:00
bjorn3
0fb7c4d1b9 Implement some intrinsics and fix a codegen error
* intrinsic size_of_val for sized types
* intrinsic needs_drop
* incorrect codegen for UnOp::Not for bools
2018-09-14 19:49:33 +02:00
bjorn3
59518987ed Implement drop support (fixes #11) 2018-09-12 14:40:06 +02:00
bjorn3
29c8fcfc24 Rustup to rustc 1.30.0-nightly (2f1547c0a 2018-09-11) 2018-09-12 14:16:28 +02:00
bjorn3
e7ca9a186b Fix jit 2018-09-09 14:45:23 +02:00
bjorn3
6196146ac4 Implement trait objects (cc #14) 2018-09-08 18:00:06 +02:00
bjorn3
62a0203a5a Rustfmt 2018-09-08 17:24:52 +02:00
bjorn3
252607ae41 Don't use write_mir_pretty for non local mir 2018-09-08 17:23:03 +02:00
bjorn3
9f489bc8de Don't require abi of defined function to be rust or rust-call 2018-09-08 14:44:32 +02:00
bjorn3
9ede386054 Don't call seal_all_blocks and finalize twice 2018-09-08 14:18:08 +02:00
bjorn3
feee8b2445 Misc changes to abi.rs 2018-09-08 11:20:15 +02:00
bjorn3
871792d9ab Implement intrinsic size_of_val for slices 2018-09-06 18:45:29 +02:00
bjorn3
4c0a2ff59b Don't print Storage{Live,Dead} as comment in debug clif 2018-09-06 17:39:01 +02:00
bjorn3
d549d0f180 Update Cargo.lock 2018-09-05 19:43:42 +02:00
bjorn3
8adc744645 Implement Box rvalue 2018-09-04 19:04:25 +02:00
bjorn3
42066522fb Perform some optimizations 2018-09-02 13:36:45 +02:00