eos.c file
NEON batched ideal and stiffened gas.
4-wide f32 / 2-wide f64. No gather; values are packed scalar. A bad chunk falls back to the scalar call from that item.
Functions
-
static auto load_s(const vm_
float_ t* base, const int stride, const int k) -> vm_ vec -
static auto any_le_zero(const vm_
vec v) -> int -
static auto any_lt_zero(const vm_
vec v) -> int -
static auto ideal_tail(vm_
float_ t* p, vm_ float_ t* c, const vm_ ideal_ gas* eos, const vm_ float_ t* rho, const int rho_stride, const vm_ float_ t* e, const int e_stride, const int from, const int n) -> bool -
static auto stiff_tail(vm_
float_ t* p, vm_ float_ t* c, const vm_ stiff_ gas* eos, const vm_ float_ t* rho, const int rho_stride, const vm_ float_ t* e, const int e_stride, const int from, const int n) -> bool -
auto vm_eos_ideal_n_neon(vm_
float_ t* p, vm_ float_ t* c, const vm_ ideal_ gas* eos, const vm_ float_ t* rho, const int rho_stride, const vm_ float_ t* e, const int e_stride, const int n) -> bool -
auto vm_eos_stiffened_n_neon(vm_
float_ t* p, vm_ float_ t* c, const vm_ stiff_ gas* eos, const vm_ float_ t* rho, const int rho_stride, const vm_ float_ t* e, const int e_stride, const int n) -> bool