Skip to content

ACP: Add unchecked arithmetic methods for integer simd #662

@CrazyboyQCD

Description

@CrazyboyQCD

Proposal

Add unchecked arithmetic methods for integer simd

Problem statement

uncheked_(add, sub, mul, div, shl, shr, neg, exact_div) methods are added for integers but not for integer simd.

Motivating examples or use cases

These methods will be helpful in performant code.

Solution sketch

  1. Add unchecked intrinsics
  2. Add inherent unchecked methods

Alternatives

Links and related work

rust-lang/portable-simd#14
rust-lang/portable-simd#481

Metadata

Metadata

Assignees

No one assigned

    Labels

    ACP-acceptedAPI Change Proposal is accepted (seconded with no objections)T-libs-apiapi-change-proposalA proposal to add or alter unstable APIs in the standard libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions