1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2017-2018 Linaro Limited
5 #ifndef __INCLUDE_RTE_TABLE_HASH_FUNC_ARM64_H__
6 #define __INCLUDE_RTE_TABLE_HASH_FUNC_ARM64_H__
8 #define _CRC32CX(crc, val) \
9 __asm__("crc32cx %w[c], %w[c], %x[v]":[c] "+r" (crc):[v] "r" (val))
11 static inline uint64_t
12 rte_crc32_u64(uint64_t crc, uint64_t v)