mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
docs: add new option to docs
This commit is contained in:
@@ -5,7 +5,7 @@ Options
|
|||||||
|
|
||||||
A few options are provided via macros.
|
A few options are provided via macros.
|
||||||
|
|
||||||
Alignment
|
Alignment Option
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
As default, cglm requires types to be aligned. Alignment requirements:
|
As default, cglm requires types to be aligned. Alignment requirements:
|
||||||
@@ -34,3 +34,9 @@ have to compile cglm with **CGLM_ALL_UNALIGNED** macro.
|
|||||||
ALWAYS USE SAME CONFIGURATION / OPTION for **cglm** if you have multiple projects.
|
ALWAYS USE SAME CONFIGURATION / OPTION for **cglm** if you have multiple projects.
|
||||||
|
|
||||||
For instance if you set CGLM_ALL_UNALIGNED in a project then set it in other projects too
|
For instance if you set CGLM_ALL_UNALIGNED in a project then set it in other projects too
|
||||||
|
|
||||||
|
SSE and SSE2 Shuffle Option
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
**_mm_shuffle_ps** generates **shufps** instruction even if registers are same.
|
||||||
|
You can force it to generate **pshufd** instruction by defining
|
||||||
|
**CGLM_USE_INT_DOMAIN** macro. As default it is not defined.
|
||||||
|
|||||||
Reference in New Issue
Block a user