about summary refs log tree commit diff
path: root/library/stdarch/crates/stdarch-test
AgeCommit message (Collapse)AuthorLines
2025-08-10Add testing for Arm64EC WindowsDaniel Paoliello-2/+4
2025-07-18Merge pull request #1860 from folkertdev/stdarch-test-cleanupAmanieu d'Antras-15/+25
`stdarch-test`: various cleanups
2025-07-17`stdarch-test`: for now, allow if only part of an instruction matchedFolkert de Vries-3/+5
2025-07-16Update `wasmprinter` to latestsayantn-1/+1
2025-07-15`stdarch-test`: error if only part of an instruction matchedFolkert de Vries-1/+7
2025-07-15`stdarch-test`: misc cleanupsFolkert de Vries-7/+14
2025-07-15`stdarch-test`: use `std::sync::LazyLock` instead of `lazy_static!`Folkert de Vries-7/+2
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-06Add `riscv32` CI runsayantn-1/+1
2025-05-03pr feedback - take the instruction count bump out of DockerfileJames Barford-Evans-1/+9
2025-04-20Augment `stdarch-test` to parse PPCsayantn-2/+7
- Remove some unused env variables from `run.sh`
2025-04-20Remove `STDARCH_DISABLE_DEDUP_GUARD` as it was unusedsayantn-3/+0
2025-02-13Add the keylocker intrinsicssayantn-0/+8
2025-02-09Update all crates to Rust 2024Eric Huss-1/+1
2024-12-21Make `assert_instr` strictersayantn-4/+9
2024-09-30Minor lintingYuri Astrakhan-5/+2
2024-09-14Enable feature detection on all Apple/Darwin targetsMads Marquart-2/+2
Tested in the simulator and on the device I had lying around, a 1st generation iPad Mini (which isn't Aarch64, but shows that the `sysctlbyname` calls still work even there, even if they return false). `sysctlbyname` _should_ be safe to use without causing rejections from the app store, as its usage is documented in: https://developer.apple.com/documentation/kernel/1387446-sysctlbyname/determining_instruction_set_characteristics Also, the standard library will use these soon anyhow, so this shouldn't affect the situation: https://github.com/rust-lang/rust/pull/129019
2024-07-06Implemented VEX versionssayantn-1/+1
Modified stdarch-test to accept VEX versions
2024-06-29Upgraded disassembly to include `windows-gnu` targetssayantn-29/+23
2024-06-07Ignore int3 instructions when counting instructions in testsAmanieu d'Antras-1/+1
These are generated as padding and are not actually part of the function.
2024-04-19Enable testing for AArch64 WindowsDaniel Paoliello-14/+20
2024-03-13arm64ecDaniel Paoliello-2/+2
2023-11-30Revert "Work around CI failures for the ARM target"Amanieu d'Antras-6/+21
This reverts commit 5a748ec5fabcaee29351ac3c90eee4f3e16964e7.
2023-11-30Report missing features when skipping tests.Jacob Bramley-4/+8
2023-11-30Work around CI failures for the ARM targetAmanieu d'Antras-21/+6
These seem to have been introduced by recent LLVM changes. * The instruction limit for vld*/vst* has been raised. This is not a significant issue, it is only used for testing. * vld*/vst* instructions are generated with overly strict alignments: https://github.com/rust-lang/stdarch/issues/1217 * vtbl/vtbx instrinsics are failing intrinsic-test for unknown reasons.
2023-10-31Simplify some expressions with pointers and referencesEduardo Sánchez Muñoz-2/+2
2023-10-31Convert `while` loop to `for`Eduardo Sánchez Muñoz-1/+1
2023-10-10Bump wasmprinter to 0.2.67Eduardo Sánchez Muñoz-1/+1
2023-09-22Fix: #1464 for rv64 zbGijs Burghoorn-1/+1
2023-09-22Fix: #1464 for rv64 zkGijs Burghoorn-0/+2
2023-08-29Update instruction tests for LLVM 17Amanieu d'Antras-6/+9
2023-08-29Fix CI on wasm32-wasiAmanieu d'Antras-26/+36
The cc dependency doesn't compile on wasi, so only include it for windows targets.
2023-06-09Remove assert_instr exception for AArch64 *cvt*.Jacob Bramley-5/+0
The LLVM code generation was improved some time ago.
2023-04-08stdarch-test: Ignore `{evex}` prefix emitted by recent objdumpAmanieu d'Antras-1/+1
2023-03-19wasm32: Add relaxed simd instructionsAlex Crichton-1/+1
This commit adds intrinsics to the `wasm32` to support the [relaxed SIMD proposal][proposal]. These are added with the same naming conventions of existing simd-related intrinsics for wasm which is similar to the instruction name but matches sign in a few places. This additionally updates Wasmtime to execute tests with support for the relaxed simd proposal. No release has been made yet so this uses the `dev` release, and I can make a PR in April when the support in Wasmtime has been released to an official release. The `wasmprinter` crate is also updated to understand these instruction opcodes as well. Documentation has been added for all intrinsics, but tests have only been added for some of them so far. I hope to follow-up later with more tests. [proposal]: https://github.com/WebAssembly/relaxed-simd
2023-02-18Fix typobwmf2-1/+1
2022-10-25Edition 2021, apply clippy::uninlined_format_args fix (#1339)Yuri Astrakhan-10/+10
2022-10-04Update the Android Docker files to Ubuntu 22.04 (#1338)Chris Wailes-1/+0
2022-09-11Bump `cfg-if` dependency to 1.0Charles Lew-1/+1
2021-09-29Complete vld* and vst* neon instructions (#1224)Sparrow Li-0/+9
2021-09-24Complete vst1 neon instructions (#1221)Sparrow Li-0/+4
2021-09-18Check inlining and instruction count for assert_instr(nop) as well (#1218)Hans Kratz-7/+4
2021-09-08Normalize [us]shll.* ..., #0 aarch64 disassembly to the preferred [us]xtl.* ↵Hans Kratz-1/+24
(#1213)
2021-09-09Disable arm inlining check again for now as some tests are still failing.Hans Kratz-1/+1
2021-09-09Use a lighter dedup guard in the assert_instr test shims.Hans Kratz-3/+3
2021-09-08Implement proper subroutine call detection for x86, x86_64, aarch64 and wasm32.Hans Kratz-13/+21
2021-09-08remove assembly parsing special case for otool output (no longer needed)Hans Kratz-10/+1
2021-09-08using v8.6a target feature to cover more instructionsHans Kratz-1/+1
2021-09-08Use objdump on Macos x86_64 as well.Hans Kratz-32/+7
2021-09-08Use LLVM objdump on Macos ARM64 because it is not possible to enable TME ↵Hans Kratz-0/+18
support with otool