commit | 0b9b3d864355c7ce477099b305c7c8381b730e36 | [log] [tgz] |
---|---|---|
author | Geza Lore <gezalore@gmail.com> | Fri Jul 08 19:16:05 2016 +0100 |
committer | Geza Lore <gezalore@gmail.com> | Fri Jul 08 19:20:35 2016 +0100 |
tree | 951f739a9f1727dda9b2e4f73205b99aad5a6e18 | |
parent | 7c393d097f3e6c37e7338d6a29d023be6f22e1ce [diff] |
Add a few branch hints to vp10_optimize_b. vp10_optimize_b now takes between 40% to 60% of the TOTAL runtime of the encoder, depending on bit-rate. It also contains 2/3 to 3/4 of the mispredicted branch instructions in the whole program. Adding a few branch hints makes vp10_optimize_b around 2-5% faster (dependig on bit-rate) when compiled with gcc/clang. Change-Id: I1572733e18b4166bc10591b958c5018a9561fa2b