GetCpuidSseFlags
function · d3dx
- Address
0x74fa8a· 161 bytes, up to0x74fb2a- Meaning
- Returns 4 for CPUID SSE and 8 for SSE2 from leaf 1, under an exception handler
- Confidence
- inferred
- Finding
- models/animation#dispatched-matrix-math
Finding: Dispatched matrix math in models: animation
The bone product, the rotation matrix of a quaternion, the blend-slot quaternion blend and the
scene matrix are linked math routines called through writable slots. The first call fills the
slots once by processor and registry: with DisablePSGP or DisableD3DXPSGP under
HKLM\Software\Microsoft\Direct3D equal to 1, only the defaults; otherwise the 3DNow set when
that feature is present and the value is not 2, else the SSE2 set when CPUID reports SSE2, else the
SSE set when SSE is present. A modern SSE2 processor without the registry values runs the SSE2
product 0x754a66 and inverse 0x754cd2, and the default quaternion routines 0x74b6bb and
0x74d11a, which no set replaces but 3DNow.
| slot | thunk | default | SSE2 | SSE | 3DNow |
|---|---|---|---|---|---|
0x876504 | 0x74a7c0 | 0x7507bb | 0x754a66 | 0x751055 | 0x7580fb |
0x876544 | 0x74ad38 | 0x74ad3e | 0x754cd2 | 0x7512c1 | 3DNow set |
0x876588 | 0x74d114 | 0x74d11a | default | default | 3DNow set |
0x876594 | 0x74b6b5 | 0x74b6bb | default | default | 3DNow set |
The derivation is in the doc.
Callers 2
- 0x74fb2b d3dx
- SelectMathRoutines d3dx
Callees 1
- __EH_prolog crt
Calls and jumps by a bare address, from tables/calls.tsv.