stdarch
stdarch copied to clipboard
Rust's standard library vendor-specific APIs and run-time feature detection
While many intrinsics use `.insn` to generate raw machine code from numbers, all ratified instructions can be now symbolic. This is the part two (after the `pause` intrinsic) and uses...
## What does `stdarch-gen-wasm32` do? 1. First it collects the intrinsic definitions from the `wasm_simd128.h` file (for the definitions in C) 2. Then it collects the intrinsic definitions from the...
Something's happening, based on https://github.com/rust-lang/rust/issues/144621, so go further than before by removing the visibility from the field and having definitions use a `from_array` method instead where needed. This is draft...
This PR is created only to compare (with PR rust-lang/stdarch#1884) the compilation results of the C++ test files created by `intrinsic-test` on the CI, and is not intended to be...
* Deprecate `_syncthreads` (the CUDA name) in favor of new `_barrier_sync` (NVPTX name `barrier.sync`). * The: `barrier.sync` instruction [is equivalent](https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-bar) to `barrier.sync.aligned` prior to `sm_70`, and will lead to errors/deadlock...
To support the new Tier-3 target `wasm32-wali-linux-musl` within the rust compiler : rust-lang/rust#135651 Minimally, this just disables dynamic-linking related Linux features which is not supported yet in Wasm.
The RiscV ZK spec states that `aes64ks1i` and `aes64ks2` is available whenever *either one* of `zkne` and `zknd` is available (see [here](https://github.com/riscv/riscv-crypto/blob/main/doc/scalar/insns/aes64ks1i.adoc) and [here](https://github.com/riscv/riscv-crypto/blob/main/doc/scalar/insns/aes64ks2.adoc)), but the [current implementation uses](https://github.com/rust-lang/stdarch/blob/master/crates/core_arch/src/riscv64/zk.rs#L119-L164) `#[target_feature(enable...
Some target features are not available in CI, so they may pose a risk of being skipped. This issue compiles a list of such target features for reference ```json {...
The `intrinsic-test` crate runs incredibly slowly, and takes a long time both on CI and locally. I'd like to speed that up. Looking at the code, it also shows signs...