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
I noticed a mismatch in the behavior of the dependency between henvcfg and menvcfg in NEMU and XiangShan (XS).
Specifically:
In NEMU: Bits 4 to 7 of henvcfg are aligned with menvcfg. Modifying menvcfg implicitly updates henvcfg.
In XS: Bits 4 to 7 of henvcfg are independent of menvcfg. Modifying menvcfg does not affect henvcfg.
To Reproduce
Initial State: Both NEMU and XS initialize menvcfg to 0x80000000000000f0. After Modification: When menvcfg is modified to 0x0:
In NEMU, henvcfg updates accordingly to reflect the change in menvcfg.
In XS, henvcfg remains unchanged, with bits 4 to 7 unaffected.
Describe the bug
Hi there,
I noticed a mismatch in the behavior of the dependency between
henvcfg
andmenvcfg
in NEMU and XiangShan (XS).Specifically:
henvcfg
are aligned withmenvcfg
. Modifyingmenvcfg
implicitly updateshenvcfg
.henvcfg
are independent ofmenvcfg
. Modifyingmenvcfg
does not affecthenvcfg
.To Reproduce
Initial State: Both NEMU and XS initialize
menvcfg
to 0x80000000000000f0.After Modification: When
menvcfg
is modified to 0x0:In NEMU,
henvcfg
updates accordingly to reflect the change inmenvcfg
.In XS,
henvcfg
remains unchanged, with bits 4 to 7 unaffected.Error log or Screenshots
Necessary information on versions
The text was updated successfully, but these errors were encountered: