Text Format
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- wasm
- 领域
- compilers
调研方向
首先检查 issue 中为支持数组的 load/store 指令提出的 WAT 形式,并将其与正文中描述的现有 memory-index 语法进行比较。未指定任何文件或测试。达成一种能够区分 array access 和 memory access 的语法共识,即视为完成。
由索引模型根据 Issue 内容生成。
描述
The current plan to reuse the existing load/store memory instructions for arrays will require some new WAT syntax to signal that the load/store instruction is operating on an array. Some options:
Option 1 - array Keyword
i32.load array $type_index (<array ref>) (<address>)
Option 2 - backing=array
i32.load backing=array $type_index (<array ref>) (<address>)
Option 3 - type=$type_index
i32.load type=$type_index (<array ref>) (<address>)
(Won't work) Option 4 - Use Presence Type Index to Signal Array Read
i32.load $type_index (<array ref>) (<address>)
Unfortunately, this won't work because there is no way to differentiate this from i32.load $memory_index.
Option 5 - ???
Any other proposals?
- 主要语言
- WebAssembly
- 星标
- 4
- 派生
- 1
- 平均合并
- 16 小时 35 分钟
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WebAssembly/multibyte-array-access 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 50/100
WebAssembly/multibyte-array-access#8 · 1 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
WebAssembly/multibyte-array-access#5 · 11 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
WebAssembly/multibyte-array-access#4 · 4 条评论 ·
-
难度 5/5 一周以上 新手友好度 35/100
WebAssembly/multibyte-array-access#3 · 5 条评论 ·
查看 WebAssembly/multibyte-array-access 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
JakeChampion/lang#10213 ·
-
enhancement good first issue needs testing
难度 2/5 1-3 小时 新手友好度 75/100
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
bradcypert/plum#58 ·
-
flang:fir-hlfir
难度 2/5 1-3 小时 新手友好度 70/100
llvm/llvm-project#225935 ·
-
area:cards hand-tail ready-for-agent
难度 2/5 1-3 小时 新手友好度 65/100
fil-donadoni/tolaria#4446 ·