OpenXiangShan / NEMU

Other
228 stars 84 forks source link

vaddr: always check misalign in vaddr_read/write #460

Closed happy-lx closed 3 weeks ago

happy-lx commented 3 weeks ago

Because when NEMU is running alone and virtual-to-physical address translation is not enabled, if an unaligned memory access occurs, the unaligned exception will not be reported, resulting in inconsistencies with spike's diff.

cebarobot commented 3 weeks ago

@Ziyue-Zhang, Please consider leaving the PR for the author to merge. There are other people on the reviewer list.