Skip to content
Discussion options

You must be logged in to vote

That is a special data type for SSE intrinsics. This data type in particular, represents a 128 bit wide SIMD register on x86 arch and x86-64 CPUs that support streaming SIMD extensions (SSE).

In the context of the SignOfF32() function, __m128 has 128 bits so it can hold a 4-single precision 32-bit float.

Other related data types are __m128d for doubles and __m128i for an integer. Same bit length and one 128-bit wide register but for different datatypes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by btgvesta
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants