aboutsummaryrefslogtreecommitdiff
path: root/target/ppc/int_helper.c
diff options
context:
space:
mode:
authorMatheus Ferst <matheus.ferst@eldorado.org.br>2021-11-04 09:36:57 -0300
committerDavid Gibson <david@gibson.dropbear.id.au>2021-11-09 10:32:52 +1100
commit00a16569ebb0123fe1a7d820c61d6d9be28705ac (patch)
tree15141a0aa8b9d5772c1d55daa613208e442d8d1e /target/ppc/int_helper.c
parenta2c975e119af289d8611df1d8649685b928cfd71 (diff)
downloadqemu-00a16569ebb0123fe1a7d820c61d6d9be28705ac.zip
qemu-00a16569ebb0123fe1a7d820c61d6d9be28705ac.tar.gz
qemu-00a16569ebb0123fe1a7d820c61d6d9be28705ac.tar.bz2
target/ppc: Implement vpdepd/vpextd instruction
pdepd and pextd helpers are moved out of #ifdef (TARGET_PPC64) to allow them to be reused as GVecGen3.fni8. 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-4-matheus.ferst@eldorado.org.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/int_helper.c')
-rw-r--r--target/ppc/int_helper.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/ppc/int_helper.c b/target/ppc/int_helper.c
index f03c864..4254173 100644
--- a/target/ppc/int_helper.c
+++ b/target/ppc/int_helper.c
@@ -386,7 +386,6 @@ uint64_t helper_CFUGED(uint64_t src, uint64_t mask)
return left | (right >> n);
}
-#if defined(TARGET_PPC64)
uint64_t helper_PDEPD(uint64_t src, uint64_t mask)
{
int i, o;
@@ -422,7 +421,6 @@ uint64_t helper_PEXTD(uint64_t src, uint64_t mask)
return result;
}
-#endif
/*****************************************************************************/
/* PowerPC 601 specific instructions (POWER bridge) */