Xu 0.14.2 Released: 128-bit SLP Vectorization, Ext-TSP Layout, SwissTable Runtime, #core/elf, and MRT GPU
Xu 0.14.2 shipped on 2026-11-26 with advances across compiler auto-vectorization and code layout, runtime data structures, bare-metal kernel and ELF primitives, and #tensor storage plus modern GPU rendering.
1. Compiler Vectorization, Layout & Optimizer
- 128-bit Intra-Block SLP Auto-Vectorization (
opt_slp): Packs unrolled isomorphic array memory/arithmetic trees and 4-way associative integer reductions into 128-bit SIMD instructions on ARM64 NEON and baseline x86-64 SSE2 while preserving strict left-to-right IEEE-754 evaluation semantics (disable viaXU_NO_SLP=1). - Ext-TSP Layout & Correlated Jump Threading: Replaces greedy trace layout in
opt_cfgwith Wu–Larus edge-weight chain merging (cfg_exttsp_hot_order) and loop rotation, alongside dominator/range-driven jump threading (opt_jump_thread, disable viaXU_NO_JT=1). - Regalloc & Scalar Pipeline: Adds interval hole reuse, Ball–Larus call-site weighting, cold-call caller-save prioritization, zero-spill constant/
MI_ADDRrematerialization, GVN cross-call reuse, scope-disjoint LICM, SROA (opt_sroa), and MIR lowering forfloat64_bits/float64_from_bits.
2. SwissTable Runtime & Bare-Metal #core Substrate
- SwissTable Hash Maps (
core/map): Rebuilds the runtime map around a compact 8-slot SWAR (CTRL_LANE_MUL) control-byte probe design (7/8 load factor), alongside machine-word scanning improvements incore/chan,compress/lzw, andcore/intrin. - Freestanding & Multi-Section ELF: Adds
usize/isize, packed/union/bitfield C structs, freestanding sections (.bss/.data/.rodata/@section/@align/@export),sizeof/alignof/offsetof,static_assert,@noreturn,@panic_handler,cpuid/syscall4intrinsics, and multi-sectionET_EXEC/ET_RELELF emission forx64-none,arm64-none, andriscv64-none. - New
#coreModules: Adds#core/addr,#core/ds,#core/elf,#core/fmt, and#core/mmio, and expands#core/virtiowith multi-sectorvirtio-blkreads.
3. #tensor, Modern GPU & Hostless #ui/widgets
- Low-Precision Tensor Foundations: Introduces
src/tensor(float,quant,view) and signed P4K4 Q4/Q8 kernels,M=12GEMM, and paged SIMD attention kernels. - Modern GPU & Hostless UI: Adds
R32_UINT, MRTbegin_render_targets, storage buffer/texture bindings, and indirect draw/dispatch to#gpu/SDL, plus hostlessScreen/Contextsupport andTreeViewmulti-selection fixes in#ui/widgets.
Download Center · OS Development Guide · GitHub Release Page · Full Release Notes