You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert: '[Squashed] Hell lot of optimization with a hell lot of commits'
LPAE indicates better instructions can be used when atomicity guarantees are
needed. However, LPAE's presence isn't advertised by clang/GCC. We fake an
ARM feature to advertise its presence on architectures where it is.
Also, add a TODO documenting that cortex-a15 is not the correct CPU variant
for krait.
Change-Id: I02a1248025c32d94eca0bc8a249dc524f1ac9c36
Signed-off-by: Chet Kener <[email protected]>
Conflicts:
core/combo/arch/arm/armv7-a-neon.mk
OptiPop Optimizations V2
* A squash of al lof the optimizations added since November 2014. This the build setup I find works best for my Nexus 5 after hundreds of hours of testing.
Options you can enable in bashrc using exports or BoardConfig.mk by just adding as follows:
GRAPHITE_OPTS=true - Enables Graphite Optimizations
STRICT_ALIASING=true - Enabled Strict Aliasing Optimizations
USE_O3_OPTIMIZATIONS=true - Enables Clang and GCC -O3 Optimizations
USE_HOST_4_8=true - Switches from default Host GCC 4.6 Toolchain to the latest Google GCC 4.8 Host Toolchain
KRAIT_TUNINGS=true - Enables cortex-a15 tunings that work well with krait CPUs
ENABLE_GCCONLY=true - Enables many extra GCC Flags for things built with GCC (and also avoids clang because these flags are not supported by clang)
TARGET_USE_PIPE=true - Enable pipe flags which by my testing speed up the build by 5 minutes on regular hard drives (not really needed on SSD)
FLOOP_NEST_OPTIMIZE=true - Very Aggressive Optimization which I enabled for ART/Bionic learn more here: http://en.wikipedia.org/wiki/Loop_nest_optimization
Signed-off-by: Chet Kener <[email protected]>
Add Toolchain Version to Lunch Menu
Signed-off-by: Chet Kener <[email protected]>
armv7-a: More Specific Tunings per CPU
* Also add some substitutions and ignores for clang.
Signed-off-by: Chet Kener <[email protected]>
Conflicts:
core/combo/arch/arm/armv7-a-neon.mk
Disable Strict on Linker
Signed-off-by: Chet Kener <[email protected]>
Fix Graphite Compile
Signed-off-by: Chet Kener <[email protected]>
Restore Missing -fgraphite-identity
* Somehow this went missing when copying grpahite flags from Kernel to ROM. Thanks to @ImTheReas0n for noticing so we can have the best optimization possible.
Signed-off-by: Chet Kener <[email protected]>
Fix Graphite Compile on GCC 4.9
Signed-off-by: Chet Kener <[email protected]>
Update Floop Nest Optimize Module List
Signed-off-by: Chet Kener <[email protected]>
GCC 4.9
Fix Compile
Signed-off-by: Chet Kener <[email protected]>
Strict: Fix N6 Camera build
Signed-off-by: Chet Kener <[email protected]>
Fix The N6 Camera for Real!
Signed-off-by: Chet Kener <[email protected]>
optipop.mk:ffast-math:initial introduction
clang: Introduce and guard LDFlags
We have not been fully taking advantage of clang. Let's include some linker flags that work on clang similar to what we are doing with GCC stuff.
Signed-off-by: Chet Kener <[email protected]>
host: Allow more arch flexibility
Prescott tuning may not always be the best option. Also be aware that allowing -march=native will not work correctly with anything that is not Linux. Mac and Windows users beware!!!
Sources: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
Signed-off-by: Chet Kener <[email protected]>
arm: Update filter to 5.0
* Let's make sure we never have to worry about this
Signed-off-by: Chet Kener <[email protected]>
Remove "-g" globally
* -g is pretty worthless if you ask me. Read here for more info https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
Signed-off-by: Chet Kener <[email protected]>
Add krait as a CPU_VARIANT for arm flags....wtf CM
Change-Id: Ic057eff15310c91dc7dc3aff32379b99266180a5
optipop.mk :add some restrictions for graphite
Change-Id: I6c5de3c10eafbc228b7f9ea5735cf749cea747d0
optipop.mk :add some restrictions for strict
Change-Id: Ica80d34278b988c51706779a3cef992781f3ab09
Add PThread
Change-Id: I054a3e257b38fec411224953a606745a71276649
optipop:mk: remove libc_bionic and libc_dns from force disable strict
Change-Id: Id8b157d1de021e0ebc5d246a4b7cf53676eb2d5c
dumpvar:print all build optimizations
Change-Id: Icc7a6d949d412afa96aac0cf5c8c6c182aefebff
force arm-eabi-4.8 for kernel
Disable strict aliasing for malloc
Signed-off-by: CallMeAldy <[email protected]>
0 commit comments