Commit Graph

2765 Commits

Author SHA1 Message Date
Christian Poveda
2861ceb2fa Rename new fields and move rng to MemoryExtra 2019-06-24 10:03:16 -05:00
Christian Poveda
dd732e5862 Force intptrcast for binary operations 2019-06-22 09:25:16 -05:00
Christian Poveda
e57447014d Duplicate compile-fail tests for intptrcast 2019-06-21 16:32:54 -05:00
Christian Poveda
fd3a291db4 Implement intptrcast methods 2019-06-21 14:55:37 -05:00
Ralf Jung
285e9a65cd
Merge pull request #778 from christianpoveda/master
Update tag methods to match Machine changes
2019-06-21 13:20:22 +02:00
Oliver Scherer
5edb9c915f
Merge branch 'master' into master 2019-06-21 12:37:13 +02:00
Oliver Scherer
ef59fc420f
Update rust-version 2019-06-21 12:36:19 +02:00
Ralf Jung
03cc719b92
Merge pull request #777 from RalfJung/rustup
bump Rust
2019-06-21 09:00:21 +02:00
Christian Poveda
17dbecfa32
Merge branch 'master' into master 2019-06-20 21:38:10 -05:00
Christian Poveda
4211d7e1a0 Update tag methods to match Machine changes 2019-06-20 16:58:57 -05:00
Ralf Jung
86868b6946
Merge branch 'master' into rustup 2019-06-20 21:37:12 +02:00
Ralf Jung
53b46db5fc
Merge pull request #774 from soc/patch-1
Fix project dirs path
2019-06-20 21:36:59 +02:00
Ralf Jung
6f5529a05b
Merge branch 'master' into patch-1 2019-06-20 20:47:27 +02:00
Ralf Jung
03eff5981b use org.rust-lang.miri folder on macOS 2019-06-20 19:45:39 +02:00
Ralf Jung
04fa38dd1b allow some inequality comparisons between pointers and integers 2019-06-20 16:38:55 +02:00
Ralf Jung
850a0d725f bump Rust, no changes needed 2019-06-20 15:35:06 +02:00
Oliver Scherer
e4b298bc4f
Merge pull request #776 from RalfJung/intrinsics
implement unchecked_{add,sub,mul} intrinsics
2019-06-17 11:12:12 +02:00
Ralf Jung
7ce36226e6 implement and test unchecked_{add,sub,mul} intrinsics 2019-06-16 11:10:33 +02:00
Ralf Jung
cf748149ce test unchecked_rem 2019-06-16 11:10:33 +02:00
Ralf Jung
fc90124489 test exact_div UB detection 2019-06-16 11:10:33 +02:00
Ralf Jung
14c41925c6
Merge pull request #771 from kennethbgoodin/foreign_math_functions
Add more missing math functions
2019-06-16 11:10:26 +02:00
Ralf Jung
32a2cf046f
Merge branch 'master' into foreign_math_functions 2019-06-16 10:11:32 +02:00
Ralf Jung
7fc182caff
Merge pull request #775 from rust-lang/rustup
Rustup
2019-06-16 10:10:53 +02:00
Ralf Jung
d210ed7e12 bump rustc yet again 2019-06-16 09:49:27 +02:00
soc
a561f949ad Fix project dirs path
ProjectDirs::from("miri", "miri", "miri")

would get you `miri\miri` on Windows and `miri.miri.miri` on macOS.

I'm assuming here that your intention was to have only a `miri` directory on every OS.
2019-06-15 17:03:16 +02:00
Lzu Tao
fd0dccd4b1 Fix wrong lifetime of TyCtxt
Rustup rust-lang/rust#61817
2019-06-15 02:34:11 +07:00
Ralf Jung
4736692e67
Merge pull request #772 from RalfJung/sysroot
Fix sysroot handling
2019-06-14 14:28:37 +02:00
Ralf Jung
34b0922cec fix running a Miri that was built in bootstrap 2019-06-14 12:09:43 +02:00
Ralf Jung
ac2f6cbcde change sysroot check to print the output in case of an error 2019-06-14 11:16:39 +02:00
Oliver Scherer
4db0eea010
Fix indentation 2019-06-14 10:44:08 +02:00
Kenny Goodin
46b6a3fb7f Add more missing math functions
Add missing functions for atan2, cosh, sinh, and tan.
Also add f32 calls and tests for cbrt and hypot.
2019-06-13 22:28:22 -04:00
Ralf Jung
965160d4d7
Merge pull request #769 from RalfJung/rustup
Rustup
2019-06-13 09:50:54 +02:00
Ralf Jung
ad0c941547 rustup for lifetime refactorings 2019-06-13 09:18:03 +02:00
Ralf Jung
118274f300 README: mention to cargo update, mention rustup-toolchain-install-master 2019-06-13 08:43:35 +02:00
Ralf Jung
b597eabbc4
Merge pull request #763 from kennethbgoodin/fix_cmath_functions
[WIP] Implement cbrt and hypot function calls
2019-06-12 22:56:53 +02:00
Kenny Goodin
535914e3dc Implement cbrt and hypot function calls
Test cases are added to `tests/run-pass/intrinsics-math.rs`
2019-06-12 15:44:30 -04:00
Ralf Jung
6ceb716227
Merge pull request #701 from RalfJung/rand
test rand a bit more
2019-06-12 19:16:08 +02:00
Ralf Jung
f72f53c3ad bump rand so that the test passes 2019-06-12 18:30:05 +02:00
Ralf Jung
8f670e6b8b test rand a bit more 2019-06-12 18:19:50 +02:00
Ralf Jung
deb0ff46eb
Merge pull request #764 from RalfJung/minmax
implement min and max floating point intrinsics
2019-06-11 20:06:00 +02:00
Ralf Jung
6a0d092eaf bump Rust version 2019-06-11 19:42:01 +02:00
Ralf Jung
e2f114a5e0 test FMA a bit more 2019-06-11 19:41:43 +02:00
Ralf Jung
9c9a947bf4 test more enum-int-cast code paths 2019-06-11 19:41:43 +02:00
Ralf Jung
a37953752d use apfloat's FMA primitive 2019-06-11 19:41:43 +02:00
Ralf Jung
5e07ac335f implement min and max floating point intrinsics 2019-06-11 19:41:43 +02:00
Ralf Jung
6eab94a459 fix from to/from f32/f64 changes 2019-06-11 19:41:43 +02:00
Ralf Jung
48897d0760
Merge pull request #766 from RalfJung/sysroot
Sysroot consistency check
2019-06-11 10:23:39 +02:00
Ralf Jung
81debbd652
Merge branch 'master' into sysroot 2019-06-11 09:48:05 +02:00
Ralf Jung
f090362b76
Merge pull request #767 from RalfJung/rustup
fix for rustc rename mir -> body
2019-06-10 17:52:55 +02:00
Ralf Jung
446478cce2 fix for rustc rename mir -> body 2019-06-10 13:01:55 +02:00