forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
features_aarch32.h
28 lines (25 loc) · 888 Bytes
/
features_aarch32.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// This file is a part of Julia. License is MIT: https://julialang.org/license
// AArch32 features definition
// hwcap
JL_FEATURE_DEF(neon, 12, 0)
JL_FEATURE_DEF(vfp3, 13, 0)
// JL_FEATURE_DEF(vfpv3d16, 14, 0) // d16
JL_FEATURE_DEF(vfp4, 16, 0)
JL_FEATURE_DEF_NAME(hwdiv_arm, 17, 0, "hwdiv-arm")
JL_FEATURE_DEF(hwdiv, 18, 0)
JL_FEATURE_DEF(d32, 19, 0) // -d16
// hwcap2
JL_FEATURE_DEF(crypto, 32 + 0, 0)
JL_FEATURE_DEF(crc, 32 + 4, 0)
// JL_FEATURE_DEF(ras, 32 + ???, 0)
// JL_FEATURE_DEF(fullfp16, 32 + ???, 0)
// custom bits to match llvm model
JL_FEATURE_DEF(aclass, 32 * 2 + 0, 0)
JL_FEATURE_DEF(rclass, 32 * 2 + 1, 0)
JL_FEATURE_DEF(mclass, 32 * 2 + 2, 0)
JL_FEATURE_DEF(v7, 32 * 2 + 3, 0)
JL_FEATURE_DEF(v8, 32 * 2 + 4, 0)
JL_FEATURE_DEF(v8_1a, 32 * 2 + 5, 0)
JL_FEATURE_DEF(v8_2a, 32 * 2 + 6, 0)
JL_FEATURE_DEF(v8_3a, 32 * 2 + 7, 60000)
JL_FEATURE_DEF(v8_m_main, 32 * 2 + 8, 0)