]> Git Repo - qemu.git/commit - tcg/ppc/tcg-target.inc.c
tcg-ppc64: Use MFOCRF instead of MFCR
authorRichard Henderson <[email protected]>
Tue, 2 Apr 2013 22:09:52 +0000 (15:09 -0700)
committerRichard Henderson <[email protected]>
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 <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
tcg/ppc64/tcg-target.c
This page took 0.024203 seconds and 4 git commands to generate.