0
点赞
收藏
分享

微信扫一扫

【Rust 日报】2022-02-03 《Rust Magazine 中文精选 2022》季刊 征稿说明

Rust 周报 428

ReadMore:https://this-week-in-rust.org/blog/2022/02/02/this-week-in-rust-428/

《Rust Magazine 中文精选 2022》季刊 征稿说明

《Rust Magazine 中文精选 2021》 坚持了一年,虽然受到社区广大朋友欢迎,但投稿数量不是很理想,所以本来在 2022 年不打算继续维护。然而,一些朋友私聊我说,Rust Magazine 内容不错,值得继续搞,我接受这这个建议,但是从之前的月刊,改为季刊!

同时,也欢迎大家投稿和贡献!可以直接发 PR

ReadMore:https://github.com/RustMagazine/rust_magazine_2022

RVV 编码器

  • ​rvv-encode​​ RISC-V V 扩展指令库
  • ​rvv-asm​​ RISC-V V 扩展指令过程宏
  • ​rvv-as​​ RISC-V V 扩展指令的命令行工具

​rvv-asm​​例子

unsafe {
rvv_asm::rvv_asm!(
"vsetvl x5, s3, t6",
"1: vle256.v v3, (a0), vm",
"2:",
"li {lo}, 4",
lo = out(reg) lo,
);
}

​rvv-as​​用法

USAGE:
rvv-as [OPTIONS] <ASM_FILE>

ARGS:
<ASM_FILE> The original assembly source file path

OPTIONS:
-c, --comment-origin Use original instruction and its code as comment
-p, --comment-prefix <COMMENT_PREFIX> The comment prefix [default: #]
-r, --reserved-only Only translate reserved rvv instructions

ReadMore:https://github.com/TheWaWaR/rvv-encoder


社区学习交流平台订阅:

  • Rustcc论坛: 支持rss
  • 微信公众号:Rust语言中文社区


举报

相关推荐

0 条评论