]> git.proxmox.com Git - qemu.git/commit
tcg-ppc64: Use MFOCRF instead of MFCR
authorRichard Henderson <rth@twiddle.net>
Tue, 2 Apr 2013 22:09:52 +0000 (15:09 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 15 Apr 2013 18:09:53 +0000 (20:09 +0200)
commit6995a4a063d3ab3ceb21aad8c8a78f4cfc5e4140
tree65d627810ba09d8dcbb796836b5e5048ba7a7f52
parent991041a4eb8895390d816375021dccfd12c81752
tcg-ppc64: Use MFOCRF instead of MFCR

It takes half the cycles to read one CR register instead of all 8.
This is a backward compatible addition to the ISA, so chips prior
to Power 2.00 spec will simply continue to read the entire CR register.

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