1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (C) 2021-3 ARM Limited.
7 #define SVCR_SM_SHIFT 0
8 #define SVCR_ZA_SHIFT 1
10 #define SVCR_SM (1 << SVCR_SM_SHIFT)
11 #define SVCR_ZA (1 << SVCR_ZA_SHIFT)
13 #define HAVE_SVE_SHIFT 0
14 #define HAVE_SME_SHIFT 1
15 #define HAVE_SME2_SHIFT 2
16 #define HAVE_FA64_SHIFT 3
17 #define HAVE_FPMR_SHIFT 4
19 #define HAVE_SVE (1 << HAVE_SVE_SHIFT)
20 #define HAVE_SME (1 << HAVE_SME_SHIFT)
21 #define HAVE_SME2 (1 << HAVE_SME2_SHIFT)
22 #define HAVE_FA64 (1 << HAVE_FA64_SHIFT)
23 #define HAVE_FPMR (1 << HAVE_FPMR_SHIFT)