]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: introduce do_ea_calc
authorFernando Eckhardt Valle <phervalle@gmail.com>
Fri, 29 Oct 2021 20:23:51 +0000 (17:23 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 8 Nov 2021 23:32:51 +0000 (10:32 +1100)
commiteb63efd9f63fabc2ce7ee070f1d8e75585d26543
tree3d8981d3a2fd6c65f02ce217fedb76f2f15fe038
parent114f3c8cc427333dbae331dfd2ecae64676b087e
target/ppc: introduce do_ea_calc

The do_ea_calc function will calculate the effective address(EA)
according to PowerIsa 3.1. With that, it was replaced part of
do_ldst() that calculates the EA by this new function.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Fernando Eckhardt Valle (pherde) <phervalle@gmail.com>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211029202424.175401-2-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c
target/ppc/translate/fixedpoint-impl.c.inc