Debian Patches

Status for highway/1.3.0-5

Patch Description Author Forwarded Bugs Origin Last update
rvv-runtime-dispatch.patch Enable RVV runtime dispatch for Clang 19+
Remove the `&& 0` guard that disabled RVV runtime dispatch in
detect_targets.h. Both upstream compiler issues that blocked this
are resolved:

- LLVM #56592: riscv_vector.h intrinsics are now target-gated via
attributes instead of preprocessor guards (fixed in Clang 19,
llvm/llvm-project@13b653a).
- GCC #115325: RVV intrinsics are now available without -march
(marked RESOLVED FIXED).

Binaries compiled for a baseline rv64gc target can now include RVV
code paths and select them at runtime when the V extension is present.

Cross-compiled with Clang 19.1.7 and 20.1.8 using -march=rv64gc:
the full test suite (including interleaved_test) builds cleanly.

Fixes #2967
Jamie Magee <jamie.magee@gmail.com> no upstream, 4a43b154a3c74c1a6b585c0bad1a54436a78df82 2026-04-06
gcc-15.patch Enable RVV runtime dispatch for GCC 15+
GCC 15 fixed the target attribute bug (GCC#115325) that blocked
per-function arch=+v on RISC-V. Enable HWY_HAVE_RUNTIME_DISPATCH_RVV
and HWY_TARGET_STR for GCC 15+, matching the existing Clang 19+ path.

Fix float16 type mismatches when zvfhmin is available but full zvfh is
not (HWY_RVV_HAVE_F16C=1, HWY_HAVE_FLOAT16=0): VFromD for float16 is
vuint16 in this configuration, but BitCastFromByte, PromoteTo, and
DemoteTo were returning/accepting vfloat16 via zvfhmin intrinsics. Add
reinterpret wrappers for PromoteTo and DemoteTo, and route BitCastFromByte
through the uint16 delegation path.

Fixes #2738
Rajesh Gangam <rajeshgangam@gmail.com> no upstream, 69ba37bbfc05b9a9f302621342bece48334768df 2026-06-26
i386_standard.patch Run math_test on x87
===================================================================
Mathieu Malaterre <malat@debian.org> yes 2023-09-13

All known versions for source package 'highway'

Links