diff options
author | Richard Henderson <rth@twiddle.net> | 2013-01-23 13:33:59 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-18 15:03:57 -0800 |
commit | 086c40778485f9a52d41a66fd4ef0d8723a2ac0a (patch) | |
tree | 3f77bb7822b3cc5027b9f849ba10fecd9512d9d9 /iohandler.c | |
parent | b666265b2071e4288110f6553b598efe00246d06 (diff) | |
download | qemu-086c40778485f9a52d41a66fd4ef0d8723a2ac0a.zip qemu-086c40778485f9a52d41a66fd4ef0d8723a2ac0a.tar.gz qemu-086c40778485f9a52d41a66fd4ef0d8723a2ac0a.tar.bz2 |
target-i386: do not call helper to compute ZF/SF
ZF, SF and PF can always be computed from CC_DST except in the
CC_OP_EFLAGS case (and CC_OP_DYNAMIC, which just resolves to CC_OP_EFLAGS
in gen_compute_eflags). Use setcond to compute ZF and SF.
We could also use a table lookup to compute PF.
Reviewed-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'iohandler.c')
0 files changed, 0 insertions, 0 deletions