Skip to content

Remove HVX extension support - #1045

Merged
ermig1979 merged 1 commit into
devfrom
cursor/remove-hvx-a60c
Sep 30, 2026
Merged

ermig1979 merged 1 commit into
devfrom
cursor/remove-hvx-a60c

Conversation

@ermig1979

@ermig1979 ermig1979 commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Removes the remaining Hexagon HVX code path from the library, now that the earlier function-level HVX optimizations have already been dropped.

  • Deletes the last HVX implementation (HistogramConditional) together with HVX load/store/compare helpers, alignment, CPU enablement, and the SIMD_HVX_ENABLE / SIMD_HVX_DISABLE / SIMD_HVX_FUNC macros.
  • Removes SimdCpuInfoHvx and the matching Python Simd.CpuInfo.HVX value, and shifts CurrentFrequency to the next index.
  • Drops HVX from the test framework (auto-test registration, -de help text, C++ CPU info printout, and the performance report column).
  • Removes the Visual Studio 2022 Hvx project, the Hexagon CMake target, and the build_and_test_hexagon_cross GitHub Actions job.
  • Updates README, the site description, generated help, and the 7.2.166 release notes.

Test plan

  • Release build with g++ (SIMD_SHARED=ON, AVX-512VNNI, AMX-BF16)
  • ./Test "-r=.." -m=a -fi=HistogramConditional -tt=1 -ts=1 -mt=1 -cc=1 — all tests passed; CPU info and the performance report no longer mention HVX
  • Python Simd.Lib.SysInfo() reports current frequency and has no Simd.CpuInfo.HVX value
  • Remaining HVX mentions are only the 7.2.166 removal notes and the historical 7.0.160 release notes
Open in Web Open in Cursor 

Drop the remaining HVX code path, including HistogramConditional, SIMD_HVX macros, SimdCpuInfoHvx, test hooks, and the performance report column. Remove the Hexagon CMake target, GitHub Actions job, and Visual Studio Hvx project. Document the removal in the 7.2.166 release notes.

Co-authored-by: igor.ermolaev <igor.ermolaev@altezza.org>
@ermig1979
ermig1979 marked this pull request as ready for review September 30, 2026 11:53
@ermig1979
ermig1979 merged commit b3f345a into dev Sep 30, 2026
2 checks passed
@ermig1979
ermig1979 deleted the cursor/remove-hvx-a60c branch September 30, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants