]> git.proxmox.com Git - qemu.git/commit
target-mips: optimize movc*()
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:50:43 +0000 (11:50 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 11 Nov 2008 11:50:43 +0000 (11:50 +0000)
commit9bf3eb2ca542dd9306cb2e72fc68e02ba3e56e2e
tree5e7c217e1efe3a34a4cd98d765aef21674622a0d
parent2a0ab9989938b8d633be12e2614a45806daac927
target-mips: optimize movc*()

Optimize code generation in gen_movc*():
- Temp variables are valid up to and *including* the brcond instruction.
  Use them instead of temp local variables.
- Avoid using temporary variables to transfer values.
- Access fpu_fcr31 directly in gen_movcf_ps().

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5683 c046a42c-6fe2-441c-8c8c-71466251a162
target-mips/translate.c