diff options
author | Victor Colombo <victor.colombo@eldorado.org.br> | 2021-12-17 17:57:18 +0100 |
---|---|---|
committer | Cédric Le Goater <clg@kaod.org> | 2021-12-17 17:57:18 +0100 |
commit | 201fc774e0e1cc76ec23b595968004a7b14fb6e8 (patch) | |
tree | 927a36f7626defacce4de191c40e27bdf1ded89e /target/ppc/translate/vsx-ops.c.inc | |
parent | 6518c0ede9f8b12c7eb4ab5e843bcacb7198652f (diff) |
target/ppc: Fix xs{max, min}[cj]dp to use VSX registers
PPC instruction xsmaxcdp, xsmincdp, xsmaxjdp, and xsminjdp are using
vector registers when they should be using VSX ones. This happens
because the instructions are using GEN_VSX_HELPER_R3, which adds 32
to the register numbers, effectively making them vector registers.
This patch fixes it by changing these instructions to use
GEN_VSX_HELPER_X3.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Victor Colombo <victor.colombo@eldorado.org.br>
Message-Id: <20211213120958.24443-2-victor.colombo@eldorado.org.br>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'target/ppc/translate/vsx-ops.c.inc')
0 files changed, 0 insertions, 0 deletions