Repository navigation
Release experimental aarch64 binaries and document Arm support - #31
Merged
Merged
Conversation
Add a linux-aarch64 build to the release workflow for LLVM 17-20. It runs on Ubuntu 22.04 arm64 runners, like the x86-64 archives, and targets the armv8-a baseline: NEON only, with the dynamic library selecting newer NEON targets at runtime. The archives record the built Highway targets in BUILD-INFO.txt (and the experimental status on aarch64). arm-setup now exports LLVM_PATH, as install-llvm-action does on x86. The README documents the aarch64 archives, the Arm support status, the NEON vs SVE performance on a Cortex-X925 and how to test wider SVE vectors under QEMU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 6 of the experimental Arm support: release binaries and documentation.
Release workflow
linux-aarch64archives for LLVM 17–20, built onubuntu-22.04-armrunners (same Ubuntu release as the x86-64 archives). The x86-64 matrix is unchanged.armv8-abaseline, so the archives run on any aarch64 CPU. They contain NEON code only: the static library isNEON_WITHOUT_AES, and the dynamic library also includesNEONandNEON_BF16and selects the best one at runtime. SVE stays out of the releases while it is opt-in (Experimental Arm: opt-in SVE targets, target reporting and Arm CI #28).arm-setupaction, which now exportsLLVM_PATHasinstall-llvm-actiondoes on x86.BUILD-INFO.txtnow lists the Highway targets each library was built for, on both architectures, and marks the aarch64 archives as experimental. It leaves out the target that dispatch selects on the build machine, since that says nothing about the user's CPU.README
aarch64.--with-arch,make target-info, the NEON vs SVE performance on a Cortex-X925 (Make the performance tests robust to timer granularity #30), and how to run the tests with wider SVE vectors under QEMU.Validation
BUILD-INFO.txtlists the expected targets.libprism-dynamic.soand againstlibprism-static.agives correct stochastic rounding: about 1/4 of1 + 2^-25rounds up, as expected.🤖 Generated with Claude Code