dlib.math.sse

SSE-based optimizations for common vector and matrix operations

Description: This module implements some frequently used vector and matrix operations using SSE instructions. Implementation is in WIP status. Module is compatible only with Digital Mars D Compiler.

Members

Functions

sseAdd4
Vector4f sseAdd4(Vector4f a, Vector4f b)

Vector addition

sseCross3
Vector4f sseCross3(Vector4f a, Vector4f b)

Vector cross product

sseDiv4
Vector4f sseDiv4(Vector4f a, Vector4f b)

Vector division

sseDot4
float sseDot4(Vector4f a, Vector4f b)

Vector dot product

sseMul4
Vector4f sseMul4(Vector4f a, Vector4f b)

Vector multiplication

sseMulMat4
Matrix4x4f sseMulMat4(Matrix4x4f a, Matrix4x4f b)

Matrix multiplication

sseSub4
Vector4f sseSub4(Vector4f a, Vector4f b)

Vector subtraction

Meta

Authors

Timur Gafarov