src/simd/neon/batch3.c file

NEON batch3: strided 3×3 multiply, inverse, and Voigt-6 ddot.

Items are processed 4-wide (f32) or 2-wide (f64). No gather; elements are packed scalar then loaded. Polar stays on mat3_polar.

Typedefs

using vm_vec = float64x2_t
using vm_mask = uint64x2_t

Functions

static auto load_e(const vm_float_t* base, const int stride, const int k, const int e) -> vm_vec
static void store_e(vm_float_t* base, const int stride, const int k, const int e, const vm_vec v)
static auto any_le(const vm_vec v, const vm_vec s) -> int
auto vm_batch3_mul_neon(vm_float_t* C, const int c_stride, const vm_float_t* A, const int a_stride, const vm_float_t* B, const int b_stride, const int n) -> bool
auto vm_batch3_inverse_neon(vm_float_t* C, const int c_stride, const vm_float_t* A, const int a_stride, const int n) -> bool
auto vm_batch3_ddot_neon(vm_float_t* d, const vm_float_t* a, const int a_stride, const vm_float_t* b, const int b_stride, const int n) -> bool

Defines

#define VM_LANES
#define vm_set1
#define vm_add
#define vm_sub
#define vm_mul
#define vm_div
#define vm_max
#define vm_abs
#define vm_cmp_le(a, b)
#define vm_blend(a, b, m)
#define vm_load
#define vm_store