992 Commits

Author SHA1 Message Date
James McGregor
893bbdd717 Use load intrinsic and loop for intrinsic-test programs. Add --release flag back to intrinsic-test programs. 2022-08-22 23:46:30 +02:00
Amanieu d'Antras
e79701c56e Properly fix vext intrinsic tests
This was previously done as part of #1326, but it modified generated
code without fixing the root issue in neon.spec.
2022-08-22 23:46:15 +02:00
Maybe Waffle
1a2eac5986 Replace some calls to pointer::offset with add and sub 2022-08-22 22:41:21 +02:00
Tomasz Miąsko
39f73ac0b3 Allow internal use of stdsimd from detect_feature
This allows using feature detection macros, without placing a
requirement of enabled stdsimd feature gate from end users.

A follow-up to changes from #1311, which introduced the new macro.
2022-08-22 22:40:39 +02:00
Amanieu d'Antras
82cb569895 Tweak constant for ARM vext instruction tests 2022-08-20 22:18:54 +02:00
Amanieu d'Antras
53d56091c6 Use llvm.ppc.altivec.lvx intrinsic for vec_ld
The `vec_ld` intrinsic is expected to automatically round the given
address down to a 16-byte boundary.
2022-08-20 22:18:54 +02:00
psvri
8119ecd492 Adding doc links for arm neon intrinsics 2022-08-12 19:51:56 +02:00
psvri
40668050cf Adding doc links for arm crypto and aes intrinsics 2022-08-12 17:27:12 +02:00
Amanieu d'Antras
c01441b696 Remove instruction tests for __mmask* intrinsics
We generate normal scalar code for these, not specific intructions.
2022-08-12 17:26:16 +02:00
Palladium
bdfd56734d
Adding documentation links for arm crc32 intrinsics (#1316) 2022-08-09 20:56:09 +01:00
tmiasko
c7eadc8f06
Remove restrictions on compare-exchange memory ordering. (#1315) 2022-07-18 11:51:36 +01:00
Usamoi
1154adb436
Fix a typo in the document. (#1314) 2022-07-17 13:58:10 +01:00
Adam Gemmell
ba9ca43154
Allow mapping a runtime feature to a set of target_features (#1311) 2022-07-02 00:55:03 +01:00
tmiasko
b186197c7c
Update atomic intrinsics (#1313) 2022-07-02 00:53:50 +01:00
Adam Gemmell
0798ac34c7
Fully qualify recursive macro calls (#1310) 2022-06-21 00:20:12 +01:00
Thom Chiovoloni
3845dea2a6
Ensure the neon vector aggregates like float32x4x4_t are #[repr(C)] (#1309) 2022-06-13 14:40:01 +01:00
Urgau
e4d28b2c5c
Remove useless conditional compilation (#1308) 2022-06-10 00:14:17 +01:00
Simon Schubert
a390bd340b
Fix ARM vbsl* NEON intrinsics (#1191) (#1307) 2022-05-16 22:44:28 +01:00
est31
6a28c9ca8b Allow unused macro arms for simd_shuffle16 too 2022-05-10 19:15:00 +02:00
est31
cf471eb26e
Allow unused macro rules for two macros (#1305) 2022-05-10 00:48:31 +01:00
Sam Parker
f6cf8d45b0
Wasm simd128 pairwise/lane-wise (#1302) 2022-04-29 14:11:39 +01:00
Jane Lusby
bae054af11
Add stdsimd feature to allow_internal_unstable attribute in feature detect macros (#1303) 2022-04-29 01:30:25 +01:00
Matan Hamilis
f4d6903728
Typo in _mm_xor_pd description (#1304) 2022-04-29 01:30:11 +01:00
Jamie Cunliffe
e75d75e292
Add the rdm target feature to the sqrdmlsh intrinsic. (#1285) 2022-04-08 19:29:11 +01:00
Jacob Pratt
64f4469b23 Remove use of #[rustc_deprecated] 2022-04-08 14:04:36 +02:00
Ben Kimock
f2bfba1a11 Remove feature gates for stabilized features 2022-03-28 08:20:15 +02:00
Ben Kimock
945ccb4c3f Change remaining _undefined_ functions to zero-init 2022-03-28 08:20:15 +02:00
Alex Touchet
626654b486
Use SPDX license format and update packed_simd crate link (#1297) 2022-03-17 10:55:51 +00:00
relrelb
528c020edf
Fix broken links (#1294) 2022-03-16 14:51:45 +00:00
Luca Barbato
d3f6f21a26
Import the asm macro in std_detect (#1290) 2022-03-11 17:12:29 +00:00
Guillaume Gomez
b51baab99c
Replace unused doc comment with code comment (#1286) 2022-03-02 17:24:38 +00:00
Amanieu d'Antras
b25548658a Updates for LLVM 14 on nightly 2022-02-19 20:44:04 +00:00
Amanieu d'Antras
831dd7190d Stabilize vget_low_s8 on AArch64
This was missed  when most of the AArch64 intrinsics were stabilized.
2022-02-19 20:44:04 +00:00
Amanieu d'Antras
bf3a73b3e8
Avoid the use of #[cfg(doc)] in std_detect (#1283)
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2022-02-17 12:49:50 +00:00
Adam Gemmell
3362d525c5
Split aarch64 pauth feature into paca and pacg (#1259) 2022-02-10 14:59:40 +00:00
Adam Gemmell
c52d7f5b66
Stabilise is_aarch64_feature_detected! under simd_aarch64 feature (#1239) 2022-02-09 19:33:25 +00:00
minybot
3f075854cc
Add AVX512F expandloadu (#1280) 2022-02-08 15:09:09 +00:00
minybot
6679b4a6d4
Complete avx512vbmi2 (#1279) 2022-02-06 13:27:31 +00:00
Luo Jia
0888677e5c
riscv: K extension (part 1), floating-point control and state register (#1278) 2022-02-06 13:23:25 +00:00
Amanieu d'Antras
fe97d9771b
Change core_arch_docs.md so it works from both std and core (#1277) 2022-01-28 12:45:05 +00:00
Amanieu d'Antras
3030730d04
Emit the full is_{arch}_feature_detected! macro on all arches when building docs (#1276) 2022-01-28 09:49:43 +00:00
Jörn Horstmann
929f6e8409
Implement avx512 compressstore intrinsics (#1273) 2022-01-24 23:02:06 +00:00
post-rex
7c81ce0606 fixed documentation crc32 -> crc32-c (with x86(_64)) 2022-01-24 22:32:19 +00:00
Amanieu d'Antras
efad3ead52 Fix std_detect_file_io 2022-01-24 02:53:45 +00:00
Amanieu d'Antras
f5c59b3514 Handle stabilization of vec_spare_capacity 2022-01-18 15:11:40 +00:00
Luo Jia
ab48bdfb46
More RISC-V instructions in core::arch (#1271) 2022-01-05 06:17:58 +00:00
Amanieu d'Antras
59e7156f6e
Remove asm feature which is now stable (#1269) 2021-12-19 14:43:19 +00:00
Frank Steffahn
df24e2a0f8 Fix a bunch of typos 2021-12-14 10:17:43 -08:00
Sparrow Li
88e98e9c60
Stabilize armv8 neon instruction set on aarch64 (#1266) 2021-12-13 01:52:20 +00:00
Amanieu d'Antras
39849dd6c6
Import the asm! macro from core::arch (#1265) 2021-12-09 23:50:37 +00:00