Debian Codegraph @

Modules/ThirdParty/ZLIB/src/itkzlib-ng/arch/riscv/riscv_features.h

raw
1 /* riscv_features.h -- check for riscv features.
2 *
3 * Copyright (C) 2023 SiFive, Inc. All rights reserved.
4 * Contributed by Alex Chiang <[email protected]>
5 *
6 * For conditions of distribution and use, see copyright notice in zlib.h
7 */
8
9 #ifndef RISCV_H_
10 #define RISCV_H_
11
12 struct riscv_cpu_features {
13 int has_rvv;
14 };
15
16 void Z_INTERNAL riscv_check_features(struct riscv_cpu_features *features);
17
18 #endif /* RISCV_H_ */