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

o1vm/riscv32: implement M type instruction Rem #2803

Open
wants to merge 1 commit into
base: dw/o1vm/riscv32/remove-unused-divmod-signed
Choose a base branch
from

Conversation

dannywillems
Copy link
Member

No description provided.

@@ -2184,7 +2184,17 @@ pub fn interpret_mtype<Env: InterpreterEnv>(env: &mut Env, instr: MInstruction)
unimplemented!("Divu")
}
MInstruction::Rem => {
unimplemented!("Rem")
Copy link
Member

Choose a reason for hiding this comment

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

it would be nice to comment the implementation from https://msyksphinz-self.github.io/riscv-isadoc/html/rvm.html

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

Attention: Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.

Project coverage is 71.94%. Comparing base (de7f623) to head (eaafc71).

Files with missing lines Patch % Lines
o1vm/src/interpreters/riscv32im/interpreter.rs 0.00% 11 Missing ⚠️
Additional details and impacted files
@@                               Coverage Diff                               @@
##           dw/o1vm/riscv32/remove-unused-divmod-signed    #2803      +/-   ##
===============================================================================
- Coverage                                        71.96%   71.94%   -0.03%     
===============================================================================
  Files                                              255      255              
  Lines                                            59992    60004      +12     
===============================================================================
- Hits                                             43173    43168       -5     
- Misses                                           16819    16836      +17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

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