Skip to content

Commit

Permalink
microblaze: Enable asm optimization only for HW with barrel-shifter
Browse files Browse the repository at this point in the history
Asm code uses barrel-shifter instruction that's why we have
to protect cases when HW don't have it.

Reported-by: John Linn <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
  • Loading branch information
michalsimek committed Dec 14, 2009
1 parent 3e78e4e commit 27d2a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/platform/Kconfig.platform
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 27d2a3e

Please sign in to comment.