arch: Make and use endian specific versions of the mem helpers.
authorGabe Black <gabeblack@google.com>
Wed, 30 Oct 2019 02:31:37 +0000 (19:31 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 18 Nov 2019 20:02:31 +0000 (20:02 +0000)
commit697e55995626f24658ce443287cd1ba90c2f68eb
tree4f19d13ded04c4d4b3ae53607fa90638ba96a7bd
parent17a0c0b00644c37e9d8539a9de0a02dc213a6834
arch: Make and use endian specific versions of the mem helpers.

Rather than using TheISA to pick an endian conversion function, we can
have a version defined for big and little endian and call the right one
from the ISA code.

Change-Id: I5014504968952e21abff3c5f6cbe58ca24233f33
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22373
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/alpha/isa/mem.isa
src/arch/arm/isa/templates/mem.isa
src/arch/arm/isa/templates/mem64.isa
src/arch/arm/isa/templates/sve_mem.isa
src/arch/generic/memhelpers.hh
src/arch/mips/isa/formats/mem.isa
src/arch/power/isa/formats/mem.isa
src/arch/riscv/isa/formats/amo.isa
src/arch/riscv/isa/formats/mem.isa
src/arch/sparc/isa/formats/mem/swap.isa
src/arch/sparc/isa/formats/mem/util.isa