summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm
diff options
context:
space:
mode:
authorMarek Vasut2017-04-19 13:19:01 +0200
committerLey Foon Tan2017-05-08 10:59:19 +0200
commit23460839b983d5d8d47fe90f341599f66523dd81 (patch)
tree8e123c504595afe9e5463b9c88a35a7988f7d7ae /arch/nios2/include/asm
parentnios2: Add NIOS2_ARCH_REVISION to select between R1 and R2 (diff)
downloadkernel-qcow2-linux-23460839b983d5d8d47fe90f341599f66523dd81.tar.gz
kernel-qcow2-linux-23460839b983d5d8d47fe90f341599f66523dd81.tar.xz
kernel-qcow2-linux-23460839b983d5d8d47fe90f341599f66523dd81.zip
nios2: Add BMX support
Add support for the BMX Bit Manipulation Extensions present in Nios II R2 . This introduces three new instructions, EXTRACT, INSERT and MERGE. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/include/asm')
-rw-r--r--arch/nios2/include/asm/cpuinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/include/asm/cpuinfo.h b/arch/nios2/include/asm/cpuinfo.h
index 348bb228fec9..79d376435d7d 100644
--- a/arch/nios2/include/asm/cpuinfo.h
+++ b/arch/nios2/include/asm/cpuinfo.h
@@ -29,6 +29,7 @@ struct cpuinfo {
bool has_div;
bool has_mul;
bool has_mulx;
+ bool has_bmx;
/* CPU caches */
u32 icache_line_size;