target-i386: add helper functions to get other flags
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Oct 2012 16:42:59 +0000 (18:42 +0200)
committerRichard Henderson <rth@twiddle.net>
Mon, 18 Feb 2013 23:03:56 +0000 (15:03 -0800)
commit1608ecca95188dcf4f78072be48f41dbe2062b25
treef015370d95c5faa906d455cc74f1e5fe88941ed1
parent773cdfccb835cc82aca2b2ff34277b4bf58d6bb9
target-i386: add helper functions to get other flags

Introduce new functions to extract PF, SF, OF, ZF in addition to CF.
These provide single entry points for optimizing accesses to a single
flag.

Reviewed-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/translate.c