diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-03 21:12:48 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-01-03 21:15:02 +0200 |
commit | ae58795c44bfaa5135e4b8f33dfd5777accdb9ef (patch) | |
tree | fc19b6504aaac1aa1b726b256f2d7a0f47044e5c | |
parent | 6fd4b36bc5dfbb6c6a3f85e14269589e6613d26d (diff) | |
download | micropython-ae58795c44bfaa5135e4b8f33dfd5777accdb9ef.tar.gz micropython-ae58795c44bfaa5135e4b8f33dfd5777accdb9ef.zip |
unix: Enable -fno-crossjumping for fast build.
Confirmed that it improves perfomance of simple "for i in range(N): pass"
loop by 15% on Core2.
-rw-r--r-- | unix/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile index ab68760546..e7e0d354b0 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -133,4 +133,4 @@ uninstall: # build synthetically fast interpreter for benchmarking fast: @echo Make sure to run make -B - $(MAKE) COPT="-O2 -DNDEBUG" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_fast.h>"' BUILD=build-fast + $(MAKE) COPT="-O2 -DNDEBUG -fno-crossjumping" CFLAGS_EXTRA='-DMP_CONFIGFILE="<mpconfigport_fast.h>"' BUILD=build-fast |