docs: adapt VMI ISA to tile ops - #1
Draft
zhangstevenunity wants to merge 3 commits into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
!pto.vmi.tilereg<MxNxdtype>,mask 使用i1dtype。treshape统一一维/二维 tile reg 转换及等总 bit-size 的 dtype reinterpretation,并用二维 shape 表达 group。vbrc映射为texpands,groupedvbrc映射为trowexpand;texpands不承担 predicate mask 创建语义。create_mask/create_group_mask保留为没有直接同义 Tile Op 的 VMI predicate 指令,结果分别使用1xLxi1/MxNxi1。vselr、vexpdif、vmula、dhist继续保留 VMI 名称;dhist与thistogram的操作数角色及结果契约不同。vexpdif不是trowexpandexpdif的直接映射;仅在同为f32、max可证明为 row-splat、mask/pmode 可精确保持时允许受限优化复用。vmull映射为结果 dtype 为i64/ui64的 wideningtmul。待讨论的设计点
tilereg valid_col元数据部分替代 prefix mask 的可行性及动态 SSA 绑定方式。tile_bufsubview 访存对象的可行性。验证
git diff --check!pto.vmi.vreg/!pto.vmi.mask类型与错误 predicatetexpands映射残留检查