Commit Graph

2464 Commits

Author SHA1 Message Date
Jorge Aparicio
e894731ccd add thumb targets to ci 2018-07-19 02:45:51 +02:00
Jorge Aparicio
438a0f5eeb add #[assert_instr(...)] 2018-07-19 02:45:51 +02:00
Jorge Aparicio
3c33e3dd3e add #[target_feature(enable = ...)] 2018-07-19 02:45:51 +02:00
Jorge Aparicio
bdb74ed658 add CMSIS / Cortex-M instrinsics 2018-07-19 02:45:51 +02:00
gnzlbg
1c09cc76c4 LLVM7 generates different machine than LLVM6 for x86/x86_64 targets for some intrinsics. These are new optimizations 2018-07-19 00:10:44 +02:00
gnzlbg
faafc284bd remove portable vector types 2018-07-19 00:10:44 +02:00
Alex Crichton
f3cb25b8f9 Fix compile on latest nightly (#527)
The `proc_macro` feature has stabilized in the compiler and usage of it largely
needs to switch to `use_extern_macros` now.
2018-07-17 09:30:18 -05:00
Cameron Hart
d89dc542ec Make _MM_SHUFFLE unstable. (#524) 2018-07-14 18:45:51 -05:00
Steve Klabnik
99102f4bcd fix some doc links (#520) 2018-07-11 09:18:28 -05:00
Luca Barbato
8d8d81aa35 Drop the not really supported PowerPC 32bit target
The LLVM backend has known issues and even for them the main
development target is PowerPC 64bit Little Endian.
2018-07-11 15:41:07 +02:00
Luca Barbato
77243a10a1 Check the documentation for the supported powerpc64
PowerPC 64bit Little Endian is the main development target currently.
2018-07-11 15:41:07 +02:00
Luca Barbato
409f648047 Make the dox.sh more verbose
Make easier spot where the errors happen.
2018-07-11 15:41:07 +02:00
Luca Barbato
2260f0af17 Add Vector Multiply Sum Saturated 2018-07-11 15:41:07 +02:00
TheIronBorn
83e5d232ac add swap_bytes/to_le/to_be (#517)
* add large shuffle intrinsics

* add swap_bytes/to_le

* add to_be

* more tests

* improve swap_bytes tests
2018-07-10 10:20:52 +02:00
dependabot[bot]
e0752318f7 Update cupid requirement to 0.6.0
Updates the requirements on [cupid](https://github.com/shepmaster/cupid) to permit the latest version.
- [Release notes](https://github.com/shepmaster/cupid/releases)
- [Commits](https://github.com/shepmaster/cupid/commits/v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 23:26:44 +00:00
dependabot[bot]
df3fac4bfb Update lazy_static requirement to 1.0
Updates the requirements on [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/commits/v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 21:46:33 +00:00
dependabot[bot]
42321c7f4e Update rand requirement to 0.5
Updates the requirements on [rand](https://github.com/rust-lang-nursery/rand) to permit the latest version.
- [Release notes](https://github.com/rust-lang-nursery/rand/releases)
- [Changelog](https://github.com/rust-lang-nursery/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/rand/commits/0.5.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-07-06 21:26:25 +00:00
Brandon Falk
625c31200a Fix PartialEq issue #511 2018-07-02 10:26:51 +02:00
Luca Barbato
22d5f8ca33 Test vec_mradds and not vec_madds
Typo introduced in 1d6ccad0136cd1ed97dbb83b4975d8feb6fec059
2018-06-28 09:12:28 +02:00
Luca Barbato
5c00a2b2a4 Add vector multiply round and add saturated 2018-06-28 00:34:14 +02:00
gnzlbg
f55d7be7c9 deprecate read/write eflags (#494) 2018-06-27 13:32:11 -05:00
gnzlbg
0402aba4be allow dead code in reduction tests 2018-06-26 14:54:07 +02:00
gnzlbg
ea6d2b47af [s390x] Fall back to scalar math for portable floating-point vector operations.
I've opened #501 to track the workarounds introduced here.

Closes #498.
2018-06-26 14:54:07 +02:00
gnzlbg
d5cf70cac5 [s390x] add CI
This commit tests `s390x-unknown-linux-gnu` on CI using `qemu-user`.

Closes #499 .
2018-06-26 14:54:07 +02:00
gnzlbg
8287afe0cb Optimize has_cpuid for x86 Rust targets that have cpuid
Improves #497.
2018-06-26 14:53:57 +02:00
gnzlbg
6fa79873e3 Document what the xcr0 masks do 2018-06-26 14:53:46 +02:00
gnzlbg
a0a6e784fb fma requires osxsave 2018-06-26 14:53:46 +02:00
gnzlbg
ae64d7a468 Calling xgetbv is safe only if the OS has set osxsave.
Closes #500.
2018-06-26 14:53:46 +02:00
gnzlbg
f72da708eb fix all nursery doc links 2018-06-26 14:03:57 +02:00
gnzlbg
771dc9fd8e hoist the and out of the inline assembly 2018-06-25 10:16:15 +02:00
gnzlbg
7affba30a5 use and to test the 21st bit 2018-06-25 10:16:15 +02:00
gnzlbg
d6290b5e88 remove unnecesary unsafe block 2018-06-25 10:16:15 +02:00
gnzlbg
a84c619bf3 remove unnecessary shift 2018-06-25 10:16:15 +02:00
gnzlbg
637541bd83 Use Stephen Checkoway solution 2018-06-25 10:16:15 +02:00
gnzlbg
7e710e7e4a fix the shift 2018-06-25 10:16:15 +02:00
gnzlbg
099d6d9093 no need to save/restore ecx in the inline assembly because its already clobbered 2018-06-25 10:16:15 +02:00
gnzlbg
29d969012e fix test and add comments 2018-06-25 10:16:15 +02:00
gnzlbg
6524ead794 fix has_cpuid_test 2018-06-25 10:16:15 +02:00
gnzlbg
8195e74705 use inline assembly instead of the __{read,write}eflags intrinsics 2018-06-25 10:16:15 +02:00
gnzlbg
a51a3ab289 Fixes has_cpuid implementation
https://github.com/rust-lang/rust/issues/51691
2018-06-25 10:16:15 +02:00
est31
39b15bc993 Fix some links
Always point to {target_name}/.../{target_name}/index.html
2018-06-24 11:10:13 +02:00
Terence
709f796a22 Fix typo in max docs
The `max` methods claimed to return the minimum in one location.
2018-06-24 11:08:22 +02:00
gnzlbg
b86ba305b3 x86 android tests now pass 2018-06-23 16:09:27 +02:00
gnzlbg
e70ae5558f add CI for Android 2018-06-23 16:09:27 +02:00
est31
b042566808 Remove stray inconsistent #[cfg]
The cfg for the target is already covered a few lines below.
This cfg meant that even with the dox feature enabled, no
documentation for powerpc64 was generated except you were
actually targetting the powerpc64 arch.
2018-06-23 14:11:26 +02:00
gnzlbg
21a5ac0c31 update README 2018-06-23 12:57:46 +02:00
gnzlbg
388c35ed4b fix run-time detection in doc-test 2018-06-21 12:27:37 +02:00
gnzlbg
3a5bbf11b1 fix doc-test for __m256. Closes #481 2018-06-21 12:03:20 +02:00
gnzlbg
14a5742d4e make check_for and the feature cache function inline 2018-06-20 23:21:24 +02:00
Cameron Hart
784fb26d8c Added implementation and test of _MM_SHUFFLE macro. 2018-06-18 09:58:22 +02:00