blob: 953933f1d74a57f27adaf59998d55007ee7b946c [file] [log] [blame]
Andre Przywarac7d10e32020-10-16 12:06:57 +01001/*
2 * Copyright (c) 2021 ARM Limited
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 * The definitions below are a subset of what we would normally get by using
7 * the compiler's version of arm_acle.h. We can't use that directly because
8 * we specify -nostdinc in the Makefiles.
9 *
10 * We just define the functions we need so far.
11 */
12
13#ifndef ARM_ACLE_H
14#define ARM_ACLE_H
15
16#if !defined(__aarch64__) || defined(__clang__)
17# define __crc32w __builtin_arm_crc32w
18#else
19# define __crc32w __builtin_aarch64_crc32w
20#endif
21
22#endif /* ARM_ACLE_H */