hwcap.h (4f2c0a4acffbec01079c28f839422e64ddeff004) hwcap.h (01158487af60cd3915e8c31924144caf29cb0767)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _UAPI_ASM_HWCAP_H
3#define _UAPI_ASM_HWCAP_H
4
5/* HWCAP flags */
6#define HWCAP_LOONGARCH_CPUCFG (1 << 0)
7#define HWCAP_LOONGARCH_LAM (1 << 1)
8#define HWCAP_LOONGARCH_UAL (1 << 2)
9#define HWCAP_LOONGARCH_FPU (1 << 3)
10#define HWCAP_LOONGARCH_LSX (1 << 4)
11#define HWCAP_LOONGARCH_LASX (1 << 5)
12#define HWCAP_LOONGARCH_CRC32 (1 << 6)
13#define HWCAP_LOONGARCH_COMPLEX (1 << 7)
14#define HWCAP_LOONGARCH_CRYPTO (1 << 8)
15#define HWCAP_LOONGARCH_LVZ (1 << 9)
16#define HWCAP_LOONGARCH_LBT_X86 (1 << 10)
17#define HWCAP_LOONGARCH_LBT_ARM (1 << 11)
18#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12)
1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2#ifndef _UAPI_ASM_HWCAP_H
3#define _UAPI_ASM_HWCAP_H
4
5/* HWCAP flags */
6#define HWCAP_LOONGARCH_CPUCFG (1 << 0)
7#define HWCAP_LOONGARCH_LAM (1 << 1)
8#define HWCAP_LOONGARCH_UAL (1 << 2)
9#define HWCAP_LOONGARCH_FPU (1 << 3)
10#define HWCAP_LOONGARCH_LSX (1 << 4)
11#define HWCAP_LOONGARCH_LASX (1 << 5)
12#define HWCAP_LOONGARCH_CRC32 (1 << 6)
13#define HWCAP_LOONGARCH_COMPLEX (1 << 7)
14#define HWCAP_LOONGARCH_CRYPTO (1 << 8)
15#define HWCAP_LOONGARCH_LVZ (1 << 9)
16#define HWCAP_LOONGARCH_LBT_X86 (1 << 10)
17#define HWCAP_LOONGARCH_LBT_ARM (1 << 11)
18#define HWCAP_LOONGARCH_LBT_MIPS (1 << 12)
19#define HWCAP_LOONGARCH_PTW (1 << 13)
19
20#endif /* _UAPI_ASM_HWCAP_H */
20
21#endif /* _UAPI_ASM_HWCAP_H */