Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/sme-abi-assert.c
213799 views
1
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2
// See https://llvm.org/LICENSE.txt for license information.
3
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4
5
// We rely on the FMV __aarch64_cpu_features mechanism to determine
6
// which features are set at runtime.
7
8
#include "../cpu_model/AArch64CPUFeatures.inc"
9
_Static_assert(FEAT_SVE == 30, "sme-abi.S assumes FEAT_SVE = 30");
10
_Static_assert(FEAT_SME == 42, "sme-abi.S assumes FEAT_SME = 42");
11
_Static_assert(FEAT_SME2 == 57, "sme-abi.S assumes FEAT_SME2 = 57");
12
13