summaryrefslogtreecommitdiff
path: root/arch/arm64/include/uapi/asm/hwcap.h
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2017-03-14 18:13:25 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2017-03-20 16:29:28 +0000
commitc8c3798d2369e4285da44b244638eafe446a8f8a (patch)
tree484cfb45948628e4945cd808d26efeb1021105e7 /arch/arm64/include/uapi/asm/hwcap.h
parent87da236ebc711644dcff2339ee5b854f1abf1fca (diff)
arm64: v8.3: Support for Javascript conversion instruction
ARMv8.3 adds support for a new instruction to perform conversion from double precision floating point to integer to match the architected behaviour of the equivalent Javascript conversion. Expose the availability via HWCAP and MRS emulation. Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/uapi/asm/hwcap.h')
-rw-r--r--arch/arm64/include/uapi/asm/hwcap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/uapi/asm/hwcap.h b/arch/arm64/include/uapi/asm/hwcap.h
index 61c263cba272..391a876f055d 100644
--- a/arch/arm64/include/uapi/asm/hwcap.h
+++ b/arch/arm64/include/uapi/asm/hwcap.h
@@ -32,5 +32,6 @@
#define HWCAP_ASIMDHP (1 << 10)
#define HWCAP_CPUID (1 << 11)
#define HWCAP_ASIMDRDM (1 << 12)
+#define HWCAP_JSCVT (1 << 13)
#endif /* _UAPI__ASM_HWCAP_H */