arch, base: Move arm AtomicOpFunctor into the generic header
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 5 Dec 2019 11:16:12 +0000 (11:16 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 8 Jan 2020 09:32:08 +0000 (09:32 +0000)
commit3225c4075b0ddfd83a9f7a220d39740f86a64f16
tree0164f730cf7afb0ed1a1bdb17b74c98a799cc844
parentb653e5ea1053502b99fbd886b75b916adcc14c7a
arch, base: Move arm AtomicOpFunctor into the generic header

These AtomicGenericxOp functors are not arm specific:
They just define a set of different functors depending
on the number of operands they are using.

Change-Id: Ida75066823c7718aee05717194cdb8225b700c5d
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23564
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/insts/mem64.hh
src/base/amo.hh