Skip to content

Conversation

@fbossen
Copy link
Contributor

@fbossen fbossen commented Dec 29, 2025

No description provided.

gramner-twoorioles and others added 2 commits December 29, 2025 09:24
Includes updates to load_tmvs() asm implementations.
let diff2 = get_poc_diff(seq_hdr.order_hint_n_bits, rpoc as i32, rrpoc as i32);
// unsigned comparison also catches the < 0 case
rf.mfmv_ref2ref[n][m] = if diff2 as u32 > 31 { 0 } else { diff2 };
rf.mfmv_ref2ref[n][m] = if diff2 as u32 > 31 { 0 } else { diff2 as u8 };
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the diff as u32 > 31 still correct (or idiomatic) with the new smaller types?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This comparison shouldn't be impacted by the smaller types. diff2 can still be as wide as before AFAICT.

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.

3 participants