arch-riscv,tests: small update to make gem5.fast compile

This small change is meant to enable gem5.fast compilation
for riscv. Also, the riscv tests based on gem5.fast
work now and are removed from .testignore.

Change-Id: Id9c96d8e4682a74ec1d77a66eae53d6f9b64d302
Issue-On: https://gem5.atlassian.net/browse/GEM5-526
Issue-On: https://gem5.atlassian.net/browse/GEM5-527
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/28893
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ayaz Akram
2020-05-11 12:43:24 -07:00
parent 49390bb8f7
commit 384705a386
2 changed files with 2 additions and 8 deletions

View File

@@ -386,10 +386,9 @@ Walker::WalkerState::stepWalk(PacketPtr &write)
if (!functional)
walker->tlb->insert(entry.vaddr, entry);
else {
Addr offset = entry.vaddr & mask(entry.logBytes);
Addr paddr = entry.paddr << PageShift | offset;
DPRINTF(PageTableWalker, "Translated %#x -> %#x\n",
entry.vaddr, paddr);
entry.vaddr, entry.paddr << PageShift |
(entry.vaddr & mask(entry.logBytes)));
}
}
endWalk();

View File

@@ -20,12 +20,7 @@ test-insttest-rv64i-linux-TimingSimpleCPU-RISCV-x86_64-debug
test-insttest-rv64i-linux-DerivO3CPU-RISCV-x86_64-debug
test-insttest-linux-AtomicSimpleCPU-SPARC-x86_64-debug
test-insttest-linux-TimingSimpleCPU-SPARC-x86_64-debug
test-insttest-rv64a-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64c-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64d-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64f-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64i-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64m-linux-MinorCPU-RISCV-x86_64-fast
test-insttest-rv64i-linux-AtomicSimpleCPU-RISCV-x86_64-fast
test-insttest-rv64i-linux-TimingSimpleCPU-RISCV-x86_64-fast
test-insttest-rv64i-linux-DerivO3CPU-RISCV-x86_64-fast