Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rv64v: fix four bugs discovered by riscv-vector-intrinsic-fuzzing #288

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

NewPaulWalker
Copy link
Contributor

  1. fix align bug in the set_vreg of vld. Align is based on eew and emul, not just sew and lmul.
  2. fix a bug in the vmsbf. It generated redundant assign for the rule 'when there are no active 1 in the source, set all active elements in the destination to 1'. This rule was already ensured by the for loop, and this way would overwrite non-active elements in destnation.
  3. for f16_to_i8 vfncvt, add processing path for it.
  4. for i8_to_f16 vfwcvt, add processing path for it, and delete redundant convert assign in i16_to_f32 and i32_to_f64.

@Ziyue-Zhang Ziyue-Zhang changed the title fix four bugs discovered by riscv-vector-intrinsic-fuzzing rv64v: fix four bugs discovered by riscv-vector-intrinsic-fuzzing Mar 21, 2024
@Ziyue-Zhang Ziyue-Zhang merged commit 4ac605d into OpenXiangShan:master Mar 21, 2024
4 checks passed
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.

2 participants