Skip to content

Tracking Issue for APX target feature #139284

Open
@sayantn

Description

@sayantn

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

Advanced Performance Extensions is a general-purpose extension of x86-64 for all Intel CPUs. See this presentation by LLVM team for more info about this.

Public API

The apxf target feature, and usage of GPR32 in inline ASM

Steps / History

Unresolved Questions

  • How to handle inline-asm-use-gpr32? The GPR32 registers (specifically REX2) can't be used with VEX encoded instructions, notably AVX and SSE. See the GCC patch for more info

@rustbot label O-x86_64 A-target-feature A-inline-assembly T-compiler -T-libs-api

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-inline-assemblyArea: Inline assembly (`asm!(…)`)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 RFCO-x86_64Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions