OSDN Git Service

target-mips: Use TCG registers for the FPU.
authorRichard Henderson <rth@twiddle.net>
Tue, 9 Oct 2012 19:53:19 +0000 (21:53 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:25 +0000 (14:54 +0100)
commitd73ee8a2b5267adae41ecb464cae06a185d2b0f9
tree9fbc9837808debb75de5ff1a3d782896da9e3d15
parentb393ab4228adc9338c17340d825f7a60e5f6820d
target-mips: Use TCG registers for the FPU.

With normal FP, this doesn't have much affect on the generated code,
because most of the FP operations are not CONST/PURE, and so we spill
registers in about the same frequency as the explicit load/stores.

But with Loongson multimedia instructions, which are all integral and
whose helpers are in fact CONST+PURE, this greatly improves the code.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c