about summary refs log tree commit diff
path: root/library/stdarch/crates
AgeCommit message (Collapse)AuthorLines
2025-06-02Fix incorrect intrinsic name in WASMsayantn-2/+2
2025-06-02Fix incorrect intrinsic name in X86sayantn-11/+11
2025-06-02Remove uses of deprecated type-specific pointers from ARMsayantn-380/+380
2025-06-02Use correct LLVM intrinsic for `vmull` and `vaddv`sayantn-36/+36
2025-06-02Use rust intrinsics for more ARM intrinsicssayantn-527/+73
2025-06-02Mark Neon f16 vectors as unstableAdam Gemmell-4/+9
2025-06-02Revert vbsl[q]_f16 to unstableAdam Gemmell-18/+3
2025-06-01RISC-V: Linux 6.15 `riscv_hwprobe` supportTsukasa OI-3/+39
This commit adds support for `riscv_hwprobe` on the Linux kernel 6.15. It adds feature detection of 8 extensions (4 of them are new in this). Existing RISC-V Extensions: 1. "Zicntr" 2. "Zihpm" 3. "Zalrsc" 4. "Zaamo" New RISC-V Extensions: 5. "Zicbom" 6. "Zfbfmin" 7. "Zvfbfmin" 8. "Zvfbfwma"
2025-06-01use `simd_bitreverse` on `aarch64`Folkert de Vries-21/+5
2025-05-31intrinsic-test: Reverse `has_constraints()` conditionTsukasa OI-1/+1
It seems it returns true when *no* constraints are found, opposite to the expected behavior of the function name. This commit reverses condition as the name suggests.
2025-05-31intrinsic-test: Use `c_prefix` to generate type namesTsukasa OI-1/+1
To make the type names to test correct, this commit replaces occurrences of `rust_prefix` to `c_prefix` where necessary.
2025-05-31Stabilize `sha512`, `sm3` and `sm4` intrinsics and runtime detectionsayantn-13/+13
2025-05-31Stabilize keylocker intrinsics and runtime detectionsayantn-14/+14
2025-05-31intrinsic-test: Modernization of the coding styleTsukasa OI-95/+91
It modernizes the coding style of the crate intrinsic-test by fixing Clippy warnings. Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28) Number of Fixed Warnings: 36/36
2025-05-31stdarch-verify: Modernization of the coding styleTsukasa OI-0/+2
It modernizes the coding style of the crate stdarch-verify by dealing with Clippy warnings (allows clippy::collapsible_if but review may be required for later changes). Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28) Number of Fixed Warnings: 4/4
2025-05-31stdarch-test: Modernization of the coding styleTsukasa OI-1/+1
It modernizes the coding style of the crate stdarch-test by fixing Clippy warnings. Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28) Number of Fixed Warnings: 1/1
2025-05-31stdarch-gen-loongarch: Modernization of the coding styleTsukasa OI-1/+1
It modernizes the coding style of the crate stdarch-gen-loongarch by fixing Clippy warnings. Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28) Number of Fixed Warnings: 1/1 Confirmed that the exact same code will be generated (note that, generated.rs in the repository is *not* an exact output but some spaces removed).
2025-05-31stdarch-gen-arm: Modernization of the coding styleTsukasa OI-170/+76
It modernizes the coding style of the crate stdarch-gen-arm by fixing Clippy warnings (except clippy::{collapsible_if,obfuscated_if_else} that might make the program look worse as a result of "fixing" warnings). Clippy: rust version 1.89.0-nightly (6f6971078 2025-05-28) Number of Fixed Warnings: 84/84 Note: Rust Analyzer double counts one of the Clippy warnings so it reduces 85 warnings (as reported by the Rust Analyzer). This commit also applies similar technique used to resolve Clippy warnings but also simplifies identifier name formatting and makes reading easier. Confirmed that the exact same code will be generated.
2025-05-30RISC-V: Linux: Imply Zicntr from the IMA base behaviorTsukasa OI-6/+4
As the author confirmed as in: <https://lists.infradead.org/pipermail/linux-riscv/2025-May/070844.html>, runtime detection of the Zicntr extension (as in the Linux kernel 6.15) is currently (and technically) redundant on the current base IMA behavior (although can be meaningful if new base behavior is added). This commit implies the Zicntr extension from the base IMA behavior.
2025-05-30Add back `std_detect_env_override`sayantn-2/+68
2025-05-30Upgrade more intrinsics to the new versionsayantn-24/+54
2025-05-30Use the new definition of `rdtscp` intrinsicsayantn-3/+5
- add `-Zverify-llvm-ir` in testsuite
2025-05-30Fix s390x intrinsicssayantn-9/+9
- use correct intrinsic for unpackl - fix invalid use of `simd_{or,and,xor}` on floating point vectors - `vec_search_string` should require `vector-enhancements-2`
2025-05-30Fix PPC shift and rotate intrinsicssayantn-9/+9
2025-05-30Fix `ldpte` and `lddir` signaturesayantn-4/+6
- The 2nd argument of the LLVM intrinsic should be IMMARG
2025-05-30mark gfni, vaes, vpclmulqdq intrinsics as safeusamoi-132/+165
2025-05-30cmpxchg16b: use atomic_compare_exchange from libcoreRalf Jung-28/+2
2025-05-30Check cfg on features that stage0 compiler supportTsukasa OI-20/+0
Since the bootstrap compiler of Rust is bumped to the commit 5dadfd5c417f0b66816cb7ca662859e2c8751fb3 (version 1.88.0-beta.3 2025-05-11), some features should be safe to enable cfg checks. RISC-V Features: * "zicsr" * "zicntr" * "zihpm" * "zifencei" * "zihintntl" * "zihintpause" * "zimop" * "zicboz" * "zicond" * "ztso" * "zfa" * "zca" * "zcb" * "zcmop" * "b" x86 Features: * "amx-avx512" * "amx-fp8" * "amx-movrs" * "amx-tf32" * "amx-transpose"
2025-05-27fix: code cleanup and renamingMadhav Madhusoodanan-54/+57
2025-05-27fix: moved common code (that required no architecture-specificMadhav Madhusoodanan-268/+243
modifications) outside the IntrinsicDefinition trait
2025-05-27fix: moved f16 formatting code to common moduleMadhav Madhusoodanan-10/+16
2025-05-27Fix: removed BaseIntrinsicTypeDefinition + code cleanupMadhav Madhusoodanan-152/+49
1. Removed default implementation of traits that are compulsorily implemented 2. Replaced BaseIntrinsicTypeDefinition with Deref<Target = IntrinsicType>
2025-05-27feat: merging changes related to f16 formattingMadhav Madhusoodanan-7/+105
2025-05-27moved more code generation functionality to `common`Madhav Madhusoodanan-286/+301
2025-05-27fix: aarch64_be issues wthin compilationMadhav Madhusoodanan-8/+11
2025-05-27feat: made constraint commonMadhav Madhusoodanan-113/+78
2025-05-27chore: file renamingMadhav Madhusoodanan-25/+24
2025-05-27code cleanupMadhav Madhusoodanan-23/+23
2025-05-27Added dynamic dispatch for easier management of `<arch>ArchitectureTest` structsMadhav Madhusoodanan-13/+16
2025-05-27moved the C compilation commands into a struct for easier handlingMadhav Madhusoodanan-55/+193
2025-05-27Removed aarch64-be specific execution command for rust test filesMadhav Madhusoodanan-23/+8
2025-05-27renamed `a64_only` data member in `Intrinsic` to `arch_tags`Madhav Madhusoodanan-4/+4
2025-05-27Added a macro to simplify <Arch>IntrinsicType definitionsMadhav Madhusoodanan-42/+59
2025-05-27introduced generic types and code refactorMadhav Madhusoodanan-640/+808
2025-05-27Updated `Argument::from_c` to remove `ArgPrep` specific argumentMadhav Madhusoodanan-7/+31
2025-05-27added target field within `IntrinsicType` to perform target level checking ↵Madhav Madhusoodanan-12/+26
cleanly
2025-05-27test commit to check if `load_Values_c` can be dissociated from target logicMadhav Madhusoodanan-24/+32
2025-05-27rename struct for naming consistencyMadhav Madhusoodanan-4/+6
2025-05-27maintaining special list of targets which need different execution commandMadhav Madhusoodanan-5/+11
2025-05-27fixed `too many files open` issueMadhav Madhusoodanan-24/+36