You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test has init_supervisor_mode and before that an MEPC setup segment.
In mepc setup, only last 12 bits of mepc are kept which is explained in riscv dv's code with a comment stating that only last 12 bits are kept for supervisor or user mode.
I generated tests using target rv64gc
The test has init_supervisor_mode and before that an MEPC setup segment.
In mepc setup, only last 12 bits of mepc are kept which is explained in riscv dv's code with a comment stating that only last 12 bits are kept for supervisor or user mode.
If we use mret to return, is it not in machine mode and so mepc should be setup per machine mode and complete address should be kept in it?
The text was updated successfully, but these errors were encountered: