rust-lang / rust-lang/rust

Add SIMD operations that use f16 and f128

Open
#125,440 23 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-SIMD C-feature-request E-help-wanted F-f16_and_f128 T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Eventually we will want to be able to make use of simd operations for f16 and f128, now that we have primitives to represent them. Possibilities that I know of:

Probably some work/research overlap with adding assembly https://github.com/rust-lang/rust/issues/125398

Tracking issue: https://github.com/rust-lang/rust/issues/116909

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with tracking issue #116909 and review the linked stdarch and Rust submodule pull requests for AArch64, NVIDIA PTX, and x86. Compare those approaches with the runtime-sized type constraints and the related assembly issue #125398; the work is complete when a specific target scope and implementation path for f16 or f128 SIMD operations is established and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.