about summary refs log tree commit diff
path: root/library/stdarch/crates/intrinsic-test/src/main.rs
AgeCommit message (Collapse)AuthorLines
2025-09-07move `compare_outputs` implementation into `SupportedArchitectureTest` ↵Folkert de Vries-14/+7
definition
2025-07-08add extra log messages to track setupFolkert de Vries-0/+3
2025-05-27feat: merging changes related to f16 formattingMadhav Madhusoodanan-1/+0
2025-05-27chore: file renamingMadhav Madhusoodanan-1/+1
2025-05-27Added dynamic dispatch for easier management of `<arch>ArchitectureTest` structsMadhav Madhusoodanan-9/+10
2025-05-27rename struct for naming consistencyMadhav Madhusoodanan-2/+4
2025-05-27chore: added match block in `src/main.rs`Madhav Madhusoodanan-2/+13
2025-05-27chore: code consolidationMadhav Madhusoodanan-2/+2
2025-05-27chore: Added `ProcessedCli` to extract the logic to pre-process CLI struct argsMadhav Madhusoodanan-1/+19
2025-05-27Feat: Moved majority of the code to `arm` module.Madhav Madhusoodanan-755/+3
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-0/+90
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.
2025-02-24core-arch: Add NEON fp16 intrinsicsKajetan Puchalski-1/+1
2025-02-24intrinsic-test: Support testing f16 intrinsicsKajetan Puchalski-9/+10
2025-02-24fix up yaml & re-generateJames Barford-Evans-1/+3
2025-02-24remove print statment and correct target nameJames Barford-Evans-2/+1
2025-02-24fix test runner for armv7James Barford-Evans-20/+39
2025-02-24ensure correct linker gets chosenJames Barford-Evans-9/+16
2025-02-24Update test runner to support big endianJames Barford-Evans-56/+138
2024-09-30Minor lintingYuri Astrakhan-1/+1
2024-05-14feat: stabilization for stdarch_aarch64_crc32Olasunkanmi Olayinka-1/+1
2024-03-13arm64ecDaniel Paoliello-6/+6
2023-11-18Remove unneeded borrowsEduardo Sánchez Muñoz-3/+3
2023-11-17Improve intrinsic-test output formatting.Jacob Bramley-17/+43
This change is simple, but makes the generated tests much easier to follow (and debug).
2023-11-17Add --generate-only to intrinsic-test.Jacob Bramley-9/+30
This is useful for debugging.
2023-11-01Fix intrinsic-test author handling.Jacob Bramley-2/+4
CARGO_PKG_AUTHORS is :-separated. Also add myself to intrinsic-test authors.
2023-11-01Clean up intrinsic-test literals.Jacob Bramley-1/+0
- Ensure that C literals don't rely on undefined overflow behaviour. - We don't need to use 'as' casts, so remove them. - We weren't using allow(overflowing_literals), so remove it. - Format FP bit values as hex. This simplifies the test input initialisers in the generated files, making them shorter and easier to debug.
2023-11-01Remove unnecessary unsafety in intrinsic tests.Jacob Bramley-2/+1
This fixes "unnecessary `unsafe` block" warnings encountered when building the generated rust_programs. The only pattern that actually required `unsafe` was transmuting bit patterns into floats. This patch uses the safe `from_bits` instead, but because that isn't const, we have to make them local let-bound variables.
2023-10-29Fix various compilation errorsAmanieu d'Antras-0/+8
2023-10-29Cleanup last uses of the stdsimd featureAmanieu d'Antras-1/+0
2023-10-10Bump clap to 4.4Eduardo Sánchez Muñoz-52/+41
Also define args with derive style instead of builder style.
2023-05-15Remove ACLE submoduleAdam Gemmell-28/+16
This involves moving from the ACLE intrinsic definitions (which aren't available for SVE at this point) to a JSON file. This was derived from ARM's documentation[^1], and then relicensed under `MIT OR Apache-2.0` for use in this repository. [^1]: https://developer.arm.com/architectures/instruction-sets/intrinsics
2023-01-23Check and pass the ACLE licence on to generated tests.Jacob Bramley-12/+39
The generated tests are transient, and aren't committed, so this is primarily a safety check.
2022-10-25Edition 2021, apply clippy::uninlined_format_args fix (#1339)Yuri Astrakhan-11/+11
2022-08-22Use load intrinsic and loop for intrinsic-test programs. Add --release flag ↵James McGregor-16/+38
back to intrinsic-test programs.
2021-12-04Update the intrinsic checker tool (#1258)Amanieu d'Antras-31/+53
2021-11-05Handle intrinsics with constraints in the test tool. (#1237)Jamie Cunliffe-48/+105
2021-09-09Intrinsic test tool to compare neon intrinsics with C (#1170)Jamie Cunliffe-0/+400