Should the `p64` functions be gated under `aes`?
维护者通常 1 天内回复
评估
调研方向
首先将列出的 p64 函数与 ACLE 参考以及 GCC 的 target("fpu=crypto-neon-fp-armv8")进行比较,然后确定 Rust 的 aes feature 是否对应 LLVM 的 crypto feature。对于每个列出的函数组,都已确定 gating 规则,并且相关实现或测试反映了该规则,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Currently we gate a lot of p64 functions under aes, but I couldn't spot any pattern on when we add aes. We have aes in the following functions
vld1{q}_p64{_x2,_x3,_x4}vld{1,2,3,4}{q}{,_dup, _lane}_p64vmull{_high}_p64vs{r,l}i{q}_n_p64vst1{q}_p64vst1{q}_p64_{x2,x3,x4}vst{2,3,4}{_lane, q_lane,}_p64vcreate_p64vreinterpret_*_p{64,128}vreinterpret_p{64,128}_*vset{q}_lane_p64
whereas, the following functions, even though they have a p64 argument, don't have aes
vceq{z}{q}_p64vcopy{q}_lane{q}_p64vdup{q}_lane{q}_p64vextq_p64vldap1{q}_lane_p64vtrn{1,2}q_p64,vtst{q}_p64vuzp{1,2}q_p64vzip{1,2}q_p64vadd{q}_p64vget_{high,low}_p64vget{q}_lane_p64vreinterpret{q}_{f32,f64,s64,u64}_p64
The only reference of this in ACLE I could find was the fact that GCC gates all p64 functions and types under target ("fpu=crypto-neon-fp-armv8"), but afaik this does not translate to the Rust feature aes. I believe the closest would be the LLVM codegen feature crypto.
@rustbot ping arm
- 主要语言
- Rust
- 星标
- 696
- 派生
- 341
- 平均合并
- 9 天 12 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rust-lang/stdarch 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
rust-lang/stdarch#2218 · 5 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
A-x86 P-high
难度 2/5 1-3 小时 新手友好度 68/100
rust-lang/stdarch#522 · 26 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 64/100
rust-lang/stdarch#2216 · 1 条评论 ·
维护者通常 1 天内回复
-
Can non-temporal loads use the LLVM intrinsic instead?可能已有人在做 @ruriww 于 122 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 48/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 55/100
rust-lang/stdarch#2154 · 1 条评论 ·
维护者通常 1 天内回复
查看 rust-lang/stdarch 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
max-sixty/worktrunk#4727 · 7 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
follow-up
难度 2/5 1-3 小时 新手友好度 73/100
carrick-sh/carrick#1859 ·
维护者通常 1 天内回复
-
crate: spate-kafka documentation priority: medium
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复