Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

batch_cast does not use SIMD intrinsic when available on Intel #1179

Open
@AntoinePrv

Description

Plenty of conversion are available on Intel.
For instance

  • Upcast integers: _mm_cvtepi32_epi64 on SSE i32 -> i64
  • Convert ints to floats: _mm_cvtepi32_ps on SEE i32 -> f32
  • Downcasting has more limited support and is saturating (contrary to static_cast).

I'm not sure about other architectures, I believe arm does not have it. Still this could be a nice boost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /