Commit Graph

1688 Commits

Author SHA1 Message Date
bjorn3
426e55709c Replace CG_CLIF_JIT with --jit 2020-09-29 18:41:59 +02:00
bjorn3
838dd17a67 Don't read CG_CLIF_JIT from init_global_lock
In preparation to moving away from an env var
2020-09-29 18:12:23 +02:00
bjorn3
787d078fb6 Build build scripts for sysroot using cg_llvm
There is not yet a cg_clif sysroot available when building the sysroot itself
2020-09-29 18:07:19 +02:00
bjorn3
b8b5a824a6 Fix JIT 2020-09-29 15:28:48 +02:00
bjorn3
17a54ad62e Add custom driver 2020-09-29 15:16:29 +02:00
bjorn3
c046ad017f Fix panic 2020-09-29 14:11:14 +02:00
bjorn3
684c054e31 Rustup to rustc 1.48.0-nightly (fc2daaae6 2020-09-28) 2020-09-29 13:56:30 +02:00
bjorn3
a9ec4de6f2 Silence rm warning when files are not existing 2020-09-29 13:26:32 +02:00
bjorn3
c0507a63fb Invoke panic handler instead of trap for assert_* intrinsics 2020-09-29 13:22:01 +02:00
bjorn3
bcb0862703 Enable incr comp for release mode in Cargo.toml 2020-09-29 13:17:01 +02:00
bjorn3
3ece9fa92a Remove dead code 2020-09-26 11:48:26 +02:00
bjorn3
d68b50efb3 Small change to test script 2020-09-23 18:34:54 +02:00
bjorn3
8a59808b24 Improve readme 2020-09-23 16:44:02 +02:00
bjorn3
c8699076f9 Document almost all modules
Fixes #1082
2020-09-23 15:13:49 +02:00
bjorn3
934d56a646 Also allow returning PassMode::ByValPair directly into an ssa var
Benchmark #1: ./raytracer_cg_clif_pre
  Time (mean ± σ):      8.251 s ±  0.021 s    [User: 8.245 s, System: 0.005 s]
  Range (min … max):    8.225 s …  8.292 s    10 runs

Benchmark #2: ./raytracer_cg_clif_post
  Time (mean ± σ):      8.206 s ±  0.043 s    [User: 8.199 s, System: 0.007 s]
  Range (min … max):    8.168 s …  8.279 s    10 runs
2020-09-23 14:29:18 +02:00
bjorn3
a12f60126c
Merge pull request #1083 from bjorn3/fix_lld
Fix lld
2020-09-23 14:02:29 +02:00
bjorn3
94f11cc3a8 Use pcrel pointers in .eh_frame
Fixes #1055
2020-09-23 13:44:32 +02:00
bjorn3
a0f8765251 Add option to use a single section for each function 2020-09-23 09:53:41 +02:00
bjorn3
e5437b650b Update Cranelift 2020-09-23 09:53:41 +02:00
bjorn3
829a51cae3 Shorten __alloc symbol names a bit 2020-09-23 09:53:41 +02:00
bjorn3
e5b2b1ba81 Misc changes 2020-09-22 13:06:14 +02:00
bjorn3
cb3101d178 Improve rust-analyzer configuration 2020-09-22 12:36:03 +02:00
bjorn3
1add4323cf Update Cranelift 2020-09-21 19:23:39 +02:00
bjorn3
bac3464757 Fix debug build 2020-09-21 14:56:19 +02:00
bjorn3
a2c2db9cd6 Rustup to rustc 1.48.0-nightly (f68e08933 2020-09-19) 2020-09-20 16:25:14 +02:00
bjorn3
2cd8ccbea1 Don't benchmark mod_bench anymore 2020-09-18 14:45:52 +02:00
bjorn3
552991e17e Replace FxHashMap with IndexVec for local_map
Fixes #745
2020-09-16 18:45:19 +02:00
bjorn3
a18a1948e0 Remove wasmparser dependency through object 2020-09-16 17:17:57 +02:00
bjorn3
51f816f2a7 Rustfmt 2020-09-16 16:58:58 +02:00
bjorn3
b8bbbe38d1 Remove cfg-if dependency 2020-09-16 16:57:52 +02:00
bjorn3
55d4afd2ba Remove byteorder dependency 2020-09-16 16:54:58 +02:00
bjorn3
7285c134d1 Reorganize scripts 2020-09-16 16:46:02 +02:00
bjorn3
044470a726 Remove hashbrown usage
drain_filter is now supported on nightly
2020-09-15 21:00:04 +02:00
bjorn3
2d250ffa97 Fix miscompilation in previous commit 2020-09-14 11:44:53 +02:00
bjorn3
bb59d616aa Use don't unroll loop in Rvalue::Repeat
Fixes #1081
2020-09-14 11:32:27 +02:00
bjorn3
50e8f2218e Rustup to rustc 1.48.0-nightly (7402a3944 2020-09-13) 2020-09-14 10:56:37 +02:00
bjorn3
9c6921b4b6 Fix typo 2020-09-14 10:32:37 +02:00
bjorn3
171e159e64 Rustup to rustc 1.48.0-nightly (73dc675b9 2020-09-06) 2020-09-07 21:16:35 +02:00
bjorn3
4bb25c3e4a Fix dylib metadata writing
Rustc switched from flate2 to snappy
2020-09-05 11:00:34 +02:00
bjorn3
217b3818b7 Rustup to rustc 1.48.0-nightly (c59199efc 2020-09-04) 2020-09-05 10:38:49 +02:00
bjorn3
c9b0d5119b
Merge pull request #1080 from mbrubeck/deps
Update to hashbrown 0.9
2020-09-04 01:00:12 +02:00
Matt Brubeck
bd2313fc11 Update to hashbrown 0.9 2020-09-03 15:38:57 -07:00
bjorn3
3b0f3a0a1e Optimize SwitchInt for bools 2020-08-30 13:15:53 +02:00
bjorn3
a8e3f592c9 Set notrap flag on loads and stores 2020-08-30 13:15:08 +02:00
bjorn3
452656b782
Merge pull request #1079 from CohenArthur/fmt-master
Run cargo fmt on the whole project
2020-08-28 14:09:34 +02:00
CohenArthur
fc9f16bf0e
fmt: Skip whole module with bang
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-08-28 12:28:55 +02:00
CohenArthur
365cebf779
optimize: Remove conditional compilation on instance
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-08-28 12:26:52 +02:00
CohenArthur
ed35bc8414 fmt: Skip src/target_features_whitelist.rs 2020-08-28 12:23:01 +02:00
CohenArthur
9c848e1905 fmt: Skip fn_sig_for_fn_abi() 2020-08-28 12:20:24 +02:00
CohenArthur
4e685a512e fmt: Run cargo fmt since it is available 2020-08-28 12:10:48 +02:00