]> granicus.if.org Git - libx264/commit
gas-preprocessor: Support conversion of additional arm instructions into thumb
authorMartin Storsjö <martin@martin.st>
Fri, 24 Mar 2017 09:33:41 +0000 (11:33 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 21 May 2017 20:41:07 +0000 (22:41 +0200)
commit9bffbabfecf0bda066362a1b76b62c5085257e18
treef823c0a222b0a5ba8edad22992c12235d22fed7d
parent2e9bd88f27ed8f5f058e7e220070b7a15965cb8e
gas-preprocessor: Support conversion of additional arm instructions into thumb

Convert muls into mul+cmp.

Convert "and r0, sp, #xx" into "mov r0, sp", "and r0, r0, #xx".

Convert ldr with a too large shift into add+ldr. This only works in the
special case when the base register is the same as the target for the ldr.
tools/gas-preprocessor.pl