Skip to content

Tracking Issue for constifying x86 intrinsics in stdarch #149298

@sayantn

Description

@sayantn

Feature gate: #![feature(stdarch_const_x86)]

This is a tracking issue for unstable const versions of x86(64) intrinsics in stdarch.

Public API

~50% of x86(64) intrinsics in stdarch are amenable to constification. Intel has some weird pecularities in floating point, especially in comparison and conversion, which will be nontrivial to constify. Most integer intrinsics have been constified, with the exception of intrinsics that use saturating operations - LLVM generic saturation support is not great

Steps / History

Unresolved Questions

  • There are a few very specialized float intrinsics (mostly in AVX512), do we want to constify them?

Footnotes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.T-libs-apiRelevant to the library API 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