about summary refs log tree commit diff
path: root/library/stdarch/crates/intrinsic-test/src
AgeCommit message (Collapse)AuthorLines
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.
2025-02-24core-arch: Add NEON fp16 intrinsicsKajetan Puchalski-1/+1
2025-02-24intrinsic-test: Support testing f16 intrinsicsKajetan Puchalski-10/+14
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-25/+44
2025-02-24ensure correct linker gets chosenJames Barford-Evans-9/+16
2025-02-24Update test runner to support big endianJames Barford-Evans-67/+147
2025-02-09Format with style edition 2024Eric Huss-2/+2
2024-09-30Minor lintingYuri Astrakhan-13/+7
2024-05-14feat: stabilization for stdarch_aarch64_crc32Olasunkanmi Olayinka-1/+1
2024-04-13Remove duplicated `allow(dead_code)` attributeTony Arcieri-1/+0
Accidentally added in #1552
2024-04-12Stabilize AArch64 SHA3 intrinsicsTony Arcieri-0/+1
See also: rust-lang/rust#117225
2024-04-10intrinsic-test: Suppress a warning about dead codeLuca Barbato-0/+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-63/+132
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-24/+33
- 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-64/+79
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-53/+43
Also define args with derive style instead of builder style.
2023-07-30docs: Fix warnings and typos.Bruce Mitchener-4/+4
* Fix typo in HTML tag * Mark some things with backticks to fix warnings about unescaped square brackets. * Spell "initialize" correctly to fix typos.
2023-05-16Fix intrinsic-test rejecting the new `instructions` JSON fieldAdam Gemmell-1/+0
2023-05-15Remove ACLE submoduleAdam Gemmell-394/+225
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-14/+85
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-23/+23
2022-08-22Use load intrinsic and loop for intrinsic-test programs. Add --release flag ↵James McGregor-95/+184
back to intrinsic-test programs.
2021-12-14Fix a bunch of typosFrank Steffahn-3/+3
2021-12-04Update the intrinsic checker tool (#1258)Amanieu d'Antras-32/+78
2021-11-05Handle intrinsics with constraints in the test tool. (#1237)Jamie Cunliffe-246/+566