162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci#ifndef _UAPI_ASM_HWCAP_H 362306a36Sopenharmony_ci#define _UAPI_ASM_HWCAP_H 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci/* HWCAP flags */ 662306a36Sopenharmony_ci#define HWCAP_LOONGARCH_CPUCFG (1 << 0) 762306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LAM (1 << 1) 862306a36Sopenharmony_ci#define HWCAP_LOONGARCH_UAL (1 << 2) 962306a36Sopenharmony_ci#define HWCAP_LOONGARCH_FPU (1 << 3) 1062306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LSX (1 << 4) 1162306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LASX (1 << 5) 1262306a36Sopenharmony_ci#define HWCAP_LOONGARCH_CRC32 (1 << 6) 1362306a36Sopenharmony_ci#define HWCAP_LOONGARCH_COMPLEX (1 << 7) 1462306a36Sopenharmony_ci#define HWCAP_LOONGARCH_CRYPTO (1 << 8) 1562306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LVZ (1 << 9) 1662306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_X86 (1 << 10) 1762306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_ARM (1 << 11) 1862306a36Sopenharmony_ci#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12) 1962306a36Sopenharmony_ci#define HWCAP_LOONGARCH_PTW (1 << 13) 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci#endif /* _UAPI_ASM_HWCAP_H */ 22