target/ppc: Implement vclzdm/vctzdm instructions
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Thu, 4 Nov 2021 12:36:56 +0000 (09:36 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 8 Nov 2021 23:32:52 +0000 (10:32 +1100)
commita2c975e119af289d8611df1d8649685b928cfd71
treeda55efd4526dbbefe5315ee35c6bfec2e8760ed3
parent6e0bbc4048225cca44f6f060ccd4e286f2a06d61
target/ppc: Implement vclzdm/vctzdm instructions

The signature of do_cntzdm is changed to allow reuse as GVecGen3i.fni8.
The method is also moved out of #ifdef TARGET_PPC64, as PowerISA doesn't
say vclzdm and vctzdm are 64-bit only.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-3-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/insn32.decode
target/ppc/translate/fixedpoint-impl.c.inc
target/ppc/translate/vmx-impl.c.inc