target-sparc: Free instruction temporaries.
commit42a8aa8393b931c92662578bc6b0b82c54fe63f8
authorRichard Henderson <rth@twiddle.net>
Sat, 17 Apr 2010 16:25:08 +0000 (17 16:25 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Apr 2010 16:25:08 +0000 (17 16:25 +0000)
treed7cc0346da987659a93ba148b87f354e5bfb613f
parent058ed88cc115e6b8323a39d7f05e6cf91b19b35e
target-sparc: Free instruction temporaries.

Rather than creating new temporaries for constants, use the
ones created in disas_sparc_insn.  Remember the temps created
there so that they can be freed at the end of the function.

Profile data collected by TCG while booting sparc-test kernel:

-avg temps/TB    70.61 max=421
+avg temps/TB    62.75 max=66

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/translate.c