1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (C) 2021-3 ARM Limited. 3 4 #ifndef FP_PTRACE_H 5 #define FP_PTRACE_H 6 7 #define SVCR_SM_SHIFT 0 8 #define SVCR_ZA_SHIFT 1 9 10 #define SVCR_SM (1 << SVCR_SM_SHIFT) 11 #define SVCR_ZA (1 << SVCR_ZA_SHIFT) 12 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 18 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) 24 25 #endif 26