You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add saturating add/sub intrinsics to RISC-V vector backend
Map Halide's saturating_add and saturating_sub operations to
RVV instructions vsadd/vsaddu and vssub/vssubu respectively.
These are commonly used in image processing for clamped arithmetic
and were missing from the RISC-V intrinsic tables.
Fixes#9184
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments