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

Fix some bugs to run splash3 benchmarks #165

Merged
merged 9 commits into from
Aug 30, 2024
Merged

Fix some bugs to run splash3 benchmarks #165

merged 9 commits into from
Aug 30, 2024

Conversation

notlqr
Copy link
Contributor

@notlqr notlqr commented Aug 26, 2024

No description provided.

configs/common/FSConfig.py Outdated Show resolved Hide resolved
src/arch/riscv/isa.cc Show resolved Hide resolved
src/arch/riscv/isa/decoder.isa Show resolved Hide resolved
src/arch/riscv/regs/misc.hh Show resolved Hide resolved
src/cpu/o3/fetch.cc Show resolved Hide resolved
src/arch/riscv/isa/decoder.isa Show resolved Hide resolved
src/arch/riscv/isa/decoder.isa Show resolved Hide resolved
src/cpu/base.cc Outdated Show resolved Hide resolved
@notlqr notlqr requested review from shinezyy and tastynoob August 30, 2024 02:52
@notlqr notlqr removed the request for review from shinezyy August 30, 2024 05:39
notlqr and others added 9 commits August 30, 2024 14:21
Change-Id: I701e91589364aa0f75b0f2a24ea571c090a4e5e3
Change-Id: Ie4a69cad2a3463ebb886c903a16e702258fdc545
Change-Id: Ib192e939288bae86eb25701541a28356c1794c72
Change-Id: I7fb105d4237463f4f9606ef489e04c5d4e6cb831
Change-Id: Iabc2aa5fdeaf46494bbab4aa6c485cdca0da50e4
1. Fix gem5 displaying too many red registers when diff fails
2. Do not print diff if diff succeeds when nemu runs another inst,
   unless using Diff flag

Change-Id: I87dd9ec83693773882f9941326ecb021a517c229
1. Previously GEM5 waits for NEMU to execute one more
   inst (ecall), but if an intr follows ecall, diff fails, so we must
   diff ecall as well
2. Intrs changes privilege mode immediately, but frontend gets aware of
   it 13 cycles later. Therefore frontend might issue mem requests
   speculatively using vaddr but with address translation disabled,
   causing bus errors. Fixed by letting frontend stop fetching until
   new pc is sent to it.

Change-Id: I7a7208b697535a72915ea55e8a975c4b22598437
-when vaddr !=0 && asid != 0 flush the pte that matches vaddr && asid

Change-Id: Ib5a6a9e49d74827eb10edf9c352d2b1c7737655f
Change-Id: I2888e8653ca4e15cfecf2b714004450e22334d74
@shinezyy shinezyy merged commit 35cd1dc into xs-dev Aug 30, 2024
5 checks passed
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.

4 participants