diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-02-15 15:15:22 +0000 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-05-29 10:08:18 +0000 |
commit | 97c33d677f0130116ca40ca2e54a6aec7ad14961 (patch) | |
tree | d0eb6676ac8e84dcfb236f013899264140f00268 /build_opts/ARM | |
parent | 89b3397cf0daba4b2a339e26183aa82e1a573ad0 (diff) | |
download | gem5-97c33d677f0130116ca40ca2e54a6aec7ad14961.tar.xz |
cpu: Avoid unnecessary dynamic_pointer_cast in atomic model
In the atomic model a dynamic_pointer_cast is performed at every tick to
check if the fault is a SyscallRetryFault. This was happening even when
there was no generated fault.
Change-Id: I7f4afeffffdf4f988230e05286602d8d9a919c6c
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10101
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'build_opts/ARM')
0 files changed, 0 insertions, 0 deletions