Skip to content

Commit 585b548

Browse files
committed
hexagon: Add scalar DSP intrinsics
Add scalar (non-HVX) intrinsic wrappers for Hexagon DSP operations covering arithmetic, multiply, shift, saturate, compare, and floating-point instructions, mapping to llvm.hexagon.* LLVM builtins. Includes the stdarch-gen-hexagon-scalar code generator crate which produces scalar.rs from the LLVM hexagon_protos.h header file, and a CI step to verify the generated output stays in sync.
1 parent 5c1c65d commit 585b548

File tree

7 files changed

+20009
-78
lines changed

7 files changed

+20009
-78
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ jobs:
331331
run: |
332332
cargo run -p stdarch-gen-hexagon --release
333333
git diff --exit-code
334+
# - name: Check hexagon scalar
335+
# run: |
336+
# cargo run -p stdarch-gen-hexagon-scalar --release
337+
# git diff --exit-code
334338

335339
# Run some tests with Miri. Most stdarch functions use platform-specific intrinsics
336340
# that Miri does not support. Also Miri is reltively slow.

0 commit comments

Comments
 (0)