target/ppc: Implement hashst and hashchk
commit670f1da374d9e9a7d509ef6f03d871144284f8d6
authorVíctor Colombo <victor.colombo@eldorado.org.br>
Fri, 15 Jul 2022 20:54:38 +0000 (15 17:54 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Tue, 20 Sep 2022 13:54:06 +0000 (20 10:54 -0300)
tree12b4fa10d1c493d45c0952e73c5b2ccd46995ba8
parent903f84eb88c8d43fa2e46d4c30969de30dbb5297
target/ppc: Implement hashst and hashchk

Implementation for instructions hashst and hashchk, which were added
in Power ISA 3.1B.

It was decided to implement the hash algorithm from ground up in this
patch exactly as described in Power ISA.

Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Message-Id: <20220715205439.161110-3-victor.colombo@eldorado.org.br>
[danielhb: fix block comment in excp_helper.c]
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/excp_helper.c
target/ppc/helper.h
target/ppc/insn32.decode
target/ppc/translate.c
target/ppc/translate/fixedpoint-impl.c.inc