Commit 27d2a3ee authored by Michal Simek's avatar Michal Simek
Browse files

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: default avatarJohn Linn <john.linn@xilinx.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 3e78e4e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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).