Skip to content

arm/neon: Check for boundary conditions in saturation for simde_vcvts_u32_f32 - #1464

Open
nileshpatra wants to merge 2 commits into
simd-everywhere:masterfrom
nileshpatra:boundary-f32
Open

nileshpatra wants to merge 2 commits into
simd-everywhere:masterfrom
nileshpatra:boundary-f32

Conversation

@nileshpatra

Copy link
Copy Markdown

The current check ignores the equality conditions for lower and upper bounds leading to saturation bugs where result was being zeroed out. More context is in issue#1230

This also emulates the conditions present in simde_vcvth_u32_f16

Closes: #1230

@nileshpatra
nileshpatra force-pushed the boundary-f32 branch 3 times, most recently from ea480d0 to 1859ca0 Compare November 2, 2026 14:45
@mr-c
mr-c enabled auto-merge (rebase) November 4, 2026 11:57
@mr-c
mr-c disabled auto-merge November 4, 2026 14:03
@mr-c
mr-c enabled auto-merge (rebase) November 4, 2026 14:07
@mr-c
mr-c force-pushed the boundary-f32 branch 2 times, most recently from ca509b4 to a922931 Compare November 4, 2026 14:23
nileshpatra and others added 2 commits November 4, 2026 16:03
…s_u32_f32`

The current check ignores the equality conditions for lower and upper bounds leading
to saturation bugs where result was being zeroed out. More context is in issue#1230

This also emulates the conditions present in `simde_vcvth_u32_f16`

Closes: simd-everywhere#1230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vcvt_u32_f32 saturating behaviour

2 participants