about summary refs log tree commit diff
path: root/library/stdarch/crates/intrinsic-test/src
AgeCommit message (Collapse)AuthorLines
2025-07-18Merge pull request #1862 from folkertdev/combine-c-filesAmanieu d'Antras-230/+259
`intrinsic-test`: combine C files for faster compilation
2025-07-18`intrinsic-test`: combine C files for more efficient compilationFolkert de Vries-230/+259
2025-07-18Merge pull request #1878 from ↵Folkert de Vries-12/+19
madhav-madhusoodanan/intrinsic-test-box-removing-and-more `intrinsic-test`: Implemented DerefMut for ArmIntrinsicTest
2025-07-18improve cpp compiler executionFolkert de Vries-144/+92
2025-07-18pass the whole config to C compiler constructionFolkert de Vries-29/+29
2025-07-16Implemented DerefMut for ArmIntrinsicTestMadhav Madhusoodanan-12/+19
More details: 1. Moved the return type of IntrinsicType::from_c to Rust<Self, String> from Result<Box<Self>, String>
2025-07-16Merge pull request #1875 from sayantn/sde-updateAmanieu d'Antras-3/+3
Bump CI versions
2025-07-16Bump versions in CIsayantn-3/+3
- `clang-19` -> `clang-20` in ARM - `gcc-14.2` -> `gcc-14.3` in AArch64-BE - `gcc-14` ->`gcc-15` in LA64 - `riscv-gnu-v2025.01.20` -> `riscv-gnu-v2025.07.03` in Risc-V 32 - `wasmtime-v18.0.2` -> `wasmtime-v34.0.1`
2025-07-16Modified Typekind to group the Signed and Unsigned version of types.Madhav Madhusoodanan-31/+72
2025-07-09run rust programs with the runnerFolkert de Vries-74/+69
2025-07-08add extra log messages to track setupFolkert de Vries-0/+3
2025-07-07some clippy fixesMarijn Schouten-3/+3
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-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-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
2025-05-27chore: added match block in `src/main.rs`Madhav Madhusoodanan-2/+13
2025-05-27chore: code consolidationMadhav Madhusoodanan-162/+145
2025-05-27chore: separated common logic within file creations, compile_c, compile_rust ↵Madhav Madhusoodanan-397/+501
and compare_outputs
2025-05-27chore: Added `ProcessedCli` to extract the logic to pre-process CLI struct argsMadhav Madhusoodanan-608/+685
2025-05-27Chore: Added `SupportedArchitectureTest` trait which must be implemented for ↵Madhav Madhusoodanan-44/+60
different architectures. Next steps: Move the existing ARM-specific implementation into one that fits well with this trait.
2025-05-27Feat: Moved majority of the code to `arm` module.Madhav Madhusoodanan-767/+687
Reasoning: 1. Majority of code assumes the usage of `Intrinsic` and related types, which is derived from the JSON structure of the ARM intrinsics JSON source file 2. Further commits will start with extracting common parts of the code (eg: Create C/Rust file, Build C/Rust file, etc)
2025-05-20in `intrinsic-test`, format f16 like CFolkert de Vries-1/+102
2025-05-03change how the test is runJames Barford-Evans-19/+7
2025-05-03add printouts for debuggingJames Barford-Evans-3/+10
2025-03-05feat - FEAT_LUT neon instrinsicsJames Barford-Evans-1/+1
2025-03-04armV7 does not need faminmax flagJames Barford-Evans-1/+0
2025-03-04Add aarch64_unstable_target_feature and relax instruction assertionJames Barford-Evans-1/+2
2025-02-24intrinsic-test: Print C++ float16_t in hexKajetan Puchalski-0/+9
Upstream Rust currently does not support printing f16s in decimal. For the intrinsics tests to work, make C++ print float16_t in the same format. Can be droppen once https://github.com/rust-lang/rust/pull/127013 is merged.