rust-lang / rust-lang/rust

Tracking Issue for AMX target features and intrinsics

Open
#126,622 7 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-SIMD A-target-feature C-tracking-issue O-x86_64
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

This issue tracks the integration of Intel AMX instruction family to Rust.

The feature gate for the issue is #![feature(x86_amx_intrinsics)].

Steps
  • Add the target-feature attributes and runtime detection for them
  • Implement the associated intrinsics in stdarch
  • Stabilization PR
Public API

The following target features and all their associated intrinsics and types (not complete, will be extended in future)

  • amx-tile
  • amx-int8
  • amx-bf16
  • amx-fp16
  • amx-complex
  • amx-avx512
  • amx-fp8
  • amx-movrs
  • amx-tf32
  • amx-transpose
Implementation History
  • #126639
  • rust-lang/stdarch#1587
  • rust-lang/stdarch#1618
  • #138003
  • rust-lang/stdarch#1763
  • #148338
  • rust-lang/stdarch#1846
  • rust-lang/stdarch#2091
  • rust-lang/stdarch#2184
  • #158910
Unresolved Questions
  • #133144

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 by reviewing the completed target-feature, runtime-detection, and stdarch implementation work linked in the issue, along with unresolved question #133144. The remaining work is a stabilization PR for the x86_amx_intrinsics feature gate and the listed AMX target features and intrinsics; done means the stabilization decision and PR are complete.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.