rust/library/stdarch/crates/intrinsic-test
eupn 2e8d4ba8c8
Add missing ARM-v7A CRC intrinsics (#1515)
* Move aarch64 crc into arm shared module

* Add missing 32-bit arm crc intrinsics

On 32-bit ARM, this intrinsic emits two instructions and splits its 64-bit input parameter between them.

https://gcc.gnu.org/onlinedocs/gcc-4.9.4/gcc/ARM-ACLE-Intrinsics.html
2024-01-10 12:44:04 +00:00
..
src Remove unneeded borrows 2023-11-18 20:28:46 -08:00
Cargo.toml Fix intrinsic-test author handling. 2023-11-01 14:33:48 +01:00
LICENSE-APACHE Declare licence for crates/intrinsics-test. 2023-01-23 18:58:28 +00:00
LICENSE-MIT Check and pass the ACLE licence on to generated tests. 2023-01-23 18:58:28 +00:00
missing_aarch64.txt Add more AArch64 vrnd intrinsics. 2023-06-21 18:52:21 +02:00
missing_arm.txt Add missing ARM-v7A CRC intrinsics (#1515) 2024-01-10 12:44:04 +00:00
README.md Add --generate-only to intrinsic-test. 2023-11-17 23:49:21 -08:00

Generate and run programs using equivalent C and Rust intrinsics, checking that each produces the same result from random inputs.

Usage

USAGE:
    intrinsic-test [FLAGS] [OPTIONS] <INPUT>

FLAGS:
        --a32              Run tests for A32 instrinsics instead of A64
        --generate-only    Regenerate test programs, but don't build or run them
    -h, --help             Prints help information
    -V, --version          Prints version information

OPTIONS:
        --cppcompiler <CPPCOMPILER>    The C++ compiler to use for compiling the c++ code [default: clang++]
        --runner <RUNNER>              Run the C programs under emulation with this command
        --skip <SKIP>                  Filename for a list of intrinsics to skip (one per line)
        --toolchain <TOOLCHAIN>        The rust toolchain to use for building the rust code

ARGS:
    <INPUT>    The input file containing the intrinsics