target/ppc: fix helper_xvmadd* argument order
commitbc504838ff88b505421dd28841ee298d9cff31d0
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Sat, 26 Mar 2022 12:52:37 +0000 (26 13:52 +0100)
committerCédric Le Goater <clg@kaod.org>
Sat, 26 Mar 2022 12:52:37 +0000 (26 13:52 +0100)
tree6971c36b833750369e9f3ac10c0a653f1d91aecf
parent3d31fe4d662f13c70eb7e87f29513623ccd76322
target/ppc: fix helper_xvmadd* argument order

When the xsmadd* insns were moved to decodetree, the helper arguments
were reordered to better match the PowerISA description. The same macro
is used to declare xvmadd* helpers, but the translation macro of these
insns was not changed accordingly.

Reported-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Fixes: e4318ab2e423 ("target/ppc: move xs[n]madd[am][ds]p/xs[n]msub[am][ds]p to decodetree")
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Tested-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Message-Id: <20220325111851.718966-1-matheus.ferst@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/translate/vsx-impl.c.inc