43 Commits

Author SHA1 Message Date
Sparrow Li
328553ef64
Complete vld1 instructions with some corrections (#1216) 2021-09-18 14:13:24 +01:00
Sparrow Li
4baf95fddd
add vldx neon instructions (#1200) 2021-08-24 19:51:30 +01:00
Nils Hasenbanck
3ecc56b329
Add vst1_* neon intrinsics. (#1171) 2021-05-27 07:40:45 +01:00
SparrowLii
911ace84b2 Add vqrdmulh, vqrdmlah, vqrdmlsh neon instructions 2021-05-06 15:44:54 +01:00
scottmcm
54a2d8b82a
Remove #![feature(try_trait)] from a test (#1142)
I'm working on `try_trait_v2` which will break this, so I'm going
around removing uses from the rustc tree where I can.
2021-04-26 00:45:20 +01:00
Sebastian Thiel
43126c3f65
[DRAFT] intrinsics for all architectures appear in rustdoc (#1104) 2021-04-17 13:46:33 +01:00
Amanieu d'Antras
6405058a6f
Don't import from core (#1115)
This breaks when core_arch is included as a module in core.
2021-04-13 04:31:37 +01:00
Joshua Nelson
7bab2c0695
Deny 2018 idiom lints (#1108)
This lint is allow by default, which is why this wasn't spotted earlier.
It's denied by rust-lang/rust, so it's good to warn about it here so it
can be fixed more quickly.
2021-04-07 05:46:39 +01:00
Sparrow Li
64f84788c9
add vreinterpret neon instructions (#1101) 2021-03-30 06:51:01 +01:00
surechen
7947cb8bac
add neon instruction vmov_n_* and vmovq_n_* (#1085) 2021-03-17 09:34:49 +00:00
Amanieu d'Antras
3fb437b867
Add stricter validation of const arguments on x86 intrinsics (#1025) 2021-02-28 18:07:42 +00:00
Rémy Rakic
d6a22093aa
Convert SSE 4.2 intrinsics to const generics (#1023) 2021-02-28 17:26:55 +00:00
Amanieu d'Antras
b4023b1ffe
Initial conversion to const generics (#1018) 2021-02-27 14:25:19 +00:00
minybot
b7acc2e1da
Avx512f avx512vl (#1001) 2021-02-14 17:59:05 +00:00
kangshan1157
936e1add97
Implement avx512bf16 intrinsics (#998) 2021-02-10 23:29:27 +00:00
minybot
1f93bbe3b9
avx512vnni (#982) 2021-01-13 14:09:19 +00:00
minybot
6dc569d9d9
avx512vbmi2 (#979) 2021-01-11 16:52:19 +00:00
minybot
981e250f89
Avx512vbmi (#977) 2021-01-04 00:35:51 +00:00
DevJPM
c5ccd02907
Add AVX512BITALG (#964)
This adds the AVX512BITALG intrinsics.
It also patches the verification against the Intel Intrinsic Guide
because Rust uses a different naming.
Added intrinsics match _mm(256|512)?(_maskz?)?_popcnt_epi(8|16) for the popcount ones
and _mm(256|512)?(_mask)?_bitshuffle_epi64_mask
2020-12-09 00:28:58 +00:00
minybot
8cd6f164a6
Avx512bw (#960) 2020-12-01 09:43:01 +00:00
minybot
ea5a0d01d3
Avx512bw (#953) 2020-11-22 15:10:25 +00:00
Adam Hillier
7ebfd93bb6
Add most single-register load Arm intrinsics. (#941) 2020-11-07 23:22:07 +00:00
minybot
7bb92b7809
Avx512f (#933) 2020-11-07 00:14:05 +00:00
Joshua Nelson
33355e69c2
Fix some clippy lints (#937) 2020-11-02 00:53:39 +00:00
Adam Hillier
56e4b3dd1f
Add shift-and-insert Arm intrinsics. (#936) 2020-11-02 00:44:25 +00:00
minybot
ae707fa29d
Avx512f (#927) 2020-10-17 01:14:41 +01:00
minybot
9090eec2f7
Avx512f (#921) 2020-10-10 17:14:15 +01:00
Dong Bo
4eefe3f4ab
Implement prefetch hints for aarch64 (#918)
Co-authored-by: Wang Maozhang <wangmaozhang@huawei.com>
2020-09-26 02:37:57 +01:00
minybot
99f0dac00e
Avx512f (#912) 2020-09-19 22:16:01 +01:00
minybot
cf1adeba7a
Avx512f (#901) 2020-09-11 22:26:39 +01:00
jethrogb
e8a9e43f93
Re-land mm_extract_epi fix (#898)
This reverts commit 311d56cd91609c1c1c0370cbd2ece8e3048653a5.

Co-authored-by: Jethro Beekman <jethro@fortanix.com>
2020-09-08 14:38:43 +01:00
Alex Crichton
9a3b159e83
Partially revert #868 (#878)
This commit partially reverts #868 to restore the intrinsics to their
original implementation to avoid breaking changes. This is done while
rust-lang/rust#73166 is running through crater, and should unblock
rust-lang/rust#74482.
2020-07-28 16:29:35 +00:00
Shamir Khodzha
78135e1774
added f32 and f64 unaligned stores and loads from avx512f set (#873) 2020-07-11 09:02:07 +01:00
Daniel Smith
5ff50904d8
Add AVX 512f gather, scatter and compare intrinsics (#866)
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-06-16 17:49:21 +01:00
Jethro Beekman
a214956fe5 Fix x86 extract_epi{8,16} functions
* Update Intel intrinsics definitions with the latest version
* Update _mm256_extract_epi{8,16} to match latest definition
* Fix _mm_extract_epi16 sign extension

Fixes #867
2020-06-09 12:29:01 +01:00
Mahmut Bulut
5b8bd0661a Fix cancellation code arithmetic 2020-05-29 19:05:48 +01:00
Daniel Smith
48b086a827 Add __mmask8 type 2020-05-29 00:07:03 +01:00
Heinz N. Gies
70f3623b52
Implement additional ARM NEON intriniscs (#792) 2020-04-07 20:06:38 +01:00
Taiki Endo
5c1430079b Format with rustfmt 2019-10-26 18:46:57 +02:00
Taiki Endo
8f07ba7489 Update proc-macro2, syn, and quote to 1.0 2019-10-26 18:46:57 +02:00
gnzlbg
ed67655cc8 Verify that all intrinsics have a run-time test 2019-08-17 21:14: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