Skip to content

Bias overflow - #137

Merged
awxkee merged 2 commits into
awxkee:masterfrom
kornelski:bias-overflow
Sep 15, 2026
Merged

awxkee merged 2 commits into
awxkee:masterfrom
kornelski:bias-overflow

Conversation

@kornelski

Copy link
Copy Markdown
Collaborator

SIMD results don't match non-SIMD in 16-bit depth due to overflows in intermediate values.

range.bias_uv is 32768 at BIT_DEPTH = 16 and does not fit in i16

@awxkee awxkee left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@awxkee
awxkee merged commit 31ef121 into awxkee:master Sep 15, 2026
14 checks passed
@kornelski
kornelski deleted the bias-overflow branch September 15, 2026 12:19
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.

2 participants