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

Use constant generating tricks for XMVectorSplatOne, etc. #69

Open
@walbourn

Description

In the original Xbox 360 implementation of xboxmath, the following functions used tricks and helper intrinsics like vec_ctf to generate constants:

  • XMVectorSplatOne
  • XMVectorSplatInfinity
  • XMVectorSplatQNaN
  • XMVectorSplatEpsilon
  • XMVectorSplatSignMask

For the SSE implementation, they are implemented as just loads from vectorized data-segment constants. It would be nice to find a way to generate the values instead to minimize data read and catch impacts.

For ARM-NEON, most of these use vdupq_n_f32 or vdupq_n_u32 which should be reasonably efficient already.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

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