Display MoreWhy would you blank out $PROJECT_CFLAGS?
In my personal build, I replaced
TARGET_CPU="x86-64"
with
TARGET_CPU="silvermont"and
PROJECT_CFLAGS="-mmmx -msse -msse2 -mfpmath=sse"
with
PROJECT_CFLAGS="-mmovbe -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -maes -mpclmul -mrdrnd -mfpmath=sse"So far all addons function. In fact I have noticed slightly lower memory usage, roughly 20-23% on average. However, I should state that I did not perform riguorus double-blind tests.
Oddly enough, before I implemented these changes Chromium produced choppy output from NetFlix videos. After the custom changes, Chromium produced better output. There is still a degree of dropped frames, but only during highly dynamic scenes (fast action on high quality videos). Which makes me wonder about recompiling Chromium with the same customizations...
Are you using the TronSmart ARA5? Device type matters with all those optimizations, some of which are actually defaults regardless of compiler options.
For instance -msse and -msse2 are enabled by default when compiling 64bit.
-march=native might even work better than enabling every version of sse, which seems redundant.
Optimizations like -O1, -O2, or -O3 might also improve size, memory, speed, etc.