mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Convert all HAVE_<name> SIMD gates to HAVE_SIMD(<name>)
The original names no longer exist, and the new ones will need to be selectable based on the current compilation target. Sponsored-by: TrueNAS Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <rob.norris@truenas.com> Closes #18285
This commit is contained in:
committed by
Brian Behlendorf
parent
92a6ab405f
commit
35f74f84e6
@@ -41,7 +41,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#if defined(HAVE_AVX) && defined(HAVE_AVX2)
|
||||
#if HAVE_SIMD(AVX) && HAVE_SIMD(AVX2)
|
||||
|
||||
#include <sys/spa_checksum.h>
|
||||
#include <sys/string.h>
|
||||
@@ -164,4 +164,4 @@ const fletcher_4_ops_t fletcher_4_avx2_ops = {
|
||||
.name = "avx2"
|
||||
};
|
||||
|
||||
#endif /* defined(HAVE_AVX) && defined(HAVE_AVX2) */
|
||||
#endif /* HAVE_SIMD(AVX) && HAVE_SIMD(AVX2) */
|
||||
|
||||
Reference in New Issue
Block a user