Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
arch/microblaze/platform/Kconfig.platform
··· 53 53 54 54 config OPT_LIB_ASM 55 55 bool "Optimalized lib function ASM" 56 - depends on OPT_LIB_FUNCTION 56 + depends on OPT_LIB_FUNCTION && (XILINX_MICROBLAZE0_USE_BARREL = 1) 57 57 default n 58 58 help 59 59 Allows turn on optimalized library function (memcpy and memmove).