Skip to content

v0.3: document vector lane mask p + staged V.ADD/V.PSEL#82

Open
zhoubot wants to merge 5 commits intomainfrom
codex/vvec-predication-pmask
Open

v0.3: document vector lane mask p + staged V.ADD/V.PSEL#82
zhoubot wants to merge 5 commits intomainfrom
codex/vvec-predication-pmask

Conversation

@zhoubot
Copy link
Collaborator

@zhoubot zhoubot commented Mar 2, 2026

Updates ISA manual + staged Sail model for vector lane mask/predication bring-up.

Manual:

  • Document LCFR.LaneNum (LCFR[19:16] = log2(vec_length)), vec_length derivation.
  • Define block-local lane mask p initialization from B.DIM/B.ATTR, including DR=B.ATTR[26] strip-mining tail behavior.
  • Clarify inactive lanes are unspecified; compilers must use V.PSEL for explicit merge.

Sail (staged):

Also extends manual generator so V.PSEL gets informative pseudocode similar to CSEL.

@zhoubot zhoubot requested review from a team as code owners March 2, 2026 08:38
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