|
Vecmat 0.2.3
C math and linear algebra library for 2D/3D graphics, physics, and science.
|
#include "cpu.h"Go to the source code of this file.
Macros | |
| #define | VECMAT_FN_PTR(name, params, args) |
| #define | VECMAT_PICK_SVE2(name) |
| #define | VECMAT_PICK_SVE(name) |
| #define | VECMAT_PICK_AVX512(name) |
| #define | VECMAT_PICK_AVX2(name) |
| #define | VECMAT_PICK_AVX(name) |
| #define | VECMAT_PICK(name) |
| #define | VECMAT_BIND(name, params, args) |
Functions | |
| static void | vm_cpu_bind (const vm_cpu_features_t features) |
| void | vm_cpu_init (void) |
Variables | |
| static int | dispatch_ready |
| #define VECMAT_BIND | ( | name, | |
| params, | |||
| args ) |
Referenced by vm_cpu_bind().
| #define VECMAT_FN_PTR | ( | name, | |
| params, | |||
| args ) |
Definition at line 7 of file dispatch.c.
| #define VECMAT_PICK | ( | name | ) |
Definition at line 58 of file dispatch.c.
| #define VECMAT_PICK_AVX | ( | name | ) |
Definition at line 50 of file dispatch.c.
| #define VECMAT_PICK_AVX2 | ( | name | ) |
Definition at line 41 of file dispatch.c.
| #define VECMAT_PICK_AVX512 | ( | name | ) |
Definition at line 32 of file dispatch.c.
| #define VECMAT_PICK_SVE | ( | name | ) |
Definition at line 23 of file dispatch.c.
| #define VECMAT_PICK_SVE2 | ( | name | ) |
Definition at line 14 of file dispatch.c.
|
static |
Definition at line 70 of file dispatch.c.
References VECMAT_BIND, and VECMAT_DISPATCH_LIST.
Referenced by vm_cpu_init().
| void vm_cpu_init | ( | void | ) |
Definition at line 77 of file dispatch.c.
References dispatch_ready, vm_cpu_bind(), and vm_cpu_selected_features().
Referenced by mat4_mul_ptr(), mat4_mul_vec3_ptr(), mat4_mul_vec4_ptr(), mat4_transpose_ptr(), quat_mul_ptr(), quat_normalize_ptr(), vec4_abs_ptr(), vec4_add_ptr(), vec4_add_scalar_ptr(), vec4_ceil_ptr(), vec4_clamp_ptr(), vec4_clamp_scalar_ptr(), vec4_div_ptr(), vec4_div_scalar_ptr(), vec4_floor_ptr(), vec4_fract_ptr(), vec4_homogenize_ptr(), vec4_lerp_ptr(), vec4_max_ptr(), vec4_min_ptr(), vec4_mul_ptr(), vec4_mul_scalar_ptr(), vec4_neg_ptr(), vec4_normalize_ptr(), vec4_round_ptr(), vec4_saturate_ptr(), vec4_sign_ptr(), vec4_sub_ptr(), and vec4_sub_scalar_ptr().
|
static |
Definition at line 11 of file dispatch.c.
Referenced by vm_cpu_init().