src/features/backend_builtin.c file

Functions

auto vm_backend_builtin(vm_cpu_features_t isa) -> const vm_backend_ops*
Built-in op table for a compiled ISA, or NULL.

Variables

static const vm_backend_ops vm_neon_ops
static const vm_backend_ops vm_sve_ops
static const vm_backend_ops vm_sve2_ops

Function documentation

const vm_backend_ops* vm_backend_builtin(vm_cpu_features_t isa)

Built-in op table for a compiled ISA, or NULL.

Optional CPU backends copy this and override slots, then call vm_backend_register(). The table matches this TU's float width. Returns NULL if that ISA was not compiled. NEON, SVE, and SVE2 are provided. They are not part of the default library. See doc/modules.md.