]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Thumb instructions: instead of generating tons of lardy boilerplate IR
authorJulian Seward <jseward@acm.org>
Tue, 5 Oct 2010 22:29:49 +0000 (22:29 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 5 Oct 2010 22:29:49 +0000 (22:29 +0000)
commita792195df25bfba4599c1d081d099b15c8f007be
tree0a3bfc991f0163a5bb4bb60a6b41bc0c188aeef6
parentbddb071c9bdd9ce1486e35b14ee06c1ad7367234
Thumb instructions: instead of generating tons of lardy boilerplate IR
to compute the guarding condition for instructions, and then leaning
heavily on ir_opt to almost always fold it out, avoid generating it in
the first place if it's not necessary, as per the ITxxx optimisation
analysis.  This reduces startup time of Thumb applications by 0%-30%
by reducing the amount of time the JIT has to spend translating.  No
effect on ARM instructions since those don't require a complex IR
preamble to establish the gating condition.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2060
VEX/priv/guest_arm_toIR.c