diff options
author | Amit Daniel Kachhap <amit.kachhap@arm.com> | 2022-11-17 06:58:31 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-11-28 11:57:34 +0000 |
commit | 956ca3a4eb81c1b8cc3226af3083847544dcb098 (patch) | |
tree | 85ca472cbbdea50bcd6d191bc04b85a3c454af75 /arch/arm/include/uapi/asm/hwcap.h | |
parent | 23b6d4ad6e7a3028dd88aff7e2b0e5a81da8565e (diff) |
ARM: 9272/1: vfp: Add hwcap for FEAT_AA32I8MM
Int8 matrix multiplication (FEAT_AA32I8MM) is a feature present in AArch32 state for Armv8 and is represented by ISAR6.I8MM identification register.
This feature denotes the presence of VSMMLA, VSUDOT, VUMMLA, VUSMMLA and
VUSDOT instructions and hence adding a hwcap will enable the userspace
to check it before trying to use those instructions.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/uapi/asm/hwcap.h')
-rw-r--r-- | arch/arm/include/uapi/asm/hwcap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/hwcap.h b/arch/arm/include/uapi/asm/hwcap.h index 14e260e2d6d0..46833c668ec2 100644 --- a/arch/arm/include/uapi/asm/hwcap.h +++ b/arch/arm/include/uapi/asm/hwcap.h @@ -33,6 +33,7 @@ #define HWCAP_ASIMDDP (1 << 24) #define HWCAP_ASIMDFHM (1 << 25) #define HWCAP_ASIMDBF16 (1 << 26) +#define HWCAP_I8MM (1 << 27) /* * HWCAP2 flags - for elf_hwcap2 (in kernel) and AT_HWCAP2 |