Commit Graph

870 Commits

Author SHA1 Message Date
bjorn3
63646b1956 Implement llvm.x86.avx2.pmovmskb llvm intrinsic 2019-07-29 12:50:20 +02:00
bjorn3
48a6b581b5 Emulate llvm.x86.sse2.pmovmskb.128 llvm intrinsic 2019-07-29 12:43:24 +02:00
bjorn3
9cb787fe70 Implement and test simd_shuffle* 2019-07-29 11:23:53 +02:00
bjorn3
76b89476c3 [WIP] simd_shuffle* 2019-07-29 11:03:55 +02:00
bjorn3
78e0525366 [WIP] simd_shuffle support 2019-07-29 11:03:55 +02:00
bjorn3
1a26891170 Replace llvm intrinsics with runtime trap 2019-07-29 11:03:55 +02:00
bjorn3
90f2b12d47 Fix simd comparison 2019-07-29 11:03:55 +02:00
bjorn3
9e3f2391b8 Emulate compare simd intrinsics 2019-07-29 11:03:55 +02:00
bjorn3
7fdd058c60 Emulate some simd intrinsics 2019-07-29 11:03:55 +02:00
bjorn3
3f76607880 Rustup to rustc 1.38.0-nightly (4560cb830 2019-07-28) 2019-07-29 10:32:24 +02:00
bjorn3
a24a956aa6 Update dependencies 2019-07-28 09:24:27 +02:00
bjorn3
dbf94c5697 Rustup to rustc 1.38.0-nightly (c798dffac 2019-07-27) 2019-07-28 09:24:16 +02:00
bjorn3
436a24a85d Implement many more float intrinsics 2019-07-27 16:52:00 +02:00
bjorn3
bdf23c0201 Don't set opt_level to best
LICM is still broken
2019-07-27 16:12:48 +02:00
bjorn3
c7fa94bf00 Fix checked binops when overflow checks are disabled 2019-07-27 16:12:46 +02:00
bjorn3
fe20f8cba6 Rustup to rustc 1.38.0-nightly (c43753f91 2019-07-26) 2019-07-27 11:35:46 +02:00
bjorn3
8506784d74 Reduce patching of libcore a bit
These parts are no longer necessary as of #627
2019-07-26 12:22:58 +02:00
bjorn3
a302f88d23
Merge pull request #627 from bjorn3/wip_i128
Support 128bit numbers
2019-07-26 12:19:24 +02:00
bjorn3
770c12ac97 Use own branch of clif instead of local checkout 2019-07-26 12:02:51 +02:00
bjorn3
ca714e4f01 Update Readme.md 2019-07-26 11:47:27 +02:00
bjorn3
ffa34ae328 Remove unnecessary changes 2019-07-26 11:45:01 +02:00
bjorn3
bba11f6172
Merge pull request #646 from bjorn3/wip_checked_binops2
Implement checked add and sub
2019-07-26 11:37:21 +02:00
bjorn3
0a833ba8a1 [WIP] 2019-07-26 11:32:04 +02:00
bjorn3
b46c8bfb7e Use std checked_div 2019-07-26 11:32:04 +02:00
bjorn3
718a5a2e3f Display span in Assert panic message 2019-07-26 11:32:04 +02:00
bjorn3
81fa33da3d Fix arg header comments 2019-07-26 11:30:39 +02:00
bjorn3
7f5c2dab9d Remove some unnecessary changes 2019-07-26 11:30:39 +02:00
bjorn3
5180becc7c Fix 128bit CValue::const_val 2019-07-26 11:30:39 +02:00
bjorn3
63b82238bb Implement 128bit checked add and sub 2019-07-26 11:30:39 +02:00
bjorn3
4d35be684d Implement 128bit comparison binops 2019-07-26 11:29:35 +02:00
bjorn3
65e337cdf3 Implement 128bit multiply with overflow 2019-07-26 11:29:35 +02:00
bjorn3
88ad25f45e Implement 128bit shl and shr binops 2019-07-26 11:29:35 +02:00
bjorn3
8693728327 Respect sess.overflow_checks() 2019-07-26 11:29:35 +02:00
bjorn3
834a3bf49c [WIP] 2019-07-26 11:29:35 +02:00
bjorn3
641a210ff6 Implement most 128bit binops 2019-07-26 11:29:35 +02:00
bjorn3
3080c73f50 Remove unnecessary if statement 2019-07-26 11:28:28 +02:00
bjorn3
8b3628028e Don't special case u/i128 for UnOp::not 2019-07-26 11:28:28 +02:00
bjorn3
d8cae099d0 Fix it 2019-07-26 11:28:28 +02:00
bjorn3
45de0336a5 Fix some more stuff 2019-07-26 11:28:28 +02:00
bjorn3
79f4c3d002 [WIP] 2019-07-26 11:28:04 +02:00
bjorn3
c814ee0d2a [WIP] 2019-07-26 11:28:04 +02:00
bjorn3
596fdd5a64 Fix type in load_scalar 2019-07-26 11:28:04 +02:00
bjorn3
d629d97f25 Fix some things 2019-07-26 11:28:04 +02:00
bjorn3
de32ddad23 [WIP] Basic i128 support 2019-07-26 11:28:04 +02:00
bjorn3
bf3ec3be3e Implement checked binops 2019-07-26 11:19:14 +02:00
bjorn3
92f2b6243d Rustup to rustc 1.38.0-nightly (a7f28678b 2019-07-23) 2019-07-24 11:56:24 +02:00
bjorn3
853234006e Update Cargo.lock 2019-07-20 15:48:18 +02:00
bjorn3
4f54314440 Update cranelift 2019-07-20 15:42:26 +02:00
bjorn3
8c2577c747 Don't disable stdsimd anymore
This doesn't enable simd support. Actually using the functions will
result in a compilation error.
2019-07-20 15:33:57 +02:00
bjorn3
94effb972f Rustup to rustc 1.38.0-nightly (e3cebcb3b 2019-07-19) 2019-07-20 13:04:02 +02:00