arch-arm: Simplify AMO code generation templates
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 30 Oct 2019 22:45:36 +0000 (23:45 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 6 Nov 2019 20:54:38 +0000 (20:54 +0000)
commit3791b605f8e89887af23f54d95c202ac1d5a6101
treec0e5a3c2bab0192526d6a67c2fcd4e6480760ec8
parent29fce1d26b395f3a82f757ea37f4c53da8fbde11
arch-arm: Simplify AMO code generation templates

This change simplifies the isa template for the atomic memory
operation (AMO). Previously the flow had unecessary if statements that
ended up breaking build using clang, due to variables that could
seemingly be used before they were unitialized.

Change-Id: I1b46dfd5f1e90377245c4f649c08b6532b507b9c
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22603
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/templates/mem64.isa