Skip to content

sail: implement HL.BFI (wrap-around bitfield insert)#74

Open
zhoubot wants to merge 1 commit intomainfrom
codex/sail-coverage-hl-bfi
Open

sail: implement HL.BFI (wrap-around bitfield insert)#74
zhoubot wants to merge 1 commit intomainfrom
codex/sail-coverage-hl-bfi

Conversation

@zhoubot
Copy link
Collaborator

@zhoubot zhoubot commented Mar 2, 2026

Implements HL.BFI semantics by reusing the existing BXU/BXS wrap-around bitfield model (bitfield_wrap).

User-confirmed semantics: insert into the destination bitfield at the same wrap position {m,n} (option B). Implementation: rotate-right by m, clear low n bits, OR field, rotate-left by m.

Coverage: implemented_forms 495 -> 496 (+1 form).

NOTE: per team rule, do not merge coverage-only PRs until cumulative delta >= 5% unless explicitly requested.

@zhoubot zhoubot requested a review from a team as a code owner March 2, 2026 02:28
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.

1 participant