Skip to content

[raymath] Considering adding some SIMD optimizations #5316

@raysan5

Description

@raysan5

Recently a new software renderer backend (rlsw) was added to raylib and some performance considerations arised to improve speed.

rlsw added support for some SIMD optimizations and I'm considering adding something similar to raymath, at least for the most critical math functions.

As explained in a previous PR (#4599), using SIMD has some implications, target devices hardware MUST support the required SIMD vector instructions (SSE, AVX, RVV...) and only users aware of their target systems should use those vector extensions... but I think it could be really useful for the special cases where software rendering is required.

It could really improve performance considerably.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions