Skip to content

Conversation

@Daiyuanranfeng
Copy link

提交信息

feat

  • 添加 RV64D 浮点扩展和 RVB 位操作扩展支持
  • 为 RV64D 扩展创建解析模块 parse/rv64d.rs,实现 fldfsdfadd.d 等指令的解析逻辑
  • 为 RVB 扩展创建解析模块 parse/rvb.rs,实现 bsetbinvbsetibextibinvi 等指令的解析
  • encode/process32.rs 中实现 encode_rv64dencode_rvb 函数,处理指令编码功能
  • 支持浮点寄存器(f0-f31)和整数寄存器的解析和编码
  • 实现 Imm 结构体的正确使用,确保立即数处理符合要求

docs

  • 更新 README.mdREADME.en.md
  • 将 RV64D 和 RVB 支持状态从 ❌ 改为 ✅

test

  • 通过 cargo test 运行测试框架验证功能
  • 通过 rv64d_rvb_tests.rs 中的测试用例验证所有实现的指令
  • 运行 verify_features 工具确认:
    • fld 指令编码为 0x00008583
    • bset 指令编码为 0x023150b3
  • 确保所有现有测试套件正常运行,无回归问题
  • 验证错误处理和边界条件的正确处理

@netlify
Copy link

netlify bot commented Nov 10, 2025

Deploy Preview for aesthetic-bavarois-11c9be ready!

Name Link
🔨 Latest commit 7ae6153
🔍 Latest deploy log https://app.netlify.com/projects/aesthetic-bavarois-11c9be/deploys/691185a26056e6000851ed24
😎 Deploy Preview https://deploy-preview-52--aesthetic-bavarois-11c9be.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

let s = name.trim().to_lowercase();
// xN numeric

// 浮点寄存器 - fN 格式
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use English


// ABI names
match s.as_str() {
// 整数寄存器
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Translate the comments into English

@CAICAIIs
Copy link
Member

@Plucky923 cc

@Plucky923
Copy link
Collaborator

I think you should check Robustone have these instruction sets been implemented.

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.

3 participants