xref: /freebsd/sys/contrib/openzfs/module/zstd/zstd_sparc.c (revision 02e9120893770924227138ba49df1edb3896112a)
1 #ifdef __sparc__
2 #include <stdint.h>
3 #include <sys/byteorder.h>
4 #include "include/sparc_compat.h"
5 uint64_t __bswapdi2(uint64_t in) {
6 	return (BSWAP_64(in));
7 }
8 uint32_t __bswapsi2(uint32_t in) {
9 	return (BSWAP_32(in));
10 }
11 #endif
12