Skip to content

Tracking Issue for x86_amx_intrinsics #126622

Open
@sayantn

Description

@sayantn
Contributor

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

Unresolved Questions

Activity

added
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
on Jun 18, 2024
rustbot

rustbot commented on Jun 24, 2024

@rustbot
Collaborator

Error: Label B-unstable can only be set by Rust team members

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

added
A-SIMDArea: SIMD (Single Instruction Multiple Data)
A-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.
on Jun 24, 2024
added a commit that references this issue on Jul 12, 2024

Rollup merge of rust-lang#126639 - sayantn:amx, r=Amanieu

0a83111
added a commit that references this issue on Jul 12, 2024

Rollup merge of rust-lang#126639 - sayantn:amx, r=Amanieu

f92f33a
added 3 commits that reference this issue on Jul 12, 2024

Rollup merge of rust-lang#126639 - sayantn:amx, r=Amanieu

4d1e87d

Rollup merge of rust-lang#126639 - sayantn:amx, r=Amanieu

c30bedf

Rollup merge of rust-lang#126639 - sayantn:amx, r=Amanieu

18152d7
added a commit that references this issue on Jul 12, 2024
workingjubilee

workingjubilee commented on Oct 23, 2024

@workingjubilee
Member

We will need to understand the ABI impacts of AMX, if any.

sayantn

sayantn commented on Oct 27, 2024

@sayantn
ContributorAuthor

Afaik, AMX doesn't change any ABI. Although we would need to change some things in inline asm to support tmm registers (it is currently clobber-only, when we introduce the __tile1024i type in stdarch, we can use that in inline asm, but sadly it would require compiler support to add the __tile1024i type)

added a commit that references this issue on Apr 2, 2025

Rollup merge of rust-lang#138003 - sayantn:new-amx, r=Amanieu

5b0f658
added a commit that references this issue on Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SIMDArea: SIMD (Single Instruction Multiple Data)A-target-featureArea: Enabling/disabling target features like AVX, Neon, etc.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @workingjubilee@rustbot@sayantn

        Issue actions

          Tracking Issue for `x86_amx_intrinsics` · Issue #126622 · rust-lang/rust