mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
microblaze: Enable asm optimization only for HW with barrel-shifter
Asm code uses barrel-shifter instruction that's why we have to protect cases when HW don't have it. Reported-by: John Linn <john.linn@xilinx.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
3e78e4e5ea
commit
27d2a3ee5e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ config OPT_LIB_FUNCTION
|
|||
|
||||
config OPT_LIB_ASM
|
||||
bool "Optimalized lib function ASM"
|
||||
depends on OPT_LIB_FUNCTION
|
||||
depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1)
|
||||
default n
|
||||
help
|
||||
Allows turn on optimalized library function (memcpy and memmove).
|
||||
|
|
Loading…
Reference in a new issue