google / highway

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

Added RoundingShiftRight[Same]/RoundingShr ops #2252

Closed johnplatts closed 1 week ago

johnplatts commented 1 week ago

Added RoundingShiftRight/RoundingShiftRightSame/RoundingShr ops as NEON/RVV/SVE2 have instructions for rounding right shifts.

This pull request resolves one of the issues raised in issue #2248.