Commit Graph

2904 Commits

Author SHA1 Message Date
cynecx
5728c165fa LLVM codgen support for unwinding inline assembly 2021-12-03 23:51:49 +01:00
bjorn3
f296311925 Test on CI with unstable cg_clif features disabled
Part of #1084
2021-12-03 13:16:34 +01:00
bjorn3
8fa112b0d3 Disable long running libcore tests 2021-12-03 12:20:42 +01:00
bjorn3
dd288d27de Fix vector types containing an array field with mir opts enabled 2021-12-03 12:13:41 +01:00
bjorn3
516b478c81 Rustup to rustc 1.59.0-nightly (48a5999fc 2021-12-01) 2021-12-02 16:49:27 +01:00
bjorn3
39cd1363d2 Enable artifact uploads for windows builds
Fixes #1210
2021-12-02 14:28:50 +01:00
bjorn3
5f5a2f262f Update dependencies 2021-12-01 18:36:19 +01:00
bjorn3
23bcafa256 Update object 2021-12-01 18:34:19 +01:00
Petr Sumbera
948d0243de fix sparc64 ABI for aggregates with floating point members 2021-12-01 10:03:45 +01:00
bjorn3
a65a523d80 Fix rustc tests 2021-11-26 17:05:25 +01:00
bjorn3
c989324672 Fix warning 2021-11-26 16:21:19 +01:00
bjorn3
7b894092c7 Rustup to rustc 1.58.0-nightly (dd549dcab 2021-11-25) 2021-11-26 16:21:01 +01:00
bjorn3
c6c2f458df Enable unstable-features feature of cg_clif for rust-analyzer 2021-11-26 15:33:56 +01:00
bjorn3
efdbd88a74 Ensure inline asm wrapper name never starts with a digit
This could previously happen if the cgu name starts with a digit
2021-11-25 11:43:18 +01:00
bjorn3
8714be0ad3 Include NOTYPE symbols in the archive symbol table
This is necessary for blog os
2021-11-24 20:35:57 +01:00
bjorn3
1222192374 Use cgu name instead of function name as base for inline asm wrapper name
This fixes using #[inline] functions containing inline assembly from multiple cgus
2021-11-24 19:18:22 +01:00
bjorn3
dfbc7eb6c7 Version the prebuilt libstd again
__CARGO_DEFAULT_LIB_METADATA got lost in the rewrite of the build system
from bash to rust
2021-11-23 14:25:28 +01:00
bjorn3
a49c6b8a57
Merge pull request #1206 from nbdd0121/master
Improve inline asm support
2021-11-22 18:50:12 +01:00
Gary Guo
5f0c6e5539 Fix allocated reg in AT&T style asm 2021-11-22 17:01:43 +00:00
Gary Guo
f9534a9bc9 Add RISC-V inline asm support 2021-11-22 16:28:14 +00:00
Gary Guo
31e7fa54a0 Dispatch inline asm to the correct arch 2021-11-22 16:28:14 +00:00
Gary Guo
cfdf10b259 x86 inline asm support 2021-11-22 16:28:14 +00:00
Gary Guo
eaf88c5b52 Skeleton for multiple arch support 2021-11-22 13:45:18 +00:00
Gary Guo
fe3ba31860 Overlap input and output stack slots 2021-11-22 13:45:18 +00:00
Gary Guo
14aa039d30 Skip registers saved by calling convention 2021-11-22 13:45:17 +00:00
Gary Guo
703027f0fc Code cleanup as a follow up to the previous commit 2021-11-22 03:15:12 +00:00
Gary Guo
894468a537 Move stack slot allocation to a new fn 2021-11-22 03:15:12 +00:00
Gary Guo
f16d27aca4 Remove expect_reg 2021-11-22 01:48:22 +00:00
Gary Guo
042eb37837 Implement register allocation for inline assembly 2021-11-22 01:45:58 +00:00
bjorn3
fd87c6dab9 Update to latest portable-simd version 2021-11-18 19:30:28 +01:00
bjorn3
d288c6924d Implement simd_reduce_{min,max} for floats 2021-11-18 19:27:49 +01:00
bjorn3
a8be7ea503 Implement new simd_shuffle signature 2021-11-18 19:27:32 +01:00
bjorn3
da83c84103 Rustup to rustc 1.58.0-nightly (d914f17ca 2021-11-16) 2021-11-17 21:01:35 +01:00
bjorn3
977e884acf Use crates.io releases of Cranelift
I originally switched the Cranelift dependencies to use git as cg_clif
required a lot of new Cranelift features. With crates.io dependencies I
would have to wait for a new release every time. With git dependencies I
could start using the new features as soon as they were merged.
Currently there aren't a lot of new Cranelift features necessary anymore
and those that are useful are no longer blocking compilation of lots of
crates. There was some concern expressed about using git dependencies in
the main rust repo, so all together I think it is best to switch to
crates.io releases and if necessary wait a bit before merging changes
requiring newer Cranelift commits.
2021-10-29 16:22:47 +02:00
bjorn3
7ee78417d0 Revert libc update
It causes the macOS CI to fail. See rust-lang/libc#2484
2021-10-27 16:44:53 +02:00
bjorn3
0bd4706e38 Disable rustc test requiring rustdoc 2021-10-27 14:37:57 +02:00
bjorn3
fc8fbf4099 Rustup to rustc 1.58.0-nightly (e269e6bf4 2021-10-26) 2021-10-27 14:17:26 +02:00
bjorn3
bf907a3de1 Sync from rust 47aeac648e 2021-10-27 14:05:12 +02:00
bjorn3
1ceda5bb7e Remove unncesessary TryFrom and TryInto impls 2021-10-21 20:18:01 +02:00
bjorn3
adabc2ccda Update Cranelift and object 2021-10-21 15:20:40 +02:00
Gary Guo
0ef11587b0 Remove NullOp::Box 2021-10-20 19:42:35 +01:00
Camille GILLOT
7879119e6a Make hash_result an Option. 2021-10-20 18:29:18 +02:00
bjorn3
8ed0d0d980 Remove unnecessary Lazy
Found by m-ou-se in https://github.com/bjorn3/rustc_codegen_cranelift/pull/1166#discussion_r730468919
2021-10-17 22:44:08 +02:00
bjorn3
3aae6fb494 Disable a failing test 2021-10-17 17:05:00 +02:00
bjorn3
1e5569d62c Re-enable incremental compilation for the sysroot
rust-lang/rust#74946 for fixed
2021-10-17 15:29:57 +02:00
Amanieu d'Antras
44cce7a4c8 Remove alloc::prelude
As per the libs team decision in #58935.

Closes #58935
2021-10-15 01:41:31 +02:00
bjorn3
2bb3f767e5 Update Cranelift 2021-10-13 16:59:59 +02:00
bjorn3
b2fed29e1a Update Cranelift 2021-10-12 14:47:57 +02:00
Deadbeef
0134088cd2 Add const_eval_select intrinsic 2021-10-12 05:42:23 +00:00
bjorn3
d195107514 Rustup to rustc 1.57.0-nightly (54bb4fec6 2021-10-08) 2021-10-09 15:16:19 +02:00