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>
This commit is contained in:
Marek Vasut
2017-04-19 13:19:01 +02:00
committed by Ley Foon Tan
parent a89988a6e0
commit 23460839b9
4 changed files with 19 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ struct cpuinfo {
bool has_div;
bool has_mul;
bool has_mulx;
bool has_bmx;
/* CPU caches */
u32 icache_line_size;