about summary refs log tree commit diff
path: root/library/stdarch/crates/intrinsic-test/src/common
AgeCommit message (Collapse)AuthorLines
2025-09-12intrinsic-test: Make Clippy happyTsukasa OI-1/+1
2025-09-07move target-specific definitions into constantsFolkert de Vries-24/+5
2025-09-07move `build_c_file` and `build_rust_file` into `SupportedArchitectureTest`Folkert de Vries-3/+142
2025-09-07remove `trait IntrinsicDefinition`Folkert de Vries-38/+28
2025-09-07move `print_result_c` into the traitFolkert de Vries-7/+8
2025-09-07move more constants into `SupportedArchitectureTest`Folkert de Vries-3/+13
2025-09-07move platform headers into `SupportedArchitectureTest`Folkert de Vries-0/+2
2025-09-07move `compare_outputs` implementation into `SupportedArchitectureTest` ↵Folkert de Vries-4/+27
definition
2025-08-05use `IntoIterator` for the `add_flags` methodsFolkert de Vries-7/+8
2025-08-05chore: moved chunk_info to `common` and code cleanupMadhav Madhusoodanan-0/+7
2025-08-05feat: cleaned the IntrinsicType struct and associated functions.Madhav Madhusoodanan-7/+0
Changes: 1. Removed `from_c` from the IntrinsicType definition. 2. Moved the `from_c` arm-specific definition to an ArmIntrinsicType-specific impl block
2025-08-03feat: Added another variant of the Constraint enumMadhav Madhusoodanan-6/+13
2025-07-27chore: handling the case where --generate-only flag is passedMadhav Madhusoodanan-4/+8
2025-07-27feat: updated Argument<T> type for functional compatibility with otherMadhav Madhusoodanan-27/+9
architectures too
2025-07-19generate arrays of type-erased function pointersFolkert de Vries-64/+73
2025-07-19split rust code into cratesFolkert de Vries-22/+62
so that we get more parallelism out of cargo
2025-07-19combine rust files into one compilationFolkert de Vries-179/+150
2025-07-18Merge pull request #1862 from folkertdev/combine-c-filesAmanieu d'Antras-213/+196
`intrinsic-test`: combine C files for faster compilation
2025-07-18`intrinsic-test`: combine C files for more efficient compilationFolkert de Vries-213/+196
2025-07-18Merge pull request #1878 from ↵Folkert de Vries-2/+4
madhav-madhusoodanan/intrinsic-test-box-removing-and-more `intrinsic-test`: Implemented DerefMut for ArmIntrinsicTest
2025-07-18improve cpp compiler executionFolkert de Vries-97/+67
2025-07-16Implemented DerefMut for ArmIntrinsicTestMadhav Madhusoodanan-2/+4
More details: 1. Moved the return type of IntrinsicType::from_c to Rust<Self, String> from Result<Box<Self>, String>
2025-07-16Modified Typekind to group the Signed and Unsigned version of types.Madhav Madhusoodanan-22/+62
2025-07-09run rust programs with the runnerFolkert de Vries-70/+67
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: Modernization of the coding styleTsukasa OI-75/+66
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-48/+51
2025-05-27fix: moved common code (that required no architecture-specificMadhav Madhusoodanan-215/+243
modifications) outside the IntrinsicDefinition trait
2025-05-27fix: moved f16 formatting code to common moduleMadhav Madhusoodanan-0/+15
2025-05-27Fix: removed BaseIntrinsicTypeDefinition + code cleanupMadhav Madhusoodanan-143/+32
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-3/+13
2025-05-27moved more code generation functionality to `common`Madhav Madhusoodanan-1/+190
2025-05-27fix: aarch64_be issues wthin compilationMadhav Madhusoodanan-7/+10
2025-05-27feat: made constraint commonMadhav Madhusoodanan-26/+34
2025-05-27chore: file renamingMadhav Madhusoodanan-14/+13
2025-05-27code cleanupMadhav Madhusoodanan-4/+4
2025-05-27Added dynamic dispatch for easier management of `<arch>ArchitectureTest` structsMadhav Madhusoodanan-1/+3
2025-05-27moved the C compilation commands into a struct for easier handlingMadhav Madhusoodanan-0/+152
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-2/+2
2025-05-27Added a macro to simplify <Arch>IntrinsicType definitionsMadhav Madhusoodanan-0/+56
2025-05-27introduced generic types and code refactorMadhav Madhusoodanan-0/+693
2025-05-27maintaining special list of targets which need different execution commandMadhav Madhusoodanan-5/+11
2025-05-27fixed `too many files open` issueMadhav Madhusoodanan-9/+14
2025-05-27chore: code consolidationMadhav Madhusoodanan-139/+131
2025-05-27chore: separated common logic within file creations, compile_c, compile_rust ↵Madhav Madhusoodanan-0/+338
and compare_outputs
2025-05-27chore: Added `ProcessedCli` to extract the logic to pre-process CLI struct argsMadhav Madhusoodanan-11/+65
2025-05-27Chore: Added `SupportedArchitectureTest` trait which must be implemented for ↵Madhav Madhusoodanan-0/+59
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-0/+127
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)