Commit Graph

1317 Commits

Author SHA1 Message Date
Luca Barbato
33688eaa10 Remove the FIXME about the cache size checks
And leave a NOTE.
2019-09-17 19:22:18 +02:00
Luca Barbato
6420fa4fb0 Override the features detected using an env::var
Fixes: #804
2019-09-17 19:22:18 +02:00
Luca Barbato
1855195f40 Add a mean to unset a bit in the cache 2019-09-17 15:36:02 +02:00
gnzlbg
13fffd5fde Try harder to error on usage of unstable features 2019-09-17 02:43:48 +02:00
gnzlbg
42b7041e94 Remove staged_api from the allowed_internal_unstabled of the feature macros 2019-09-17 01:35:26 +02:00
gnzlbg
4821a68959 Fix std_detect on targets without feature detection 2019-09-16 23:43:01 +02:00
gnzlbg
226b3265c8 Format 2019-09-16 23:43:01 +02:00
gnzlbg
599bcf28ad Enforce staged_api on a per-feature basis 2019-09-16 23:43:01 +02:00
gnzlbg
1f44c1407d Add std_detect::detect::features() -> impl Iterator<Item=(&'static str, bool)> API 2019-09-16 23:43:01 +02:00
Luca Barbato
f3140f4b25 Factor out check_for
All the os-specific code implements a `check_for` and a `detect_features`.

Move the always identical check_for in the mod.rs and use
`os::detect_features` there.
2019-09-09 22:20:10 +02:00
Luca Barbato
5b11935d43 Document how miri support works
Co-Authored-By: gnzlbg <gnzlbg@users.noreply.github.com>
2019-09-06 15:01:26 +02:00
Luca Barbato
430744f46a Minimal miri support
Should address https://github.com/rust-lang/miri/issues/932
2019-09-06 15:01:26 +02:00
bors
5bfd08cd65 Auto merge of #796 - Mark-Simulacrum:bootstrap-snap, r=gnzlbg
Apply snap of bootstrap compiler in rust-lang/rust

FWIW, in the future we should try to avoid this as I'm assuming we'll break CI trying to land this here (and we can't swap bootstrap compilers in Rust until this lands).
2019-08-19 16:31:38 +00:00
bors
c519f89682 Auto merge of #799 - gnzlbg:has_test, r=gnzlbg
Verify that all intrinsics have a run-time test

Add a check to stdsimd-verify to check that all intrinsics have a run-time test. This is not the case right now, but we should at least not add intrinsics without tests.
2019-08-18 12:46:54 +00:00
atouchet
1422e0f95c Fix more links 2019-08-18 14:46:04 +02:00
gnzlbg
ed67655cc8 Verify that all intrinsics have a run-time test 2019-08-17 21:14:54 +02:00
gnzlbg
00e10f12ce Update badges 2019-08-13 18:04:22 +02:00
Mark Rousskov
c448527789 Apply snap of bootstrap compiler in rust-lang/rust 2019-08-12 19:36:23 -04:00
bjorn3
98122a49ce Make the _mm_movemask_epi8 test a non palindrome 2019-08-02 16:31:38 +02:00
bjorn3
7bdc18925d Remove simd_rem intrinsic definition
It is unused
2019-08-02 16:31:24 +02:00
gnzlbg
713a7f11e1 Update i586-unknown-linux-gnu codegen with LLVM9 bugfixes 2019-08-02 11:45:12 +02:00
gnzlbg
174fd52167 formatting 2019-08-02 11:45:12 +02:00
gnzlbg
eb8ddf2fd3 Update LLVM9 code generation on Windows 2019-08-02 11:45:12 +02:00
gnzlbg
95cacb4cb9 Update codegen of _mm256_set1_epi64x for x86 32-bit 2019-08-02 11:45:12 +02:00
gnzlbg
58bff6d32e White-list new codegen for _mm_broadcastq_epi64
Opened #791 .
2019-08-02 11:45:12 +02:00
gnzlbg
44ffb1860f LLVM9 started emitting more single precision floating-point intrinsics for double-precision operations 2019-08-02 11:45:12 +02:00
Nathan Wiebe Neufeldt
da1241df4a Fix doc punctuation in core_arch/src/mips/msa.rs 2019-07-25 00:50:43 +02:00
Nathan Wiebe Neufeldt
ced45f6eb3 Even more doc formatting core_arch/src/mips/msa.rs 2019-07-25 00:50:43 +02:00
Nathan Wiebe Neufeldt
7ac384096b More doc formatting in core_arch/src/mips/msa.rs 2019-07-25 00:50:43 +02:00
Nathan Wiebe Neufeldt
0010f5bb4b Fix typos in core_arch documentation 2019-07-25 00:50:43 +02:00
Jonas Schievink
03f389ff6d Adjust #[doc(include)] paths for rustdoc change 2019-07-23 17:14:01 +02:00
bjorn3
a035568e7d Remove unnecessary \n from cpuid 2019-07-23 16:47:27 +02:00
gnzlbg
e4d54a44bf Revert PR 769 2019-07-15 16:28:24 +02:00
Johannes Maibaum
2f2f78ada1 Add ARM Neon vmnv_p8/vmvnq_p8 bw not intrinsics 2019-07-15 09:22:17 +02:00
Johannes Maibaum
c55edc23b4 Add ARM Neon vmvn_*/vmvnq_* bitwise not intrinsics 2019-07-15 09:22:17 +02:00
gnzlbg
0357faa7c0 Try harder to parse invalid UTF8 on Windows 2019-07-14 15:29:19 +02:00
gnzlbg
f61cb90d87 Try windows 2019-07-14 15:29:19 +02:00
Luca Barbato
b39c3262f1 Rustfmt altivec.rs 2019-07-11 14:39:54 +02:00
Luca Barbato
89cb7025cb Add imm5 and imm_s5 to the common macros 2019-07-11 14:39:54 +02:00
Luca Barbato
eef9e33e6a Add Altivec vec_ld 2019-07-11 14:39:54 +02:00
Luca Barbato
6f9061f78b Add Altivec vec_floor 2019-07-11 14:39:54 +02:00
Luca Barbato
1f96c3192e Add a fuzzy comparison test for f32 2019-07-11 14:39:54 +02:00
Luca Barbato
cce9d50f9b Add Altivec vec_abs for f32 2019-07-11 14:39:54 +02:00
Luca Barbato
2339c48706 Add Altivec vec_expte 2019-07-11 14:39:54 +02:00
Luca Barbato
3525b9d7a3 Add Altivec vec_sub for f32 as well 2019-07-11 14:39:54 +02:00
Luca Barbato
2c1e3fdb37 Add single argument test macro 2019-07-11 14:39:54 +02:00
Luca Barbato
0b3ff21135 Add Altivec vec_cmple and vec_cmplt 2019-07-11 14:39:54 +02:00
gnzlbg
8cec101751 Allow unused items in verification tests 2019-07-09 01:37:07 +02:00
gnzlbg
686b813f5d Update repo name 2019-07-09 01:37:07 +02:00
gnzlbg
127f13f10f Fix assert_instr tests 2019-07-08 22:58:19 +02:00