google / highway

Performance-portable, length-agnostic SIMD with runtime dispatch
Apache License 2.0
3.97k stars 308 forks source link

Fix for RVV DetectTargets inline asm with Clang #2128

Closed johnplatts closed 2 months ago

johnplatts commented 2 months ago

Added .option arch, +v to inline assembly in RVV DetectTargets to fix compilation errors with Clang on RISC-V if the -march=rv64gcv1p0 or -march=rv32gcv1p0 option is not specified.

jan-wassenberg commented 2 months ago

(I am following up internally on getting this merged.)