Commit Graph

334 Commits

Author SHA1 Message Date
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
62af9c9a04
Update Readme.md 2018-10-05 08:34:26 +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
dependabot[bot]
d8255dac7d
Merge pull request #72 from bjorn3/dependabot/cargo/cranelift-0fd3769 2018-10-03 07:15:19 +00:00
dependabot[bot]
87eab0a51e
Bump cranelift from 191638e to 0fd3769
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `191638e` to `0fd3769`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](191638ebe0...0fd3769a49)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-03 05:43:03 +00: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
3965a65a79 Optimize all dependencies in debug mode 2018-09-30 10:35:44 +02:00
dependabot[bot]
ca25489bdd
Merge pull request #63 from bjorn3/dependabot/cargo/cranelift-191638e 2018-09-28 16:31:16 +00:00
bjorn3
ed996759f1 Rustup 2018-09-28 18:21:11 +02:00
dependabot[bot]
84e8585c7d
Bump cranelift from 0199e3d to 191638e
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `0199e3d` to `191638e`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](0199e3d828...191638ebe0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-28 05:39:32 +00:00
dependabot[bot]
efeb0e739e
Merge pull request #58 from bjorn3/dependabot/cargo/cranelift-0199e3d 2018-09-27 17:29:04 +00:00
bjorn3
0c42107ea6 EntityMap got renamed to SecondaryMap 2018-09-27 19:19:16 +02:00
dependabot[bot]
53b53c77d9
Bump cranelift from 8a79275 to 0199e3d
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `8a79275` to `0199e3d`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](8a79275d89...0199e3d828)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-27 05:59:34 +00: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
dependabot[bot]
bc84888830
Merge pull request #56 from bjorn3/dependabot/cargo/cranelift-8a79275 2018-09-26 06:24:57 +00:00
dependabot[bot]
fbe35291af
Bump cranelift from 0157cda to 8a79275
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `0157cda` to `8a79275`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](0157cdabe4...8a79275d89)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-26 05:55:45 +00: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
dependabot[bot]
c37e5ff96d
Merge pull request #52 from bjorn3/dependabot/cargo/cranelift-940e254 2018-09-25 06:26:52 +00:00
dependabot[bot]
aa7855cc1b
Bump cranelift from dcd54af to 940e254
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `dcd54af` to `940e254`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](dcd54af618...940e2545fd)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-25 05:57:33 +00: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
f127042639 Rename examples directory to example to prevent rls trying to compile its content 2018-09-22 12:15:56 +02:00
bjorn3
663533fec3 Patch faerie for Mach-O support 2018-09-22 11:14:45 +02:00
bjorn3
bccc1fd7a1 Rustup to rustc 1.30.0-nightly (63c75d375 2018-09-21) 2018-09-22 11:12:25 +02:00
bjorn3
ed9e766aa7 Update Cargo.lock 2018-09-20 18:22:23 +02:00
bjorn3
056bf8ca7d Rustup to rustc 1.30.0-nightly (20dc0c507 2018-09-19) 2018-09-20 18:20:04 +02:00
bjorn3
a92566404c Update Cargo.lock 2018-09-18 19:51:36 +02:00
bjorn3
46581af155 Replace an unimplemented! with a bug! 2018-09-18 18:46:17 +02:00
bjorn3
c6bb2e7223 Improve prepare_libcore.sh 2018-09-18 18:41:41 +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
b9b0fc59f9 Update Cargo.lock 2018-09-16 11:23:44 +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