diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:33:37 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:33:37 -0500 |
commit | 57758ca685fe1a736cfdc214785b04441e83e53a (patch) | |
tree | 1a067796f7d86d824814a342464936d49cd82dea /src/sim/System.py | |
parent | d0e1b8a19c6d58a49e5288938e9b12f3f10b9f51 (diff) | |
download | gem5-57758ca685fe1a736cfdc214785b04441e83e53a.tar.xz |
mem: Use the range cache for lookup as well as access
This patch changes the range cache used in the global physical memory
to be an iterator so that we can use it not only as part of isMemAddr,
but also access and functionalAccess. This matches use-cases where a
core is using the atomic non-caching memory mode, and repeatedly calls
isMemAddr and access.
Linux boot on aarch32, with a single atomic CPU, is now more than 30%
faster when using "--fastmem" compared to not using the direct memory
access.
Diffstat (limited to 'src/sim/System.py')
0 files changed, 0 insertions, 0 deletions