]> granicus.if.org Git - libx264/commit
x86inc: activate REP_RET automatically
authorLoren Merritt <pengvado@akuvian.org>
Sun, 2 Dec 2012 15:56:30 +0000 (15:56 +0000)
committerFiona Glaser <fiona@x264.com>
Tue, 8 Jan 2013 21:52:27 +0000 (13:52 -0800)
commit4cf272851a9d24aacdf664f27a87ebdbfb50e6c2
tree3e9e47a022070629847d05365f78534c0569f914
parentb073e870d135ac27cd97d624330abf0f1fb1ed41
x86inc: activate REP_RET automatically
Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition.
REP_RET is still needed manually when it's a branch target, but that's much rarer.
The implementation involves lots of spurious labels, but that's ok because we strip them.
common/x86/cabac-a.asm
common/x86/dct-a.asm
common/x86/deblock-a.asm
common/x86/mc-a.asm
common/x86/mc-a2.asm
common/x86/predict-a.asm
common/x86/quant-a.asm
common/x86/x86inc.asm
tools/checkasm-a.asm