rust/library/stdarch
Alex Crichton be861579df wasm32: Add relaxed simd instructions
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-03-19 16:08:18 +01:00
..
.github/workflows Remove Android CI (#1346) 2022-10-25 16:57:03 +01:00
ci wasm32: Add relaxed simd instructions 2023-03-19 16:08:18 +01:00
crates wasm32: Add relaxed simd instructions 2023-03-19 16:08:18 +01:00
examples Edition 2021, apply clippy::uninlined_format_args fix (#1339) 2022-10-25 20:17:23 +01:00
.cirrus.yml Work around rustup bug in FreeBSD CI (#1176) 2021-05-28 01:20:30 +01:00
.gitignore Intrinsic test tool to compare neon intrinsics with C (#1170) 2021-09-09 19:16:45 +01:00
.gitmodules Handle intrinsics with constraints in the test tool. (#1237) 2021-11-05 01:47:31 +00:00
Cargo.toml Intrinsic test tool to compare neon intrinsics with C (#1170) 2021-09-09 19:16:45 +01:00
CONTRIBUTING.md fix target name in contributing.md 2022-08-20 22:19:34 +02:00
LICENSE-APACHE Add license files 2017-09-25 12:43:06 -07:00
LICENSE-MIT Add license files 2017-09-25 12:43:06 -07:00
README.md Use SPDX license format and update packed_simd crate link (#1297) 2022-03-17 10:55:51 +00:00
rustfmt.toml Update the intrinsic checker tool (#1258) 2021-12-04 13:03:30 +00:00
triagebot.toml Remove S-waiting-on-review autolabel (#1360) 2022-11-27 17:22:08 +00:00
vendor.yml Update repo name 2019-07-09 01:37:07 +02:00

stdarch - Rust's standard library SIMD components

Actions Status

Crates

This repository contains two main crates:

  • core_arch implements core::arch - Rust's core library architecture-specific intrinsics, and

  • std_detect implements std::detect - Rust's standard library run-time CPU feature detection.

The std::simd component now lives in the packed_simd_2 crate.