[G 2014 Android Development] DiamondBond:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

~ pf-cm is cm with a performance driven patchset

~ off-topic is loved here!

- Based on CM12.1

- Lots of optimizations for superb performance and unparalleled 60fps animations!

- CM12.1 base

- Compiled using JustArchi's TC's

- Optimized for speed yet more all instructions - ARM and THUMB (-O3)

- Optimized for speed also parts which are compiled with Clang (-O3)

- Turned off all debugging code (lack of -g)

- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)

- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)

- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)

- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)

- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)

- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)

- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)

- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)

- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)

- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)

- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)

- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)

- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)

- Sorted the common symbols by alignment in descending order. This is to prevent gaps between symbols due to alignment constraints (-Wl,--sort-common)

ROM: http://imgur.com/a/z5Qvn

Banners: http://imgur.com/a/527h8#cB8wET4

- Reboot to recovery

- Make a TWRP backup

- Copy ROM.zip to sdcard

- Wipe: system, data, cache & dalvik-cache

- Flash ROM + GApps

- Reboot

http://www.cmxlog.com/12.1/titan/

ROM: https://basketbuild.com/devs/DiamondBond/Roms/PF-CM

GApps: https://basketbuild.com/devs/TKruzze/5.1.x GApps Packages/MODULAR - Pico GApps

Manifest: https://github.com/DiamondBond/Roomservice

Kernel: https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-12.1

Build: https://github.com/ArchiDroid/android_build

CyanogenMod, Linaro, Luk1337, luca020400, JustArchi, hkjareda

Tech Support:

Admin Phone: +44 7730041145​