mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
qemu-tech: document lazy condition code evaluation in cpu.h
Unlike the other sections, they are pretty specific to a particular CPU. Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bf28a69eeb
commit
c3ce5a2357
6 changed files with 34 additions and 25 deletions
|
@ -102,6 +102,11 @@
|
|||
#define CC_DST (env->cc_dst)
|
||||
#define CC_OP (env->cc_op)
|
||||
|
||||
/* Even though lazy evaluation of CPU condition codes tends to be less
|
||||
* important on RISC systems where condition codes are only updated
|
||||
* when explicitly requested, SPARC uses it to update 32-bit and 64-bit
|
||||
* condition codes.
|
||||
*/
|
||||
enum {
|
||||
CC_OP_DYNAMIC, /* must use dynamic code to get cc_op */
|
||||
CC_OP_FLAGS, /* all cc are back in status register */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue