target/ppc: Fix register update on lf[sd]u[x]/stf[sd]u[x]
commit3620328f787de5190c3c7b0b0041348dc11d796a
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Tue, 9 Nov 2021 19:29:11 +0000 (9 16:29 -0300)
committerCédric Le Goater <clg@kaod.org>
Wed, 10 Nov 2021 07:20:02 +0000 (10 08:20 +0100)
tree5efb0871f076529036cc0021fabfb2ad9f7874b8
parent0a70bcf18caf7a61d480f8448723c15209d128ef
target/ppc: Fix register update on lf[sd]u[x]/stf[sd]u[x]

These instructions should update the GPR indicated by the field RA
instead of RT. This error caused a regression on Mac OS 9 boot and some
graphical glitches in OS X.

Fixes: a39a106634a9 ("target/ppc: Move load and store floating point instructions to decodetree")
Reported-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/translate/fp-impl.c.inc