-
Notifications
You must be signed in to change notification settings - Fork 279
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
The VM crashed when the asm_open was added to the bc file #1486
Comments
The virtual machine only considers registers that are written to when calculating the register requirements. It seems you have added registers (s25...) that are only written to but never read from. I would argue this contradicts the idea of the bytecode. |
Hello, Replay
|
Thank you for raising this. You should find that e87000f fixes it. |
Thanks! I have tested your fix, and the issue has been resolved successfully. |
Hello, sorry to bother you
When I legally added the asm_open instruction(line 3:vasm_open 7, 3, True, c4(7), s25(7) # 1 ) to the instruction set of the bc file
run ./emulate.x test_array_muls
the VM crashed
Fatal error: vector::_M_range_check: __n (which is 16) >= this->size() (which is 16)
Is this a bug or expected behavior?
Thanks!
The text was updated successfully, but these errors were encountered: