xref: /linux/arch/mips/include/uapi/asm/hwcap.h (revision 38dffe1e4dde1d3174fdce09d67370412843ebb5)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2e14f1db7SPaul Burton #ifndef _UAPI_ASM_HWCAP_H
3e14f1db7SPaul Burton #define _UAPI_ASM_HWCAP_H
4e14f1db7SPaul Burton 
5e14f1db7SPaul Burton /* HWCAP flags */
6e14f1db7SPaul Burton #define HWCAP_MIPS_R6		(1 << 0)
7e14f1db7SPaul Burton #define HWCAP_MIPS_MSA		(1 << 1)
8256211f2SMarcin Nowakowski #define HWCAP_MIPS_CRC32	(1 << 2)
9*38dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS16	(1 << 3)
10*38dffe1eSJiaxun Yang #define HWCAP_MIPS_MDMX     (1 << 4)
11*38dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS3D   (1 << 5)
12*38dffe1eSJiaxun Yang #define HWCAP_MIPS_SMARTMIPS (1 << 6)
13*38dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP      (1 << 7)
14*38dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP2     (1 << 8)
15*38dffe1eSJiaxun Yang #define HWCAP_MIPS_DSP3     (1 << 9)
16*38dffe1eSJiaxun Yang #define HWCAP_MIPS_MIPS16E2 (1 << 10)
17*38dffe1eSJiaxun Yang #define HWCAP_LOONGSON_MMI  (1 << 11)
18*38dffe1eSJiaxun Yang #define HWCAP_LOONGSON_EXT  (1 << 12)
19*38dffe1eSJiaxun Yang #define HWCAP_LOONGSON_EXT2 (1 << 13)
20e14f1db7SPaul Burton 
21e14f1db7SPaul Burton #endif /* _UAPI_ASM_HWCAP_H */
22