Commit Graph

974 Commits

Author SHA1 Message Date
bjorn3
ee4927e069 Fix _mm_movemask_epi8
The order of iteration was wrong
2019-07-29 18:59:17 +02:00
bjorn3
aae9a8b91d Patch core_arch to tell programs that cpuid is not supported 2019-07-29 14:35:42 +02:00
bjorn3
9f0fad0024 Fix thread disable patch 2019-07-29 14:35:15 +02:00
bjorn3
49b21f2730 Fix returning (u128, u128) 2019-07-29 13:18:21 +02:00
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