Mercurial > vec
diff README @ 36:677c03c382b8
Backed out changeset e26874655738
author | Paper <paper@tflc.us> |
---|---|
date | Fri, 25 Apr 2025 17:40:55 -0400 |
parents | e26874655738 |
children | fd42f9b1b95e |
line wrap: on
line diff
--- a/README Fri Apr 25 17:40:51 2025 -0400 +++ b/README Fri Apr 25 17:40:55 2025 -0400 @@ -1,4 +1,4 @@ -vec - a tiny SIMD vector library written in C99 +vec - a tiny SIMD vector header-only library written in C99 it comes with an extremely basic API that is similar to other intrinsics libraries; each type is in the exact same format: @@ -12,13 +12,6 @@ on processors where vec has an implementation and falls back to array-based implementations where they are not. -to initialize vec, you MUST call `vec_init()' when your program starts up. - -note that `vec_init()' is NOT thread-safe, and things can and will -blow up if you call it simultaneously from different threads (i.e. you -try to only initialize it when you need to... please just initialize -it on startup so you don't have to worry about that!!!) - all of these have many operations that are prefixed with the name of the type and an underscore, for example: @@ -113,3 +106,10 @@ the result vector if the value in `vec1' is greater than or equal to the corresponding value in `vec2', else all of the bits are turned off. + +to initialize vec, you MUST call `vec_init()' when your programs starts up. + +note that `vec_init()' is NOT thread-safe, and things can and will +blow up if you call it simultaneously from different threads (i.e. you +try to only initialize it when you need to... please just initialize +it on startup so you don't have to worry about that!!!)