Commit graph

924 commits

Author SHA1 Message Date
bjorn3
6bf47ad0d4 Include load/store.i128 fix from my cranelift branch 2019-08-15 13:37:38 +02:00
bjorn3
7c7a8e8367 Workaround for missing icmp{,_imm}.i128 legalizations
Fixes #667
2019-08-15 11:36:23 +02:00
bjorn3
9505d60a24 Cast rhs to lhs type for shl and shr 2019-08-14 15:18:05 +02:00
bjorn3
b4e55cdedd Refactor num.rs 2019-08-14 15:03:52 +02:00
bjorn3
db071db95a Calculate sign in trans{,_checked}_int_binop instead of caller 2019-08-14 13:01:55 +02:00
bjorn3
32cb5b8c8e Move discriminant get and set to discriminant.rs 2019-08-14 12:01:41 +02:00
bjorn3
883894a07a Move trans_*_binop to num.rs 2019-08-14 11:52:39 +02:00
bjorn3
581b6ea5be Misc changes 2019-08-14 11:36:24 +02:00
bjorn3
2facd8e7ff Only build dylib
This saves ~200mb of space
2019-08-13 19:46:16 +02:00
bjorn3
11b2b86b08 Fix some rustc tests
* Check for `#[rustc_error]` attribute.
* Use the same weak static type error message as cg_llvm
2019-08-13 19:42:16 +02:00
bjorn3
6f23a053e4 Fix a panic on type size overflow 2019-08-13 19:40:48 +02:00
bjorn3
70fbca287c Fix intrinsic::transmute::<_, <uninhabited>>(...) 2019-08-13 19:39:59 +02:00
bjorn3
f02d135057 Print error for #[rustc_def_path] like expected 2019-08-13 19:39:46 +02:00
bjorn3
9fdef69fe4 Fix uninit intrinsic for zst values 2019-08-13 19:37:51 +02:00
bjorn3
f9c20ce244 Rustup to rustc 1.38.0-nightly (534b42394 2019-08-09) 2019-08-13 12:18:35 +02:00
bjorn3
5459b157ca Update Cargo.lock 2019-08-13 11:52:09 +02:00
bjorn3
36184d286c Remove outdated FIXME and add some new FIXME 2019-08-13 11:46:59 +02:00
bjorn3
f93cd924ec Implement float -> small int cast
Also workaround small signed int eq/ne binop clif bug
2019-08-12 17:25:16 +02:00
bjorn3
f5b0a68fbf Fix some warnings 2019-08-12 16:00:10 +02:00
bjorn3
314141392a Implement log2{f32,f64} intrinsics 2019-08-12 15:54:24 +02:00
bjorn3
7633bb6902
Merge pull request #662 from bjorn3/jit_dylib
Load dependent dylibs in JIT mode
2019-08-11 19:08:01 +02:00
bjorn3
57bc9d8daf Extract jit imported symbols loading functionAlso make the staticlib load error non fatal 2019-08-11 19:04:56 +02:00
bjorn3
bd19af37f4 Remove debugging println 2019-08-11 18:12:49 +02:00
bjorn3
05b7312db2 Misc changes 2019-08-11 17:33:52 +02:00
bjorn3
9041db962d Fix it 2019-08-11 17:06:18 +02:00
bjorn3
1538f7488e Add libstd.so to sysroot 2019-08-10 17:00:09 +02:00
bjorn3
3000a3f63d [WIP] Implement dylib loading for the JIT 2019-08-10 16:50:23 +02:00
bjorn3
bbcffc23ca Update Cargo.lock 2019-08-10 14:33:59 +02:00
bjorn3
3a56dffb9d Improve ci times 2019-08-10 14:22:22 +02:00
bjorn3
1b005eb92d
Merge pull request #660 from bjorn3/libtest
Libtest support
2019-08-09 15:19:06 +02:00
bjorn3
82e31e25c0 Enable regex tests 2019-08-09 14:45:17 +02:00
bjorn3
89c36194db Force single thread mode for libtest 2019-08-09 13:18:09 +02:00
bjorn3
dbac219207 Libtest support 2019-08-09 12:46:24 +02:00
bjorn3
e7a507863c Implement real saturating behaviour for the saturating_* intrinsics with unsigned ints 2019-08-09 12:35:51 +02:00
bjorn3
6414f03644 Don't omit overflow checks for *_with_overflow intrinsics when compiling without debug assertions 2019-08-09 12:35:51 +02:00
bjorn3
19a3bfec3b Fix constant alignment on macOS 2019-08-07 15:26:29 +02:00
bjorn3
bd7c119e4b Rustup to rustc 1.38.0-nightly (6a91782b7 2019-08-06) 2019-08-07 12:35:49 +02:00
bjorn3
7602a46bb9 Implement simd_extract 2019-08-05 16:28:27 +02:00
bjorn3
a1dd460714 Rustup to rustc 1.38.0-nightly (6e0d27d93 2019-08-03) 2019-08-04 13:42:40 +02:00
bjorn3
fb3fa677fa Call assert_module_sources 2019-08-04 13:42:03 +02:00
bjorn3
c4af588f72 Correctly align all allocs
Fixes #348
2019-08-01 11:49:03 +02:00
bjorn3
2f0093b8c2 Test mutex locking 2019-08-01 11:15:40 +02:00
bjorn3
62166ed9c8 Correctly implement atomic_nand_* intrinsics
Fixes #639
2019-08-01 10:59:17 +02:00
bjorn3
bc914cd43b Update Cargo.lock 2019-08-01 10:54:37 +02:00
bjorn3
b806070a88 Fix simd_cast 2019-07-31 09:46:05 +02:00
bjorn3
aa803f4fa6
Merge pull request #650 from bjorn3/simd_emulation
Simd emulation
2019-07-30 15:42:29 +02:00
bjorn3
1028fbb68c Fix release builds 2019-07-30 15:00:15 +02:00
bjorn3
b62e892fb5 Misc changes 2019-07-30 14:51:05 +02:00
bjorn3
69526d464f Implement some float simd intrinsics 2019-07-30 14:37:20 +02:00
bjorn3
8691b8b8b6 Test rust-lang/regex example shootout-regex-dna 2019-07-30 13:37:54 +02:00