2 * SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (C) Mellanox 2020.
6 #ifndef _RTE_ALTIVEC_H_
7 #define _RTE_ALTIVEC_H_
9 /* To include altivec.h, GCC version must be >= 4.8 */
13 * Compilation workaround for PPC64 when AltiVec is fully enabled, e.g. std=c11.
14 * Otherwise there would be a type conflict between stdbool and altivec.
16 #if defined(__PPC64__) && !defined(__APPLE_ALTIVEC__)
18 /* redefine as in stdbool.h */
22 #endif /* _RTE_ALTIVEC_H_ */