mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Add AltiVec RAID-Z
Implements the RAID-Z function using AltiVec SIMD. This is basically the NEON code translated to AltiVec. Note that the 'fletcher' algorithm requires 64-bits operations, and the initial implementations of AltiVec (PPC74xx a.k.a. G4, PPC970 a.k.a. G5) only has up to 32-bits operations, so no 'fletcher'. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Romain Dolbeau <romain.dolbeau@european-processor-initiative.eu> Closes #9539
This commit is contained in:
committed by
Brian Behlendorf
parent
1a69856034
commit
35b07497c6
@@ -67,6 +67,9 @@ const raidz_impl_ops_t *raidz_all_maths[] = {
|
||||
&vdev_raidz_aarch64_neon_impl,
|
||||
&vdev_raidz_aarch64_neonx2_impl,
|
||||
#endif
|
||||
#if defined(__powerpc__)
|
||||
&vdev_raidz_powerpc_altivec_impl,
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Indicate that benchmark has been completed */
|
||||
|
||||
Reference in New Issue
Block a user