diff options
author | Richard Henderson <rth@twiddle.net> | 2013-01-23 13:03:26 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-18 15:03:56 -0800 |
commit | d229edce1c58e6bb13d386bef4c31fc2e3850cb6 (patch) | |
tree | e9380b660361499fa1814aed60bd061a6a5402e9 /target-arm/op_addsub.h | |
parent | 1608ecca95188dcf4f78072be48f41dbe2062b25 (diff) | |
download | qemu-d229edce1c58e6bb13d386bef4c31fc2e3850cb6.zip qemu-d229edce1c58e6bb13d386bef4c31fc2e3850cb6.tar.gz qemu-d229edce1c58e6bb13d386bef4c31fc2e3850cb6.tar.bz2 |
target-i386: do not compute eflags multiple times consecutively
After calling gen_compute_eflags, leave the computed value in cc_reg_src
and set cc_op to CC_OP_EFLAGS. The next few patches will remove anyway
most calls to gen_compute_eflags.
As a result of this change it is more natural to remove the register
argument from gen_compute_eflags and change all the callers.
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 'target-arm/op_addsub.h')
0 files changed, 0 insertions, 0 deletions