diff options
author | Will Deacon <will.deacon@arm.com> | 2011-06-03 14:15:22 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2011-07-07 19:20:51 +0100 |
commit | 254cdf8ec39653d19cce71b6622f38a6b62ac3a8 (patch) | |
tree | 95fef4b85d2a490f1a27668f1d3d960d2063cf86 /arch/arm/kernel/smp.c | |
parent | 194a7f720f6f009867a01b760f311b68f1e81872 (diff) | |
download | linux-254cdf8ec39653d19cce71b6622f38a6b62ac3a8.tar.gz linux-254cdf8ec39653d19cce71b6622f38a6b62ac3a8.tar.bz2 linux-254cdf8ec39653d19cce71b6622f38a6b62ac3a8.zip |
ARM: hwcaps: add new HWCAP defines for ARMv7-A
Modern ARMv7-A cores can optionally implement these new hardware
features:
- VFPv4:
The latest version of the ARMv7 vector floating-point extensions,
including hardware support for fused multiple accumulate. D16 or D32
variants may be implemented.
- Integer divide:
The SDIV and UDIV instructions provide signed and unsigned integer
division in hardware. When implemented, these instructions may be
available in either both Thumb and ARM, or Thumb only.
This patch adds new HWCAP defines to describe these new features. The
integer divide capabilities are split into two bits for ARM and Thumb
respectively. Whilst HWCAP_IDIVA should never be set if HWCAP_IDIVT is
clear, separating the bits makes it easier to interpret from userspace.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/kernel/smp.c')
0 files changed, 0 insertions, 0 deletions