Skip to content

Tracking Issue for stdarch_arithmetic_ops #145066

@sayantn

Description

@sayantn

Feature gate: #![feature(stdarch_arithmetic_ops)]

This is a tracking issue for implementing arithmetic operation traits (in core::ops) for SIMD types in core::arch

Public API

Implementation of the following traits (and the assign variants, if applicable) for all SIMD types that have a defined element size (one exception is __m{128,256,512}i in x86)

  • Add
  • Sub
  • Mul
  • Div
  • Rem
  • Neg

Along with these, the following traits for Integer SIMD types

  • BitOr
  • BitAnd
  • BitXor
  • Not
  • Shl and Shr (if element size is defined)

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

  • Implementation
  • Final comment period (FCP)1
  • Stabilization PR

Unresolved Questions

  • None yet.

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